ehcache

net.sf.jsr107cache
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(java.util.Map env)
          creates a new implementation specific Cache object using the env parameters.
 

Method Detail

createCache

Cache createCache(java.util.Map env)
                  throws CacheException
creates a new implementation specific Cache object using the env parameters.

Parameters:
env - implementation specific environment parameters passed to the CacheFactory.
Returns:
an implementation specific Cache object.
Throws:
CacheException - if any error occurs.

ehcache

true