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, setListener
createExpressionMethodInterceptor, getFinalValueOrExpression
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 ComponentDefinition(ComponentTypeRegisterInfo registerInfo)
public ComponentTypeRegisterInfo getRegisterInfo()
public java.lang.String getId()
getId
in interface Identifiable
public void setId(java.lang.String id)
setId
in interface Identifiable
public 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
ObjectDefinition
createObject
in class ObjectDefinition
creationInfo
- 对象创建信息methodInterceptors
- 拦截器的数组context
- 创建上下文java.lang.Exception
protected java.lang.Object doCreate(CreationContext context, java.lang.Object[] constructorArgs) throws java.lang.Exception
doCreate
in class ObjectDefinition
java.lang.Exception
protected void doInitObject(java.lang.Object object, ObjectDefinition.CreationInfo creationInfo, CreationContext context) throws java.lang.Exception
doInitObject
in class ListenableObjectDefinition
java.lang.Exception
protected boolean invokePrivateListener(java.lang.Object object, java.lang.String listenerName, java.lang.String methodName, CreationContext context) throws java.lang.Exception
invokePrivateListener
in class ListenableObjectDefinition
java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.