Package javax.cache.spi
Interface CachingProvider
-
- All Known Implementing Classes:
CachingProviderImpl
public interface CachingProviderInterface that should be implemented by a CacheManager factory provider. It is invoked by theCachingclass to create aCacheManagerAn implementation of this interface must have a public no-arg constructor.- Since:
- 1.0
- Author:
- Yannis Cosmadopoulos
- See Also:
Caching
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CacheManagerFactorygetCacheManagerFactory()Returns the singleton CacheManagerFactory.booleanisSupported(OptionalFeature optionalFeature)Indicates whether a optional feature is supported by this implementation
-
-
-
Method Detail
-
getCacheManagerFactory
CacheManagerFactory getCacheManagerFactory()
Returns the singleton CacheManagerFactory.- Returns:
- the CacheManagerFactory
-
isSupported
boolean isSupported(OptionalFeature optionalFeature)
Indicates whether a optional feature is supported by this implementation- Parameters:
optionalFeature- the feature to check for- Returns:
- true if the feature is supported
-
-