public class EhcacheCachingProvider
extends java.lang.Object
implements javax.cache.spi.CachingProvider
CachingProvider implementation for Ehcache.| Constructor and Description |
|---|
EhcacheCachingProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
close(java.lang.ClassLoader classLoader) |
void |
close(java.net.URI uri,
java.lang.ClassLoader classLoader) |
javax.cache.CacheManager |
getCacheManager() |
javax.cache.CacheManager |
getCacheManager(java.net.URI uri,
java.lang.ClassLoader classLoader) |
javax.cache.CacheManager |
getCacheManager(java.net.URI uri,
java.lang.ClassLoader classLoader,
java.util.Properties properties) |
javax.cache.CacheManager |
getCacheManager(java.net.URI uri,
org.ehcache.config.Configuration config)
Enables to create a JSR-107
CacheManager based on the provided Ehcache Configuration. |
javax.cache.CacheManager |
getCacheManager(java.net.URI uri,
org.ehcache.config.Configuration config,
java.util.Properties properties)
Enables to create a JSR-107
CacheManager based on the provided Ehcache Configuration with the
provided Properties. |
java.lang.ClassLoader |
getDefaultClassLoader() |
java.util.Properties |
getDefaultProperties() |
java.net.URI |
getDefaultURI() |
boolean |
isSupported(javax.cache.configuration.OptionalFeature optionalFeature) |
public javax.cache.CacheManager getCacheManager(java.net.URI uri,
java.lang.ClassLoader classLoader,
java.util.Properties properties)
getCacheManager in interface javax.cache.spi.CachingProviderpublic javax.cache.CacheManager getCacheManager(java.net.URI uri,
org.ehcache.config.Configuration config)
CacheManager based on the provided Ehcache Configuration.uri - the URI identifying this cache managerconfig - the Ehcache configuration to usepublic javax.cache.CacheManager getCacheManager(java.net.URI uri,
org.ehcache.config.Configuration config,
java.util.Properties properties)
CacheManager based on the provided Ehcache Configuration with the
provided Properties.uri - the URI identifying this cache managerconfig - the Ehcache configuration to useproperties - extra propertiespublic java.lang.ClassLoader getDefaultClassLoader()
getDefaultClassLoader in interface javax.cache.spi.CachingProviderpublic java.net.URI getDefaultURI()
getDefaultURI in interface javax.cache.spi.CachingProviderpublic java.util.Properties getDefaultProperties()
getDefaultProperties in interface javax.cache.spi.CachingProviderpublic javax.cache.CacheManager getCacheManager(java.net.URI uri,
java.lang.ClassLoader classLoader)
getCacheManager in interface javax.cache.spi.CachingProviderpublic javax.cache.CacheManager getCacheManager()
getCacheManager in interface javax.cache.spi.CachingProviderpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface javax.cache.spi.CachingProviderpublic void close(java.lang.ClassLoader classLoader)
close in interface javax.cache.spi.CachingProviderpublic void close(java.net.URI uri,
java.lang.ClassLoader classLoader)
close in interface javax.cache.spi.CachingProviderpublic boolean isSupported(javax.cache.configuration.OptionalFeature optionalFeature)
isSupported in interface javax.cache.spi.CachingProvider