com.jdon.aop.interceptor
类 CacheInterceptor

java.lang.Object
  继承者 com.jdon.aop.interceptor.CacheInterceptor
所有已实现的接口:
Startable, org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class CacheInterceptor
extends Object
implements org.aopalliance.intercept.MethodInterceptor, Startable

Cache Interceptor all Interceptors are added in picoContainer method match can be done by this class, CacheInterceptor only interceptor the method getXXXXX.

作者:
banq
另请参见:


字段摘要
 String match_MethodName
           
 
构造方法摘要
CacheInterceptor(ModelManager modelManager)
           
 
方法摘要
 String getArguments(org.aopalliance.intercept.MethodInvocation invocation)
          组合参数数值为一个字符串 这些参数必须实现toString();
 String getMatch_MethodName()
           
 Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 void start()
          Start this component.
 void stop()
          Stop this component.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

match_MethodName

public String match_MethodName
构造方法详细信息

CacheInterceptor

public CacheInterceptor(ModelManager modelManager)
方法详细信息

invoke

public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
              throws Throwable
指定者:
接口 org.aopalliance.intercept.MethodInterceptor 中的 invoke
抛出:
Throwable

getArguments

public String getArguments(org.aopalliance.intercept.MethodInvocation invocation)
组合参数数值为一个字符串 这些参数必须实现toString();

参数:
invocation - MethodInvocation
返回:
String

getMatch_MethodName

public String getMatch_MethodName()

start

public void start()
从接口 Startable 复制的描述
Start this component.

指定者:
接口 Startable 中的 start

stop

public void stop()
从接口 Startable 复制的描述
Stop this component.

指定者:
接口 Startable 中的 stop


Copyright © 2013. All Rights Reserved.