com.jdon.aop.joinpoint
类 AdvisorChainFactory

java.lang.Object
  继承者 com.jdon.aop.joinpoint.AdvisorChainFactory
所有已实现的接口:
Startable

public class AdvisorChainFactory
extends Object
implements Startable

create the all interceptor instances

作者:
banq

构造方法摘要
AdvisorChainFactory(InterceptorsChain interceptorsChain, ContainerCallback containerCallback)
           
 
方法摘要
 List<org.aopalliance.intercept.MethodInterceptor> create(TargetMetaDef targetMetaDef)
          create the all interceptor instances, and put them into interceptorsChain; the interceptors that prointcut is for SERVIERS are in the front, and then the EJB Interceptors , in the back there are POJO interceptors. you can change the orders bu replacing this class in container.xml
protected  void createEJBAdvice(TargetMetaDef targetMetaDef)
           
protected  void createPOJOAdvice(TargetMetaDef targetMetaDef)
           
 List<org.aopalliance.intercept.MethodInterceptor> createTargetAdvice(String name)
           
protected  List<org.aopalliance.intercept.MethodInterceptor> createTargetPOJOAdvice(String name)
           
 void start()
          Start this component.
 void stop()
          Stop this component.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

AdvisorChainFactory

public AdvisorChainFactory(InterceptorsChain interceptorsChain,
                           ContainerCallback containerCallback)
参数:
interceptorsChain -
方法详细信息

create

public List<org.aopalliance.intercept.MethodInterceptor> create(TargetMetaDef targetMetaDef)
                                                         throws Exception
create the all interceptor instances, and put them into interceptorsChain; the interceptors that prointcut is for SERVIERS are in the front, and then the EJB Interceptors , in the back there are POJO interceptors. you can change the orders bu replacing this class in container.xml

抛出:
Exception

createTargetAdvice

public List<org.aopalliance.intercept.MethodInterceptor> createTargetAdvice(String name)
                                                                     throws Exception
抛出:
Exception

createEJBAdvice

protected void createEJBAdvice(TargetMetaDef targetMetaDef)
                        throws Exception
抛出:
Exception

createPOJOAdvice

protected void createPOJOAdvice(TargetMetaDef targetMetaDef)
                         throws Exception
抛出:
Exception

createTargetPOJOAdvice

protected List<org.aopalliance.intercept.MethodInterceptor> createTargetPOJOAdvice(String name)
                                                                            throws Exception
抛出:
Exception

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.