com.bstek.dorado.view.config.definition
public class ComponentDefinition extends ListenableObjectDefinition implements Identifiable
ObjectDefinition.CreationInfo| Constructor and Description |
|---|
ComponentDefinition(ComponentTypeRegisterInfo registerInfo) |
| Modifier and Type | Method and Description |
|---|---|
protected BeanWrapper |
createObject(ObjectDefinition.CreationInfo creationInfo,
java.lang.Object[] constructorArgs,
org.aopalliance.intercept.MethodInterceptor[] methodInterceptors,
CreationContext context)
根据给定创建信息和拦截器的数组创建一个对象实例。
|
protected java.lang.Object |
doCreate(CreationContext context,
java.lang.Object[] constructorArgs) |
protected void |
doInitObject(java.lang.Object object,
ObjectDefinition.CreationInfo creationInfo,
CreationContext context) |
ComponentDefinition |
getAssembleComponentDefinition() |
java.lang.String |
getComponentType() |
java.lang.String |
getId()
返回组件的id。
|
ComponentTypeRegisterInfo |
getRegisterInfo() |
protected boolean |
invokePrivateListener(java.lang.Object object,
java.lang.String listenerName,
java.lang.String methodName,
CreationContext context) |
void |
setAssembleComponentDefinition(ComponentDefinition assembleComponentDefinition) |
void |
setComponentType(java.lang.String componentType) |
void |
setId(java.lang.String id)
设置返回组件的id。
|
filterGlobalListener, getListener, initCreationInfo, initObject, invokePrivateListeners, preinitObject, setListenercreateExpressionMethodInterceptor, getFinalValueOrExpressiongetBeanId, getConstructorArgTypes, getImpl, getImplType, getMethodInterceptors, getParentReferences, getParents, getScope, isCacheCreatedObject, setBeanId, setCacheCreatedObject, setConstructorArgTypes, setImpl, setImplType, setParent, setParentReference, setParentReferences, setParents, setScopeaddInitOperation, clone, create, create, executeInitOperations, getDependentResources, getInitOperations, getProperties, getProperty, getResource, initProperties, removeProperty, setDependentResources, setObjectProperty, setProperties, setProperty, setResourcepublic ComponentDefinition(ComponentTypeRegisterInfo registerInfo)
public ComponentTypeRegisterInfo getRegisterInfo()
public java.lang.String getId()
getId in interface Identifiablepublic void setId(java.lang.String id)
setId in interface Identifiablepublic java.lang.String getComponentType()
public void setComponentType(java.lang.String componentType)
public ComponentDefinition getAssembleComponentDefinition()
public void setAssembleComponentDefinition(ComponentDefinition assembleComponentDefinition)
protected BeanWrapper createObject(ObjectDefinition.CreationInfo creationInfo, java.lang.Object[] constructorArgs, org.aopalliance.intercept.MethodInterceptor[] methodInterceptors, CreationContext context) throws java.lang.Exception
ObjectDefinitioncreateObject in class ObjectDefinitioncreationInfo - 对象创建信息methodInterceptors - 拦截器的数组context - 创建上下文java.lang.Exceptionprotected java.lang.Object doCreate(CreationContext context, java.lang.Object[] constructorArgs) throws java.lang.Exception
doCreate in class ObjectDefinitionjava.lang.Exceptionprotected void doInitObject(java.lang.Object object,
ObjectDefinition.CreationInfo creationInfo,
CreationContext context)
throws java.lang.Exception
doInitObject in class ListenableObjectDefinitionjava.lang.Exceptionprotected boolean invokePrivateListener(java.lang.Object object,
java.lang.String listenerName,
java.lang.String methodName,
CreationContext context)
throws java.lang.Exception
invokePrivateListener in class ListenableObjectDefinitionjava.lang.ExceptionCopyright © 2001-2011 www.BSTEK.com All Rights Reserved.