com.jdon.domain.model.injection
类 ModelProxyInjection

java.lang.Object
  继承者 com.jdon.domain.model.injection.ModelProxyInjection

public class ModelProxyInjection
extends Object

This class is responsible for inject the fileds marked with @Inject into the models,if the injected fields are also marked with @Introduce,the interceptor will be involved again. for example: public class MyModle{

作者:
xmuzyu

构造方法摘要
ModelProxyInjection(ModelAdvisor modelAdvisor, ContainerCallback containerCallback)
           
 
方法摘要
protected  Object createTargetComponent(Object targetModel, Class fClass)
           
protected  Object createTargetObject(Object targetModel, Class fClass)
           
protected  Object getInjectObject(Object targetModel, Class fClass)
           
 void injectProperties(Object targetModel)
           
protected  boolean isComponent(Object instance)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ModelProxyInjection

public ModelProxyInjection(ModelAdvisor modelAdvisor,
                           ContainerCallback containerCallback)
方法详细信息

injectProperties

public void injectProperties(Object targetModel)

getInjectObject

protected Object getInjectObject(Object targetModel,
                                 Class fClass)

createTargetObject

protected Object createTargetObject(Object targetModel,
                                    Class fClass)

createTargetComponent

protected Object createTargetComponent(Object targetModel,
                                       Class fClass)

isComponent

protected boolean isComponent(Object instance)


Copyright © 2013. All Rights Reserved.