|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
com.sun.enterprise.deployment.EjbAbstractDescriptor
com.sun.enterprise.deployment.EjbDescriptor
public abstract class EjbDescriptor
This abstract class encapsulates the meta-information describing Entity, Session and MessageDriven EJBs.
| Field Summary | |
|---|---|
static java.lang.String |
BEAN_TRANSACTION_TYPE
Indicates the bean will manage its own transactions. |
static java.lang.String |
CONTAINER_TRANSACTION_TYPE
Indicates the bean expects the server to manage its transactions. |
static java.lang.String |
DISTRIBUTED_TRANSACTION_SCOPE
|
protected boolean |
isDistributedTxScope
|
static java.lang.String |
LOCAL_TRANSACTION_SCOPE
|
protected RunAsIdentityDescriptor |
runAsIdentity
|
protected java.lang.String |
securityIdentityDescription
|
protected java.lang.String |
transactionType
|
protected java.lang.Boolean |
usesCallerIdentity
|
protected boolean |
usesDefaultTransaction
|
| Fields inherited from class com.sun.enterprise.deployment.Descriptor |
|---|
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED |
| Constructor Summary | |
|---|---|
protected |
EjbDescriptor()
Default constructor. |
|
EjbDescriptor(EjbDescriptor other)
|
| Method Summary | |
|---|---|
protected void |
addAllInterfaceMethodsIn(java.util.Collection methodDescriptors,
java.lang.Class c,
java.lang.String methodIntf)
|
void |
addAroundInvokeDescriptor(LifecycleCallbackDescriptor aroundInvokeDesc)
|
void |
addAroundTimeoutDescriptor(LifecycleCallbackDescriptor aroundTimeoutDesc)
|
void |
addDataSourceDefinitionDescriptor(DataSourceDefinitionDescriptor reference)
Adds the specified data-source-definition to the receiver. |
void |
addEjbDescriptor(EjbDescriptor other)
|
void |
addEjbReferenceDescriptor(EjbReference ejbReference)
Adds a reference to another ejb to me. |
void |
addEntityManagerFactoryReferenceDescriptor(EntityManagerFactoryReferenceDescriptor reference)
|
void |
addEntityManagerReferenceDescriptor(EntityManagerReferenceDescriptor reference)
|
void |
addEnvironmentProperty(EnvironmentProperty environmentProperty)
Add the supplied environment property to the ejb descriptor's list. |
void |
addFrameworkInterceptor(InterceptorDescriptor interceptor)
|
void |
addInterceptorClass(EjbInterceptor interceptor)
|
void |
addIORConfigurationDescriptor(EjbIORConfigurationDescriptor val)
|
void |
addJmsDestinationReferenceDescriptor(JmsDestinationReferenceDescriptor jmsDestReference)
Adds the specified JMS destination reference to the receiver. |
void |
addMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor messageDestRef)
Adds the specified message destination reference to the receiver. |
void |
addMethodLevelChain(java.util.List<EjbInterceptor> chain,
java.lang.reflect.Method m,
boolean aroundInvoke)
|
void |
addPermissionedMethod(MethodPermission mp,
MethodDescriptor md)
Add a new method permission to a method or a set of methods |
void |
addPostConstructDescriptor(LifecycleCallbackDescriptor postConstructDesc)
Adds the specified post-construct descriptor to the receiver. |
void |
addPreDestroyDescriptor(LifecycleCallbackDescriptor preDestroyDesc)
Adds the specified pre-destroy descriptor to the receiver. |
void |
addResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
Adds a resource reference to me. |
void |
addRoleReference(RoleReference roleReference)
Adds a role reference. |
void |
addScheduledTimerDescriptor(ScheduledTimerDescriptor scheduleDescriptor)
|
void |
addScheduledTimerDescriptorFromDD(ScheduledTimerDescriptor scheduleDescriptor)
Special method for overrides because more than one schedule can be specified on a single method |
void |
addServiceReferenceDescriptor(ServiceReferenceDescriptor serviceRef)
Adds the specified service reference to the receiver. |
boolean |
allMechanismsRequireSSL()
This method determines if all the mechanisms defined in the CSIV2 CompoundSecMechList structure require protected invocations. |
void |
appendToInterceptorChain(java.util.List<EjbInterceptor> chain)
|
void |
applyDefaultClassToLifecycleMethods()
Since ejb-class is optional, in some cases the lifecycle-class for AroundInvoke, PostConstruct, etc. |
void |
applyInterceptors(InterceptorBindingTranslator bindingTranslator)
Derive all interceptors that are applicable to this bean. |
java.util.Set |
getAllEjbReferencers()
|
Application |
getApplication()
Gets the application to which this ejb descriptor belongs. |
LifecycleCallbackDescriptor |
getAroundInvokeDescriptorByClass(java.lang.String className)
|
java.util.Set<LifecycleCallbackDescriptor> |
getAroundInvokeDescriptors()
|
java.util.List<EjbInterceptor> |
getAroundInvokeInterceptors(MethodDescriptor businessMethod)
Return the ordered list of interceptor info for AroundInvoke behavior of a particular business method. |
LifecycleCallbackDescriptor |
getAroundTimeoutDescriptorByClass(java.lang.String className)
|
java.util.Set<LifecycleCallbackDescriptor> |
getAroundTimeoutDescriptors()
|
java.util.List<EjbInterceptor> |
getAroundTimeoutInterceptors(MethodDescriptor businessMethod)
Return the ordered list of interceptor info for AroundTimeout behavior of a particular business method. |
MethodDescriptor |
getBusinessMethodDescriptorFor(java.lang.reflect.Method m,
java.lang.String methodIntf)
|
java.util.List<EjbInterceptor> |
getCallbackInterceptors(LifecycleCallbackDescriptor.CallbackType type)
Return the ordered list of interceptor info for a particular callback event type. |
java.util.Set |
getClientBusinessMethodDescriptors()
Returns the set of local/remote/no-interface view business method descriptors I have. |
ContainerTransaction |
getContainerTransaction()
returns a ContainerTransaction if all the transactional methods on the ejb descriptor have the same transaction type else return null |
ContainerTransaction |
getContainerTransactionFor(MethodDescriptor methodDescriptor)
Fetches the assigned container transaction object for the given method object or null. |
java.util.Set<DataSourceDefinitionDescriptor> |
getDataSourceDefinitionDescriptors()
Return a set of data-source-definition descriptors. |
EjbBundleDescriptor |
getEjbBundleDescriptor()
Gets the containing ejb bundle descriptor.. |
java.lang.String |
getEjbClassName()
Returns the classname of the ejb. |
java.lang.String |
getEjbImplClassName()
IASRI 4725194 Returns the Execution class ,which is same as the user-specified class in case of Message,Session and Bean Managed Persistence Entity Beans but is different for Container Mananged Persistence Entity Bean Therefore,the implementation in the base class is to return getEjbClassName() and the method is redefined in IASEjbCMPDescriptor. |
java.lang.String |
getEJBLocalObjectImplClassName()
Returns the classname of the EJBLocalObject impl. |
java.lang.String |
getEJBObjectImplClassName()
Returns the classname of the EJBObject impl. |
EjbReference |
getEjbReference(java.lang.String name)
Return a reference to another ejb by the same name or throw an IllegalArgumentException. |
java.util.Set<EjbReference> |
getEjbReferenceDescriptors()
Return the set of ejb references this ejb declares. |
MethodDescriptor |
getEjbTimeoutMethod()
|
EntityManagerFactoryReferenceDescriptor |
getEntityManagerFactoryReferenceByName(java.lang.String name)
Return the entity manager factory reference descriptor corresponding to the given name. |
java.util.Set<EntityManagerFactoryReferenceDescriptor> |
getEntityManagerFactoryReferenceDescriptors()
Return a set of entity manager factory reference descriptors. |
EntityManagerReferenceDescriptor |
getEntityManagerReferenceByName(java.lang.String name)
Return the entity manager factory reference descriptor corresponding to the given name. |
java.util.Set<EntityManagerReferenceDescriptor> |
getEntityManagerReferenceDescriptors()
Return a set of entity manager reference descriptors. |
java.util.Set<EnvironmentProperty> |
getEnvironmentProperties()
Return a copy of the structure holding the environment properties. |
EnvironmentProperty |
getEnvironmentPropertyByName(java.lang.String name)
Returns the environment property object searching on the supplied key. |
java.util.Set |
getExcludedMethodDescriptors()
|
java.util.Vector |
getFieldDescriptors()
|
java.util.Vector |
getFields()
Return a Vector of the Field objetcs of this ejb. |
java.util.List<InterceptorDescriptor> |
getFrameworkInterceptors()
|
IASEjbExtraDescriptors |
getIASEjbExtraDescriptors()
returns the extra iAS specific info (not in the RI DID) in the iAS DTD. |
java.util.List<InjectionCapable> |
getInjectableResourcesByClass(java.lang.String className)
|
InjectionInfo |
getInjectionInfoByClass(java.lang.Class clazz)
|
java.util.List<EjbInterceptor> |
getInterceptorChain()
|
java.util.Set<EjbInterceptor> |
getInterceptorClasses()
Return an unordered set of interceptor descriptors for this bean. |
java.util.Set<java.lang.String> |
getInterceptorClassNames()
Return an unordered set of the names of all interceptor classes for this bean. |
java.util.Set<EjbIORConfigurationDescriptor> |
getIORConfigurationDescriptors()
|
JmsDestinationReferenceDescriptor |
getJmsDestinationReferenceByName(java.lang.String name)
Return the JMS destination reference descriptor corresponding to the given name. |
java.util.Set<JmsDestinationReferenceDescriptor> |
getJmsDestinationReferenceDescriptors()
Return the set of JMS destination references this ejb declares. |
java.lang.String |
getLocalHomeImplClassName()
Returns the classname of the Local home impl. |
MessageDestinationReferenceDescriptor |
getMessageDestinationReferenceByName(java.lang.String name)
Looks up an message destination reference with the given name. |
java.util.Set<MessageDestinationReferenceDescriptor> |
getMessageDestinationReferenceDescriptors()
Return a set of message destination reference descriptors. |
java.util.Hashtable |
getMethodContainerTransactions()
Return a copy of the mapping held internally of method descriptors to container transaction objects. |
java.util.Set |
getMethodDescriptors()
Returns the full set of method descriptors I have (from all the methods on my home and remote interfaces). |
java.util.Map<MethodDescriptor,java.util.List<EjbInterceptor>> |
getMethodInterceptorsMap()
|
java.util.Set |
getMethodPermissionsFor(MethodDescriptor methodDescriptor)
|
java.util.HashMap |
getMethodPermissionsFromDD()
Get a record of all the Method Permissions exactly as they were in the`DD |
java.util.Vector |
getMethods()
Return the set of method objects on my home and remote interfaces. |
java.util.Vector |
getMethods(java.lang.ClassLoader classLoader)
Return the ejb method objects, i.e. |
java.util.Set<java.lang.reflect.Method> |
getOptionalLocalBusinessMethods()
Return the set of method objects representing no-interface view |
java.util.Map |
getPermissionedMethodsByPermission()
|
java.util.Set |
getPermissionedRoles()
|
java.util.Vector |
getPossibleTransactionAttributes()
Returns the set of transaction attributes that can be assigned to methods of this ejb when in CMT mode. |
LifecycleCallbackDescriptor |
getPostConstructDescriptorByClass(java.lang.String className)
Return the post-construct descriptor corresponding to the given name. |
java.util.Set<LifecycleCallbackDescriptor> |
getPostConstructDescriptors()
Return a set of post-construct descriptors. |
LifecycleCallbackDescriptor |
getPreDestroyDescriptorByClass(java.lang.String className)
Return the pre-destroy descriptor corresponding to the given name. |
java.util.Set<LifecycleCallbackDescriptor> |
getPreDestroyDescriptors()
Return a set of pre-destroy descriptors. |
java.lang.String |
getRemoteHomeImplClassName()
Returns the classname of the remote home impl. |
ResourceReferenceDescriptor |
getResourceReferenceByName(java.lang.String name)
Return the resource object corresponding to the supplied name or throw an illegal argument exception. |
java.util.Set<ResourceReferenceDescriptor> |
getResourceReferenceDescriptors()
Return the set of resource references this ejb declares. |
java.util.Set<ResourceReferenceDescriptor> |
getResourceReferenceDescriptors(boolean resolved)
Return the set of resource references this ejb declares that have been resolved. |
RoleReference |
getRoleReferenceByName(java.lang.String roleReferenceName)
Returns a matching role reference by name or throw an IllegalArgumentException. |
java.util.Set<RoleReference> |
getRoleReferences()
Return a copy of the role references set. |
RunAsIdentityDescriptor |
getRunAsIdentity()
|
java.util.List<ScheduledTimerDescriptor> |
getScheduledTimerDescriptors()
|
java.util.Set |
getSecurityBusinessMethodDescriptors()
Returns the full set of security business method descriptors I have. |
java.lang.String |
getSecurityIdentityDescription()
Get the description field of security-identity |
ServiceReferenceDescriptor |
getServiceReferenceByName(java.lang.String name)
Looks up an service reference with the given name. |
java.util.Set<ServiceReferenceDescriptor> |
getServiceReferenceDescriptors()
Return a set of service reference descriptors. |
java.util.Map |
getStyledPermissionedMethodsByPermission()
|
java.util.Collection |
getTransactionMethodDescriptors()
|
protected java.util.Collection |
getTransactionMethods(java.lang.ClassLoader classLoader)
|
java.lang.String |
getTransactionType()
The transaction type of this ejb. |
java.util.Set |
getTxBusinessMethodDescriptors()
Returns the full set of transactional business method descriptors I have. |
java.util.Set |
getUncheckedMethodDescriptors()
|
long |
getUniqueId()
|
java.lang.Boolean |
getUsesCallerIdentity()
Get the usesCallerIdentity flag |
boolean |
hasAroundInvokeMethod()
|
boolean |
hasAroundTimeoutMethod()
|
boolean |
hasInterceptorClass(java.lang.String interceptorClassName)
|
boolean |
hasPostConstructMethod()
|
boolean |
hasPreDestroyMethod()
|
boolean |
hasResolvedResourceReferences()
Returns true if this ejb descriptor has resource references that are resolved. |
boolean |
hasScheduledTimerMethodFromDD(java.lang.reflect.Method timerMethod)
|
boolean |
isDistributedTransactionScope()
Gets the transaction scope of this ejb. |
boolean |
isTimedObject()
|
boolean |
isUsesDefaultTransaction()
|
void |
notifyNewModule(WebBundleDescriptor wbd)
Called by WebArchivist to notify this EjbDescriptor that it has been associated with a web bundle. |
void |
print(java.lang.StringBuffer toStringBuffer)
Returns a formatted String of the attributes of this object. |
void |
removeDataSourceDefinitionDescriptor(DataSourceDefinitionDescriptor reference)
Removes the specified data-source-definition from the receiver. |
void |
removeEjbReferenceDescriptor(EjbReference ejbReference)
Removes the specificed ejb reference from the receiver. |
void |
removeEjbReferencer(EjbReferenceDescriptor ref)
|
void |
removeEnvironmentProperty(EnvironmentProperty environmentProperty)
Removes the given environment property from me. |
void |
removeJmsDestinationReferenceDescriptor(JmsDestinationReferenceDescriptor jmsDestReference)
Removes the specified JMS destination reference from the receiver. |
void |
removeMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestRef)
Removes the specified message destination reference from the receiver. |
void |
removePermissionedMethod(MethodPermission mp,
MethodDescriptor md)
Remove a method permission from a method or a set of methods |
void |
removeResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
Removes the given resource reference from me. |
void |
removeRoleReference(RoleReference roleReference)
Removes a role reference. |
void |
removeServiceReferenceDescriptor(ServiceReferenceDescriptor serviceRef)
Removes the specified service reference from the receiver. |
void |
setContainerTransactionFor(MethodDescriptor methodDescriptor,
ContainerTransaction containerTransaction)
Sets the container transaction for the given method descriptor. |
void |
setDistributedTransactionScope(boolean scope)
Set the transaction scope of this ejb. |
void |
setEjbBundleDescriptor(EjbBundleDescriptor bundleDescriptor)
|
void |
setEjbClassName(java.lang.String ejbClassName)
Sets the classname of the ejb. |
void |
setEJBLocalObjectImplClassName(java.lang.String name)
Sets the EJBLocalObject implementation classname of the ejb. |
void |
setEJBObjectImplClassName(java.lang.String name)
Sets the EJBObject implementation classname of the ejb. |
void |
setEjbTimeoutMethod(MethodDescriptor method)
|
void |
setLocalHomeImplClassName(java.lang.String name)
Sets the Local home implementation classname of the ejb. |
void |
setMethodContainerTransactions(java.util.Hashtable methodContainerTransactions)
Sets the container transactions for all the method descriptors of this ejb. |
void |
setRemoteHomeImplClassName(java.lang.String name)
Sets the remote home implementation classname of the ejb. |
void |
setRunAsIdentity(RunAsIdentityDescriptor desc)
|
void |
setSecurityIdentityDescription(java.lang.String s)
Set the description field of security-identity |
abstract void |
setTransactionType(java.lang.String transactionType)
Set the transaction type of this ejb. |
void |
setUniqueId(long id)
|
void |
setUsesCallerIdentity(boolean flag)
Set the usesCallerIdentity flag |
void |
setUsesDefaultTransaction()
Have default method transaction if isBoundsChecking is on. |
void |
visit(DescriptorVisitor aVisitor)
visit the descriptor and all sub descriptors with a DOL visitor implementation |
void |
visit(EjbVisitor aVisitor)
visit the descriptor and all sub descriptors with a DOL visitor implementation |
| Methods inherited from class com.sun.enterprise.deployment.DynamicAttributesDescriptor |
|---|
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.enterprise.deployment.NamedDescriptor |
|---|
getName |
| Field Detail |
|---|
public static final java.lang.String BEAN_TRANSACTION_TYPE
public static final java.lang.String CONTAINER_TRANSACTION_TYPE
public static final java.lang.String LOCAL_TRANSACTION_SCOPE
public static final java.lang.String DISTRIBUTED_TRANSACTION_SCOPE
protected java.lang.String transactionType
protected boolean usesDefaultTransaction
protected java.lang.Boolean usesCallerIdentity
protected java.lang.String securityIdentityDescription
protected boolean isDistributedTxScope
protected RunAsIdentityDescriptor runAsIdentity
| Constructor Detail |
|---|
protected EjbDescriptor()
public EjbDescriptor(EjbDescriptor other)
| Method Detail |
|---|
public IASEjbExtraDescriptors getIASEjbExtraDescriptors()
public void addEjbDescriptor(EjbDescriptor other)
public void setEjbClassName(java.lang.String ejbClassName)
public java.lang.String getEjbClassName()
public java.lang.String getEjbImplClassName()
public void setRemoteHomeImplClassName(java.lang.String name)
public java.lang.String getRemoteHomeImplClassName()
public void setLocalHomeImplClassName(java.lang.String name)
public java.lang.String getLocalHomeImplClassName()
public void setEJBLocalObjectImplClassName(java.lang.String name)
public java.lang.String getEJBLocalObjectImplClassName()
public void setEJBObjectImplClassName(java.lang.String name)
public java.lang.String getEJBObjectImplClassName()
public java.lang.String getTransactionType()
public abstract void setTransactionType(java.lang.String transactionType)
public java.util.Vector getPossibleTransactionAttributes()
public boolean isTimedObject()
public MethodDescriptor getEjbTimeoutMethod()
public void setEjbTimeoutMethod(MethodDescriptor method)
public void addScheduledTimerDescriptor(ScheduledTimerDescriptor scheduleDescriptor)
public void addScheduledTimerDescriptorFromDD(ScheduledTimerDescriptor scheduleDescriptor)
public boolean hasScheduledTimerMethodFromDD(java.lang.reflect.Method timerMethod)
public java.util.List<ScheduledTimerDescriptor> getScheduledTimerDescriptors()
public java.util.Set<LifecycleCallbackDescriptor> getAroundInvokeDescriptors()
public void addAroundInvokeDescriptor(LifecycleCallbackDescriptor aroundInvokeDesc)
public LifecycleCallbackDescriptor getAroundInvokeDescriptorByClass(java.lang.String className)
public boolean hasAroundInvokeMethod()
public java.util.Set<LifecycleCallbackDescriptor> getAroundTimeoutDescriptors()
public void addAroundTimeoutDescriptor(LifecycleCallbackDescriptor aroundTimeoutDesc)
public LifecycleCallbackDescriptor getAroundTimeoutDescriptorByClass(java.lang.String className)
public boolean hasAroundTimeoutMethod()
public void addFrameworkInterceptor(InterceptorDescriptor interceptor)
public java.util.List<InterceptorDescriptor> getFrameworkInterceptors()
public void applyDefaultClassToLifecycleMethods()
public void applyInterceptors(InterceptorBindingTranslator bindingTranslator)
public boolean hasInterceptorClass(java.lang.String interceptorClassName)
public void addInterceptorClass(EjbInterceptor interceptor)
public void appendToInterceptorChain(java.util.List<EjbInterceptor> chain)
public java.util.Set<EjbInterceptor> getInterceptorClasses()
public java.util.Set<java.lang.String> getInterceptorClassNames()
public java.util.Map<MethodDescriptor,java.util.List<EjbInterceptor>> getMethodInterceptorsMap()
public java.util.List<EjbInterceptor> getInterceptorChain()
public java.util.List<EjbInterceptor> getAroundInvokeInterceptors(MethodDescriptor businessMethod)
public java.util.List<EjbInterceptor> getAroundTimeoutInterceptors(MethodDescriptor businessMethod)
public void addMethodLevelChain(java.util.List<EjbInterceptor> chain,
java.lang.reflect.Method m,
boolean aroundInvoke)
public java.util.List<EjbInterceptor> getCallbackInterceptors(LifecycleCallbackDescriptor.CallbackType type)
public boolean isDistributedTransactionScope()
public void setDistributedTransactionScope(boolean scope)
public void setUsesCallerIdentity(boolean flag)
public java.lang.Boolean getUsesCallerIdentity()
public java.lang.String getSecurityIdentityDescription()
public void setSecurityIdentityDescription(java.lang.String s)
public void setRunAsIdentity(RunAsIdentityDescriptor desc)
public RunAsIdentityDescriptor getRunAsIdentity()
public void setUsesDefaultTransaction()
public boolean isUsesDefaultTransaction()
public java.util.Hashtable getMethodContainerTransactions()
public void setContainerTransactionFor(MethodDescriptor methodDescriptor,
ContainerTransaction containerTransaction)
public void setMethodContainerTransactions(java.util.Hashtable methodContainerTransactions)
public ContainerTransaction getContainerTransactionFor(MethodDescriptor methodDescriptor)
public ContainerTransaction getContainerTransaction()
public java.util.Set<EjbIORConfigurationDescriptor> getIORConfigurationDescriptors()
public void addIORConfigurationDescriptor(EjbIORConfigurationDescriptor val)
public java.util.Set getPermissionedRoles()
public java.util.Map getPermissionedMethodsByPermission()
public void addPermissionedMethod(MethodPermission mp,
MethodDescriptor md)
mp - is the new method permission to assignmd - describe the method or set of methods this permission apply topublic java.util.HashMap getMethodPermissionsFromDD()
public void removePermissionedMethod(MethodPermission mp,
MethodDescriptor md)
mp - is the method permission to removemd - describe the method or set of methods this permission apply topublic java.util.Map getStyledPermissionedMethodsByPermission()
public java.util.Set getUncheckedMethodDescriptors()
public java.util.Set getExcludedMethodDescriptors()
public java.util.Set getMethodPermissionsFor(MethodDescriptor methodDescriptor)
public java.util.Set<EjbReference> getEjbReferenceDescriptors()
getEjbReferenceDescriptors in interface JndiNameEnvironmentgetEjbReferenceDescriptors in interface EjbReferenceContainerpublic void addEjbReferenceDescriptor(EjbReference ejbReference)
addEjbReferenceDescriptor in interface EjbReferenceContaineraddEjbReferenceDescriptor in interface WritableJndiNameEnvironmentejbReference - the EjbReferenceDescriptor to add.public void removeEjbReferenceDescriptor(EjbReference ejbReference)
WritableJndiNameEnvironment
removeEjbReferenceDescriptor in interface WritableJndiNameEnvironmentejbReference - the EjbReferenceDescriptor to remove.public java.util.Set<LifecycleCallbackDescriptor> getPostConstructDescriptors()
JndiNameEnvironment
getPostConstructDescriptors in interface JndiNameEnvironmentpublic void addPostConstructDescriptor(LifecycleCallbackDescriptor postConstructDesc)
WritableJndiNameEnvironment
addPostConstructDescriptor in interface WritableJndiNameEnvironmentpublic LifecycleCallbackDescriptor getPostConstructDescriptorByClass(java.lang.String className)
JndiNameEnvironment
getPostConstructDescriptorByClass in interface JndiNameEnvironmentpublic java.util.Set<LifecycleCallbackDescriptor> getPreDestroyDescriptors()
JndiNameEnvironment
getPreDestroyDescriptors in interface JndiNameEnvironmentpublic void addPreDestroyDescriptor(LifecycleCallbackDescriptor preDestroyDesc)
WritableJndiNameEnvironment
addPreDestroyDescriptor in interface WritableJndiNameEnvironmentpublic LifecycleCallbackDescriptor getPreDestroyDescriptorByClass(java.lang.String className)
JndiNameEnvironment
getPreDestroyDescriptorByClass in interface JndiNameEnvironmentpublic java.util.Set<DataSourceDefinitionDescriptor> getDataSourceDefinitionDescriptors()
JndiNameEnvironment
getDataSourceDefinitionDescriptors in interface JndiNameEnvironmentpublic void addDataSourceDefinitionDescriptor(DataSourceDefinitionDescriptor reference)
WritableJndiNameEnvironment
addDataSourceDefinitionDescriptor in interface WritableJndiNameEnvironmentreference - DataSourceDefinitionDescriptor to add.public void removeDataSourceDefinitionDescriptor(DataSourceDefinitionDescriptor reference)
WritableJndiNameEnvironment
removeDataSourceDefinitionDescriptor in interface WritableJndiNameEnvironmentreference - DataSourceDefinitionDescriptor to remove.public java.util.Set<ServiceReferenceDescriptor> getServiceReferenceDescriptors()
JndiNameEnvironment
getServiceReferenceDescriptors in interface JndiNameEnvironmentgetServiceReferenceDescriptors in interface ServiceReferenceContainerpublic void addServiceReferenceDescriptor(ServiceReferenceDescriptor serviceRef)
WritableJndiNameEnvironment
addServiceReferenceDescriptor in interface ServiceReferenceContaineraddServiceReferenceDescriptor in interface WritableJndiNameEnvironmentpublic void removeServiceReferenceDescriptor(ServiceReferenceDescriptor serviceRef)
WritableJndiNameEnvironment
removeServiceReferenceDescriptor in interface ServiceReferenceContainerremoveServiceReferenceDescriptor in interface WritableJndiNameEnvironmentpublic ServiceReferenceDescriptor getServiceReferenceByName(java.lang.String name)
getServiceReferenceByName in interface JndiNameEnvironmentgetServiceReferenceByName in interface ServiceReferenceContainerpublic java.util.Set<MessageDestinationReferenceDescriptor> getMessageDestinationReferenceDescriptors()
JndiNameEnvironment
getMessageDestinationReferenceDescriptors in interface JndiNameEnvironmentgetMessageDestinationReferenceDescriptors in interface MessageDestinationReferenceContainerpublic void addMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor messageDestRef)
WritableJndiNameEnvironment
addMessageDestinationReferenceDescriptor in interface MessageDestinationReferenceContaineraddMessageDestinationReferenceDescriptor in interface WritableJndiNameEnvironmentpublic void removeMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestRef)
WritableJndiNameEnvironment
removeMessageDestinationReferenceDescriptor in interface MessageDestinationReferenceContainerremoveMessageDestinationReferenceDescriptor in interface WritableJndiNameEnvironmentpublic MessageDestinationReferenceDescriptor getMessageDestinationReferenceByName(java.lang.String name)
getMessageDestinationReferenceByName in interface JndiNameEnvironmentgetMessageDestinationReferenceByName in interface MessageDestinationReferenceContainerpublic java.util.Set<JmsDestinationReferenceDescriptor> getJmsDestinationReferenceDescriptors()
getJmsDestinationReferenceDescriptors in interface JndiNameEnvironmentgetJmsDestinationReferenceDescriptors in interface ResourceEnvReferenceContainerpublic void addJmsDestinationReferenceDescriptor(JmsDestinationReferenceDescriptor jmsDestReference)
WritableJndiNameEnvironment
addJmsDestinationReferenceDescriptor in interface ResourceEnvReferenceContaineraddJmsDestinationReferenceDescriptor in interface WritableJndiNameEnvironmentpublic void removeJmsDestinationReferenceDescriptor(JmsDestinationReferenceDescriptor jmsDestReference)
WritableJndiNameEnvironment
removeJmsDestinationReferenceDescriptor in interface WritableJndiNameEnvironmentpublic JmsDestinationReferenceDescriptor getJmsDestinationReferenceByName(java.lang.String name)
JndiNameEnvironment
getJmsDestinationReferenceByName in interface JndiNameEnvironmentgetJmsDestinationReferenceByName in interface ResourceEnvReferenceContainerpublic java.util.Set<ResourceReferenceDescriptor> getResourceReferenceDescriptors()
getResourceReferenceDescriptors in interface JndiNameEnvironmentgetResourceReferenceDescriptors in interface ResourceReferenceContainerpublic void addResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
addResourceReferenceDescriptor in interface ResourceReferenceContaineraddResourceReferenceDescriptor in interface WritableJndiNameEnvironmentresourceReference - the ResourceReferenceDescriptor to add.public void removeResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
removeResourceReferenceDescriptor in interface WritableJndiNameEnvironmentresourceReference - the ResourceReferenceDescriptor to remove.public EnvironmentProperty getEnvironmentPropertyByName(java.lang.String name)
getEnvironmentPropertyByName in interface JndiNameEnvironmentpublic java.util.Set<EnvironmentProperty> getEnvironmentProperties()
getEnvironmentProperties in interface JndiNameEnvironmentpublic void addEnvironmentProperty(EnvironmentProperty environmentProperty)
addEnvironmentProperty in interface WritableJndiNameEnvironmentenvironmentProperty - the EnvironmentProperty to add.public void removeEnvironmentProperty(EnvironmentProperty environmentProperty)
removeEnvironmentProperty in interface WritableJndiNameEnvironmentenvironmentProperty - the EnvironmentProperty to remove.public java.util.Set<EntityManagerFactoryReferenceDescriptor> getEntityManagerFactoryReferenceDescriptors()
JndiNameEnvironment
getEntityManagerFactoryReferenceDescriptors in interface JndiNameEnvironmentpublic EntityManagerFactoryReferenceDescriptor getEntityManagerFactoryReferenceByName(java.lang.String name)
getEntityManagerFactoryReferenceByName in interface JndiNameEnvironmentpublic void addEntityManagerFactoryReferenceDescriptor(EntityManagerFactoryReferenceDescriptor reference)
addEntityManagerFactoryReferenceDescriptor in interface WritableJndiNameEnvironmentpublic java.util.Set<EntityManagerReferenceDescriptor> getEntityManagerReferenceDescriptors()
JndiNameEnvironment
getEntityManagerReferenceDescriptors in interface JndiNameEnvironmentpublic EntityManagerReferenceDescriptor getEntityManagerReferenceByName(java.lang.String name)
getEntityManagerReferenceByName in interface JndiNameEnvironmentpublic void addEntityManagerReferenceDescriptor(EntityManagerReferenceDescriptor reference)
addEntityManagerReferenceDescriptor in interface WritableJndiNameEnvironmentpublic java.util.List<InjectionCapable> getInjectableResourcesByClass(java.lang.String className)
getInjectableResourcesByClass in interface JndiNameEnvironmentpublic InjectionInfo getInjectionInfoByClass(java.lang.Class clazz)
getInjectionInfoByClass in interface JndiNameEnvironmentpublic boolean hasPostConstructMethod()
public boolean hasPreDestroyMethod()
public java.util.Set<ResourceReferenceDescriptor> getResourceReferenceDescriptors(boolean resolved)
public ResourceReferenceDescriptor getResourceReferenceByName(java.lang.String name)
getResourceReferenceByName in interface ResourceReferenceContainerpublic boolean hasResolvedResourceReferences()
public EjbReference getEjbReference(java.lang.String name)
getEjbReference in interface EjbReferenceContainerpublic java.util.Set<RoleReference> getRoleReferences()
public void addRoleReference(RoleReference roleReference)
public void removeRoleReference(RoleReference roleReference)
public RoleReference getRoleReferenceByName(java.lang.String roleReferenceName)
public EjbBundleDescriptor getEjbBundleDescriptor()
public void setEjbBundleDescriptor(EjbBundleDescriptor bundleDescriptor)
public void notifyNewModule(WebBundleDescriptor wbd)
public Application getApplication()
public java.util.Set getMethodDescriptors()
public java.util.Set getTxBusinessMethodDescriptors()
public java.util.Set getSecurityBusinessMethodDescriptors()
public java.util.Set getClientBusinessMethodDescriptors()
protected void addAllInterfaceMethodsIn(java.util.Collection methodDescriptors,
java.lang.Class c,
java.lang.String methodIntf)
public MethodDescriptor getBusinessMethodDescriptorFor(java.lang.reflect.Method m,
java.lang.String methodIntf)
public java.util.Collection getTransactionMethodDescriptors()
protected java.util.Collection getTransactionMethods(java.lang.ClassLoader classLoader)
public java.util.Set<java.lang.reflect.Method> getOptionalLocalBusinessMethods()
public java.util.Vector getMethods()
public java.util.Vector getMethods(java.lang.ClassLoader classLoader)
public java.util.Vector getFields()
public java.util.Vector getFieldDescriptors()
public void removeEjbReferencer(EjbReferenceDescriptor ref)
public java.util.Set getAllEjbReferencers()
public void setUniqueId(long id)
public long getUniqueId()
public void print(java.lang.StringBuffer toStringBuffer)
print in class EjbAbstractDescriptorpublic void visit(DescriptorVisitor aVisitor)
visit in class DescriptoraVisitor - a visitor to traverse the descriptorspublic void visit(EjbVisitor aVisitor)
aVisitor - a visitor to traverse the descriptorspublic boolean allMechanismsRequireSSL()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||