Package org.infinispan.jcache.annotation
Class CacheKeyInvocationContextFactory
- java.lang.Object
-
- org.infinispan.jcache.annotation.CacheKeyInvocationContextFactory
-
@ApplicationScoped public class CacheKeyInvocationContextFactory extends Object
- Author:
- Kevin Pollet
(C) 2011 SERLI, Galder ZamarreƱo
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CacheKeyInvocationContextFactory()
CacheKeyInvocationContextFactory(javax.enterprise.inject.spi.BeanManager beanManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A extends Annotation>
javax.cache.annotation.CacheKeyInvocationContext<A>getCacheKeyInvocationContext(javax.interceptor.InvocationContext invocationContext)
Returns the cache key invocation context corresponding to the given invocation context.
-
-
-
Method Detail
-
getCacheKeyInvocationContext
public <A extends Annotation> javax.cache.annotation.CacheKeyInvocationContext<A> getCacheKeyInvocationContext(javax.interceptor.InvocationContext invocationContext)
Returns the cache key invocation context corresponding to the given invocation context.- Parameters:
invocationContext
- theInvocationContext
.- Returns:
- an instance of
CacheKeyInvocationContext
corresponding to the givenInvocationContext
.
-
-