javax.cache.spi
Interface CachingProvider


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:
Caching

Method Summary
 CacheManagerFactory getCacheManagerFactory()
          Returns the singleton CacheManagerFactory.
 boolean isSupported(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


Copyright © 2012. All Rights Reserved.