com.jdon.domain.advsior
类 ModelAdvisor

java.lang.Object
  继承者 com.jdon.domain.advsior.ModelAdvisor
所有已实现的接口:
Startable

public class ModelAdvisor
extends Object
implements Startable

when a model with a @Introduce annotation is injected to another model, the injected model will be enhanced using cglib. for example:

作者:
xmuzyu banq

构造方法摘要
ModelAdvisor(ContainerCallback containerCallback, ModelProxyFactory modelProxyFactory)
           
 
方法摘要
 Object createProxy(Object model)
           
 List getAdviceName(Object model)
           
 boolean isAcceptable(Class classz)
           
 void start()
          Start this component.
 void stop()
          Stop this component.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ModelAdvisor

public ModelAdvisor(ContainerCallback containerCallback,
                    ModelProxyFactory modelProxyFactory)
方法详细信息

createProxy

public Object createProxy(Object model)

getAdviceName

public List getAdviceName(Object model)

isAcceptable

public boolean isAcceptable(Class classz)

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.