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