Top Description Methods
org.springframework.cache.interceptor

public Interface CacheOperationInvocationContext<O extends org.springframework.cache.interceptor.BasicOperation>

Known Direct Implementers
org.springframework.cache.interceptor.CacheAspectSupport.CacheOperationContext
Type Parameters
<O>
the operation type
Imports
java.lang.reflect.Method

Representation of the context of the invocation of a cache operation.

The cache operation is static and independent of a particular invocation; this interface gathers the operation and a particular invocation.

Author
Stephane Nicoll
Since
4.1

Method Summary

Modifier and TypeMethod and Description
public Object[]
getArgs()

Return the argument list used to invoke the method.

public Method
getMethod()

Return the method which was invoked.

public O
getOperation()

Return the cache operation.

public Object
getTarget()

Return the target instance on which the method was invoked.

Method Detail

getArgsback to summary
public Object[] getArgs()

Return the argument list used to invoke the method.

getMethodback to summary
public Method getMethod()

Return the method which was invoked.

getOperationback to summary
public O getOperation()

Return the cache operation.

getTargetback to summary
public Object getTarget()

Return the target instance on which the method was invoked.