org.infinispan.cdi.interceptor.context
Class CacheKeyInvocationContextFactory

java.lang.Object
  extended by org.infinispan.cdi.interceptor.context.CacheKeyInvocationContextFactory

@ApplicationScoped
public class CacheKeyInvocationContextFactory
extends Object

Author:
Kevin Pollet (C) 2011 SERLI

Constructor Summary
protected CacheKeyInvocationContextFactory()
           
  CacheKeyInvocationContextFactory(javax.enterprise.inject.spi.BeanManager beanManager)
           
 
Method Summary
<A extends Annotation>
javax.cache.annotation.CacheKeyInvocationContext<A>
getCacheKeyInvocationContext(InvocationContext invocationContext)
          Returns the cache key invocation context corresponding to the given invocation context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheKeyInvocationContextFactory

@Inject
public CacheKeyInvocationContextFactory(javax.enterprise.inject.spi.BeanManager beanManager)

CacheKeyInvocationContextFactory

protected CacheKeyInvocationContextFactory()
Method Detail

getCacheKeyInvocationContext

public <A extends Annotation> javax.cache.annotation.CacheKeyInvocationContext<A> getCacheKeyInvocationContext(InvocationContext invocationContext)
Returns the cache key invocation context corresponding to the given invocation context.

Parameters:
invocationContext - the InvocationContext.
Returns:
an instance of CacheKeyInvocationContext corresponding to the given InvocationContext.

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.