javax.cache.spi
Interface CacheManagerFactoryProvider


public interface CacheManagerFactoryProvider

Interface that should be implemented by a CacheManager factory provider. It is invoked by the CacheManagerFactory class to create a CacheManager

Since:
1.7
Author:
Yannis Cosmadopoulos
See Also:
CacheManagerFactory

Method Summary
 CacheManager createCacheManager(String name)
          Called by the CacheManagerFactory class when a new CacheManager needs to be created.
 

Method Detail

createCacheManager

CacheManager createCacheManager(String name)
Called by the CacheManagerFactory class when a new CacheManager needs to be created. An implementation of this interface must have a public no-arg constructor.

Parameters:
name - the name of this cache manager
Returns:
a new cache manager.
Throws:
NullPointerException - if name is null


true