cuba.util.ddgen.tokens
Class CUBAComponent
java.lang.Object
cuba.util.ddgen.tokens.Interception
cuba.util.ddgen.tokens.CUBAComponent
public class CUBAComponent
- extends Interception
- Author:
- Jan Wegener
Methods inherited from class cuba.util.ddgen.tokens.Interception |
getAroundInvoke, getInterceptionMethod, getInterceptorClass, getPostActivate, getPostConstruct, getPreDestroy, getPrePassivate, setAroundInvoke, setInterceptionMethod, setPostActivate, setPostConstruct, setPreDestroy, setPrePassivate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addInterceptor
public void addInterceptor(Interception interceptor)
createBaseInterceptor
public Interception createBaseInterceptor(java.lang.String className)
addBaseInterceptor
public void addBaseInterceptor(java.lang.String className,
java.lang.String method,
java.lang.String methodType)
throws GeneratorException
- Throws:
GeneratorException
getBaseInterceptors
public java.util.Collection getBaseInterceptors()
hasInterception
public boolean hasInterception(java.lang.String type,
java.util.Collection interceptors)
throws GeneratorException
- Throws:
GeneratorException
hasInterception
public boolean hasInterception(java.lang.String type)
throws GeneratorException
- Throws:
GeneratorException
addEnvEntry
public void addEnvEntry(EnvironmentEntry entry)
addRef
public void addRef(java.util.Map refs,
Reference newRef)
throws GeneratorException
- Throws:
GeneratorException
addComponentRef
public void addComponentRef(ComponentReference ref)
throws GeneratorException
- Throws:
GeneratorException
addResourceRef
public void addResourceRef(ResourceReference ref)
throws GeneratorException
- Throws:
GeneratorException
addEntityManagerRef
public void addEntityManagerRef(EntityManagerReference ref)
throws GeneratorException
- Throws:
GeneratorException
addContainerTransaction
public void addContainerTransaction(ContainerTransaction transaction)
needsInjection
public static boolean needsInjection(java.util.Map refMap)
needsInjection
public boolean needsInjection()
hasDependencies
public boolean hasDependencies()
getComponentClass
public java.lang.String getComponentClass()
getComponentName
public java.lang.String getComponentName()
getComponentRefs
public java.util.Collection getComponentRefs()
getResourceRefs
public java.util.Collection getResourceRefs()
getEntityManagerRefs
public java.util.Collection getEntityManagerRefs()
getContainerTransactions
public java.util.Collection getContainerTransactions()
getInterceptors
public java.util.Collection getInterceptors()
getDescription
public java.lang.String getDescription()
getEnvEntries
public java.util.Collection getEnvEntries()
getTransactionType
public java.lang.String getTransactionType()
getExternalInterface
public java.lang.String getExternalInterface()
getInternalInterface
public java.lang.String getInternalInterface()
getComponentType
public java.lang.String getComponentType()
setComponentClass
public void setComponentClass(java.lang.String string)
setComponentName
public void setComponentName(java.lang.String string)
setDescription
public void setDescription(java.lang.String string)
setTransactionType
public void setTransactionType(java.lang.String string)
setExternalInterface
public void setExternalInterface(java.lang.String string)
setInternalInterface
public void setInternalInterface(java.lang.String string)
setType
public void setType(java.lang.String string)