com.bstek.dorado.data.config.definition
public abstract class InterceptableDefinition extends ListenableObjectDefinition
ObjectDefinition.CreationInfo
Constructor and Description |
---|
InterceptableDefinition() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInterceptor()
返回DataProvider的拦截器。
|
protected abstract org.aopalliance.intercept.MethodInterceptor |
getInterceptorInvoker(java.lang.String interceptor) |
protected org.aopalliance.intercept.MethodInterceptor[] |
getMethodInterceptors(ObjectDefinition.CreationInfo creationInfo,
CreationContext context)
返回将要关联在新创建的对象(最终对象)上的拦截器的数组。
|
protected void |
initCreationInfo(ObjectDefinition.CreationInfo creationInfo,
ObjectDefinition definition,
boolean processConstrInfos)
初始化对象创建信息。
即将本配置声明对象中定义的各种信息包括从父对象中继承而来的信息收集到createInfo参数所指定的对象中,以便于创建创建最终对象。 |
void |
setInterceptor(java.lang.String interceptor)
设置DataProvider的拦截器。
|
doInitObject, filterGlobalListener, getListener, initObject, invokePrivateListener, invokePrivateListeners, preinitObject, setListener
createExpressionMethodInterceptor, getFinalValueOrExpression
createObject, doCreate, getBeanId, getConstructorArgTypes, getImpl, getImplType, 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 getInterceptor()
public void setInterceptor(java.lang.String interceptor)
protected void initCreationInfo(ObjectDefinition.CreationInfo creationInfo, ObjectDefinition definition, boolean processConstrInfos) throws java.lang.Exception
ObjectDefinition
initCreationInfo
in class ListenableObjectDefinition
java.lang.Exception
protected org.aopalliance.intercept.MethodInterceptor[] getMethodInterceptors(ObjectDefinition.CreationInfo creationInfo, CreationContext context) throws java.lang.Exception
ObjectDefinition
getMethodInterceptors
in class ObjectDefinition
java.lang.Exception
protected abstract org.aopalliance.intercept.MethodInterceptor getInterceptorInvoker(java.lang.String interceptor)
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.