A - The type of annotation this context information is for. One of CacheResult,
CachePut, CacheRemove, or
CacheRemoveAll.public class GuiceInternalCacheInvocationContext<A extends Annotation> extends AbstractInternalCacheInvocationContext<org.aopalliance.intercept.MethodInvocation,A>
MethodInvocation| Constructor and Description |
|---|
GuiceInternalCacheInvocationContext(StaticCacheInvocationContext<A> staticCacheInvocationContext,
org.aopalliance.intercept.MethodInvocation invocation)
Create new cache key invocation context for the static context and invocation
|
| Modifier and Type | Method and Description |
|---|---|
protected Method |
getMethod(org.aopalliance.intercept.MethodInvocation invocation) |
protected Object[] |
getParameters(org.aopalliance.intercept.MethodInvocation invocation) |
protected Object |
getTarget(org.aopalliance.intercept.MethodInvocation invocation) |
getAllParameters, getAnnotations, getCacheAnnotation, getCacheName, getMethod, getStaticCacheInvocationContext, getTarget, unwrappublic GuiceInternalCacheInvocationContext(StaticCacheInvocationContext<A> staticCacheInvocationContext, org.aopalliance.intercept.MethodInvocation invocation)
staticCacheInvocationContext - Static information about the invoked methodinvocation - The AOP Alliance invocation contextprotected Object[] getParameters(org.aopalliance.intercept.MethodInvocation invocation)
getParameters in class AbstractInternalCacheInvocationContext<org.aopalliance.intercept.MethodInvocation,A extends Annotation>protected Method getMethod(org.aopalliance.intercept.MethodInvocation invocation)
getMethod in class AbstractInternalCacheInvocationContext<org.aopalliance.intercept.MethodInvocation,A extends Annotation>protected Object getTarget(org.aopalliance.intercept.MethodInvocation invocation)
getTarget in class AbstractInternalCacheInvocationContext<org.aopalliance.intercept.MethodInvocation,A extends Annotation>Copyright © 2014. All Rights Reserved.