com.jdon.aop.interceptor
Class CacheInterceptor
java.lang.Object
com.jdon.aop.interceptor.CacheInterceptor
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class CacheInterceptor
- extends java.lang.Object
- implements org.aopalliance.intercept.MethodInterceptor
Cache Interceptor all Interceptors are added in picoContainer
method match can be done by this class, CacheInterceptor only interceptor the
method getXXXXX.
- See Also:
|
Method Summary |
java.lang.String |
getArguments(org.aopalliance.intercept.MethodInvocation invocation)
组合参数数?为?个字符串 这些参数必须实现toString(); |
java.lang.String |
getMatch_MethodName()
|
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation)
|
void |
setMatch_MethodName(java.lang.String match_MethodName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
match_MethodName
public java.lang.String match_MethodName
CacheInterceptor
public CacheInterceptor(ModelManager modelManager)
invoke
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws java.lang.Throwable
- Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
- Throws:
java.lang.Throwable
getArguments
public java.lang.String getArguments(org.aopalliance.intercept.MethodInvocation invocation)
- 组合参数数?为?个字符串 这些参数必须实现toString();
- Parameters:
invocation - MethodInvocation
- Returns:
- String
getMatch_MethodName
public java.lang.String getMatch_MethodName()
setMatch_MethodName
public void setMatch_MethodName(java.lang.String match_MethodName)