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
| 从类 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.