com.bstek.dorado.data.config.definition
public class ListenableObjectDefinition extends GenericObjectDefinition
ObjectDefinition.CreationInfo
Constructor and Description |
---|
ListenableObjectDefinition() |
Modifier and Type | Method and Description |
---|---|
protected void |
doInitObject(java.lang.Object object,
ObjectDefinition.CreationInfo creationInfo,
CreationContext context) |
protected boolean |
filterGlobalListener(GenericObjectListener<?> listener,
java.lang.Object object) |
java.lang.String |
getListener() |
protected void |
initCreationInfo(ObjectDefinition.CreationInfo creationInfo,
ObjectDefinition definition,
boolean processConstrInfos)
初始化对象创建信息。
即将本配置声明对象中定义的各种信息包括从父对象中继承而来的信息收集到createInfo参数所指定的对象中,以便于创建创建最终对象。 |
protected void |
initObject(java.lang.Object object,
ObjectDefinition.CreationInfo creationInfo,
CreationContext context)
根据创建信息中的定义初始化一个对象。
|
protected boolean |
invokePrivateListener(java.lang.Object object,
java.lang.String listenerName,
java.lang.String methodName,
CreationContext context) |
protected boolean |
invokePrivateListeners(java.lang.Object object,
java.lang.String listeners,
CreationContext context,
boolean isBeforeListener) |
protected void |
preinitObject(java.lang.Object object,
ObjectDefinition.CreationInfo creationInfo,
CreationContext context) |
void |
setListener(java.lang.String listener) |
createExpressionMethodInterceptor, getFinalValueOrExpression
createObject, doCreate, getBeanId, getConstructorArgTypes, getImpl, getImplType, getMethodInterceptors, getParentReferences, getParents, getScope, isCacheCreatedObject, setBeanId, setCacheCreatedObject, setConstructorArgTypes, setImpl, setImplType, setParent, setParentReference, setParentReferences, setParents, setScope
addInitOperation, clone, create, create, executeInitOperations, getDependentResources, getInitOperations, getProperties, getProperty, getResource, initProperties, removeProperty, setDependentResources, setObjectProperty, setProperties, setProperty, setResource
public java.lang.String getListener()
public void setListener(java.lang.String listener)
protected void initCreationInfo(ObjectDefinition.CreationInfo creationInfo, ObjectDefinition definition, boolean processConstrInfos) throws java.lang.Exception
ObjectDefinition
initCreationInfo
in class ObjectDefinition
java.lang.Exception
protected final void initObject(java.lang.Object object, ObjectDefinition.CreationInfo creationInfo, CreationContext context) throws java.lang.Exception
ObjectDefinition
initObject
in class ObjectDefinition
java.lang.Exception
protected void preinitObject(java.lang.Object object, ObjectDefinition.CreationInfo creationInfo, CreationContext context) throws java.lang.Exception
java.lang.Exception
protected void doInitObject(java.lang.Object object, ObjectDefinition.CreationInfo creationInfo, CreationContext context) throws java.lang.Exception
java.lang.Exception
protected boolean filterGlobalListener(GenericObjectListener<?> listener, java.lang.Object object)
protected boolean invokePrivateListeners(java.lang.Object object, java.lang.String listeners, CreationContext context, boolean isBeforeListener) throws java.lang.Exception
java.lang.Exception
protected boolean invokePrivateListener(java.lang.Object object, java.lang.String listenerName, java.lang.String methodName, CreationContext context) throws java.lang.Exception
java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.