Class CacheProviderBean
java.lang.Object
org.apache.commons.jcs3.jcache.extras.cdi.CacheProviderBean
- All Implemented Interfaces:
Contextual<javax.cache.spi.CachingProvider>
,Bean<javax.cache.spi.CachingProvider>
,BeanAttributes<javax.cache.spi.CachingProvider>
,PassivationCapable
public class CacheProviderBean
extends Object
implements Bean<javax.cache.spi.CachingProvider>, PassivationCapable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.cache.spi.CachingProvider
create
(CreationalContext<javax.cache.spi.CachingProvider> cacheManagerCreationalContext) void
destroy
(javax.cache.spi.CachingProvider cacheProvider, CreationalContext<javax.cache.spi.CachingProvider> cacheManagerCreationalContext) Class<?>
getId()
getName()
Class<? extends Annotation>
getScope()
Set<Class<? extends Annotation>>
getTypes()
boolean
boolean
-
Constructor Details
-
CacheProviderBean
-
-
Method Details
-
getTypes
- Specified by:
getTypes
in interfaceBeanAttributes<javax.cache.spi.CachingProvider>
-
getQualifiers
- Specified by:
getQualifiers
in interfaceBeanAttributes<javax.cache.spi.CachingProvider>
-
getScope
- Specified by:
getScope
in interfaceBeanAttributes<javax.cache.spi.CachingProvider>
-
getName
- Specified by:
getName
in interfaceBeanAttributes<javax.cache.spi.CachingProvider>
-
isNullable
- Specified by:
isNullable
in interfaceBean<javax.cache.spi.CachingProvider>
-
getInjectionPoints
- Specified by:
getInjectionPoints
in interfaceBean<javax.cache.spi.CachingProvider>
-
getBeanClass
- Specified by:
getBeanClass
in interfaceBean<javax.cache.spi.CachingProvider>
-
getStereotypes
- Specified by:
getStereotypes
in interfaceBeanAttributes<javax.cache.spi.CachingProvider>
-
isAlternative
- Specified by:
isAlternative
in interfaceBeanAttributes<javax.cache.spi.CachingProvider>
-
create
public javax.cache.spi.CachingProvider create(CreationalContext<javax.cache.spi.CachingProvider> cacheManagerCreationalContext) - Specified by:
create
in interfaceContextual<javax.cache.spi.CachingProvider>
-
destroy
public void destroy(javax.cache.spi.CachingProvider cacheProvider, CreationalContext<javax.cache.spi.CachingProvider> cacheManagerCreationalContext) - Specified by:
destroy
in interfaceContextual<javax.cache.spi.CachingProvider>
-
getId
- Specified by:
getId
in interfacePassivationCapable
-