org.richfaces.cache
Interface CacheFactory


public interface CacheFactory

CacheFactory is a service provider specific interface. Service provider should implement CacheFactory to provide the functionality to create a new implementation specific Cache object.


Method Summary
 Cache createCache(javax.faces.context.FacesContext facesContext, String cacheName, Map<?,?> env)
          Creates a new implementation specific Cache object using the env parameters.
 void destroy()
           
 

Method Detail

createCache

Cache createCache(javax.faces.context.FacesContext facesContext,
                  String cacheName,
                  Map<?,?> env)
Creates a new implementation specific Cache object using the env parameters.

Parameters:
facesContext -
cacheName -
env -
Returns:
an implementation specific Cache object.

destroy

void destroy()


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.