org.springframework.cache.interceptor
Class CacheExpressionRootObject

java.lang.Object
  extended by org.springframework.cache.interceptor.CacheExpressionRootObject

 class CacheExpressionRootObject
extends java.lang.Object

Class describing the root object used during the expression evaluation.

Since:
3.1
Author:
Costin Leau

Field Summary
private  java.lang.Object[] args
           
private  java.util.Collection<Cache> caches
           
private  java.lang.reflect.Method method
           
private  java.lang.Object target
           
private  java.lang.Class<?> targetClass
           
 
Constructor Summary
CacheExpressionRootObject(java.util.Collection<Cache> caches, java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object target, java.lang.Class<?> targetClass)
           
 
Method Summary
 java.lang.Object[] getArgs()
           
 java.util.Collection<Cache> getCaches()
           
 java.lang.reflect.Method getMethod()
           
 java.lang.String getMethodName()
           
 java.lang.Object getTarget()
           
 java.lang.Class<?> getTargetClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

caches

private final java.util.Collection<Cache> caches

method

private final java.lang.reflect.Method method

args

private final java.lang.Object[] args

target

private final java.lang.Object target

targetClass

private final java.lang.Class<?> targetClass
Constructor Detail

CacheExpressionRootObject

public CacheExpressionRootObject(java.util.Collection<Cache> caches,
                                 java.lang.reflect.Method method,
                                 java.lang.Object[] args,
                                 java.lang.Object target,
                                 java.lang.Class<?> targetClass)
Method Detail

getCaches

public java.util.Collection<Cache> getCaches()

getMethod

public java.lang.reflect.Method getMethod()

getMethodName

public java.lang.String getMethodName()

getArgs

public java.lang.Object[] getArgs()

getTarget

public java.lang.Object getTarget()

getTargetClass

public java.lang.Class<?> getTargetClass()