public abstract class EjbDescriptor extends CommonResourceDescriptor implements EjbDescriptor
| Modifier and Type | Field and Description |
|---|---|
static String |
DISTRIBUTED_TRANSACTION_SCOPE |
protected boolean |
isDistributedTxScope |
static String |
LOCAL_TRANSACTION_SCOPE |
protected RunAsIdentityDescriptor |
runAsIdentity |
protected String |
securityIdentityDescription |
protected String |
transactionType |
protected Boolean |
usesCallerIdentity |
protected boolean |
usesDefaultTransaction |
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGEDBEAN_TRANSACTION_TYPE, CONTAINER_TRANSACTION_TYPE| Modifier | Constructor and Description |
|---|---|
protected |
EjbDescriptor()
Default constructor.
|
|
EjbDescriptor(EjbDescriptor other) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAllInterfaceMethodsIn(Collection<MethodDescriptor> methodDescriptors,
Class<?> clazz,
String methodInterface) |
void |
addAroundInvokeDescriptor(LifecycleCallbackDescriptor aroundInvokeDesc) |
void |
addAroundTimeoutDescriptor(LifecycleCallbackDescriptor aroundTimeoutDesc) |
void |
addEjbDescriptor(EjbDescriptor other) |
void |
addEjbReferenceDescriptor(EjbReference ejbReference)
Adds a reference to another ejb to me.
|
void |
addEjbReferencer(EjbReferenceDescriptor ref) |
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 |
addLocalBusinessClassName(String className) |
void |
addMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor messageDestRef)
Adds the specified message destination reference to the receiver.
|
void |
addMethodLevelChain(List<EjbInterceptor> chain,
Method m,
boolean aroundInvoke) |
void |
addNoInterfaceLocalBeanClass(String className)
Add a classname for a no-interface view of the local ejb
|
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 |
addRemoteBusinessClassName(String className) |
void |
addResourceDescriptor(ResourceDescriptor descriptor)
Adds the specified descriptor to the receiver.
|
void |
addResourceEnvReferenceDescriptor(ResourceEnvReferenceDescriptor resourceEnvReference)
Adds the specified resource environment reference 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(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.
|
Set |
getAllEjbReferencers() |
Set<ResourceDescriptor> |
getAllResourcesDescriptors()
Return a set of descriptors.
|
Set<ResourceDescriptor> |
getAllResourcesDescriptors(Class givenClazz)
Return a set of descriptors based on the class value.
|
Application |
getApplication()
Gets the application to which this ejb descriptor belongs.
|
LifecycleCallbackDescriptor |
getAroundInvokeDescriptorByClass(String className) |
Set<LifecycleCallbackDescriptor> |
getAroundInvokeDescriptors() |
List<EjbInterceptor> |
getAroundInvokeInterceptors(MethodDescriptor businessMethod)
Return the ordered list of interceptor info for AroundInvoke behavior of a particular business method.
|
LifecycleCallbackDescriptor |
getAroundTimeoutDescriptorByClass(String className) |
Set<LifecycleCallbackDescriptor> |
getAroundTimeoutDescriptors() |
List<EjbInterceptor> |
getAroundTimeoutInterceptors(MethodDescriptor businessMethod)
Return the ordered list of interceptor info for AroundTimeout behavior of a particular business method.
|
MethodDescriptor |
getBusinessMethodDescriptorFor(Method m,
String methodIntf) |
List<EjbInterceptor> |
getCallbackInterceptors(LifecycleCallbackDescriptor.CallbackType type)
Return the ordered list of interceptor info for a particular callback event type.
|
Set |
getClientBusinessMethodDescriptors()
Returns the set of local/remote/no-interface view business method descriptors.
|
abstract String |
getContainerFactoryQualifier() |
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.
|
EjbBundleDescriptorImpl |
getEjbBundleDescriptor()
Gets the containing ejb bundle descriptor..
|
String |
getEjbClassName()
Returns the classname of the ejb.
|
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. |
String |
getEJBLocalObjectImplClassName()
Returns the classname of the EJBLocalObject impl.
|
String |
getEJBObjectImplClassName()
Returns the classname of the EJBObject impl.
|
EjbReference |
getEjbReference(String name)
Return a reference to another ejb by the same name or throw an IllegalArgumentException.
|
Set<EjbReference> |
getEjbReferenceDescriptors()
Return the set of ejb references this ejb declares.
|
MethodDescriptor |
getEjbTimeoutMethod() |
abstract String |
getEjbTypeForDisplay() |
EntityManagerFactoryReferenceDescriptor |
getEntityManagerFactoryReferenceByName(String name)
Return the entity manager factory reference descriptor corresponding to the given name.
|
Set<EntityManagerFactoryReferenceDescriptor> |
getEntityManagerFactoryReferenceDescriptors()
Return a set of entity manager factory reference descriptors.
|
EntityManagerReferenceDescriptor |
getEntityManagerReferenceByName(String name)
Return the entity manager factory reference descriptor corresponding to the given name.
|
Set<EntityManagerReferenceDescriptor> |
getEntityManagerReferenceDescriptors()
Return a set of entity manager reference descriptors.
|
Set<EnvironmentProperty> |
getEnvironmentProperties()
Return a copy of the structure holding the environment properties.
|
EnvironmentProperty |
getEnvironmentPropertyByName(String name)
Returns the environment property object searching on the supplied key.
|
Set |
getExcludedMethodDescriptors() |
Vector |
getFieldDescriptors() |
Vector |
getFields()
Return a Vector of the Field objects of this ejb.
|
List<InterceptorDescriptor> |
getFrameworkInterceptors() |
String |
getHomeClassName()
Returns the classname of the Home interface of this ejb.
|
IASEjbExtraDescriptors |
getIASEjbExtraDescriptors()
returns the extra iAS specific info (not in the RI DID) in the iAS DTD.
|
List<InjectionCapable> |
getInjectableResourcesByClass(String className) |
InjectionInfo |
getInjectionInfoByClass(Class clazz) |
List<EjbInterceptor> |
getInterceptorChain() |
Set<EjbInterceptor> |
getInterceptorClasses()
Return an unordered set of interceptor descriptors for this bean.
|
Set<String> |
getInterceptorClassNames()
Return an unordered set of the names of all interceptor classes for this bean.
|
Set<EjbIORConfigurationDescriptor> |
getIORConfigurationDescriptors() |
String |
getJndiName()
Returns the JNDI name property of the receiver.
|
Set<LifecycleCallbackDescriptor> |
getLifecycleCallbackDescriptors() |
Set<String> |
getLocalBusinessClassNames()
Returns the set of local business interface names for this ejb.
|
String |
getLocalClassName() |
String |
getLocalHomeClassName() |
String |
getLocalHomeImplClassName()
Returns the classname of the Local home impl.
|
String |
getMappedName() |
MessageDestinationReferenceDescriptor |
getMessageDestinationReferenceByName(String name)
Looks up an message destination reference with the given name.
|
Set<MessageDestinationReferenceDescriptor> |
getMessageDestinationReferenceDescriptors()
Return a set of message destination reference descriptors.
|
Hashtable |
getMethodContainerTransactions()
Return a copy of the mapping held internally of method descriptors to container transaction objects.
|
Set<MethodDescriptor> |
getMethodDescriptors()
Returns the full set of method descriptors (from all the methods on the home and remote interfaces).
|
Map<MethodDescriptor,List<EjbInterceptor>> |
getMethodInterceptorsMap() |
Set<MethodPermission> |
getMethodPermissionsFor(MethodDescriptor methodDescriptor) |
Map<MethodPermission,List<MethodDescriptor>> |
getMethodPermissionsFromDD()
Get a record of all the Method Permissions exactly as they were in the`DD
|
Vector |
getMethods()
Return the set of method objects on my home and remote interfaces.
|
Vector |
getMethods(ClassLoader classLoader)
Return the ejb method objects, i.e.
|
Set<String> |
getNoInterfaceLocalBeanClasses() |
Set<Method> |
getOptionalLocalBusinessMethods()
Return the set of method objects representing no-interface view
|
Map |
getPermissionedMethodsByPermission() |
Set<Role> |
getPermissionedRoles() |
Vector |
getPossibleTransactionAttributes()
Returns the set of transaction attributes that can be assigned to methods of this ejb when in CMT mode.
|
LifecycleCallbackDescriptor |
getPostConstructDescriptorByClass(String className)
Return the post-construct descriptor corresponding to
the given name.
|
Set<LifecycleCallbackDescriptor> |
getPostConstructDescriptors()
Return a set of post-construct descriptors.
|
LifecycleCallbackDescriptor |
getPreDestroyDescriptorByClass(String className)
Return the pre-destroy descriptor corresponding to
the given name.
|
Set<LifecycleCallbackDescriptor> |
getPreDestroyDescriptors()
Return a set of pre-destroy descriptors.
|
Set<String> |
getRemoteBusinessClassNames()
Returns the set of remote business interface names for this ejb.
|
String |
getRemoteClassName()
Returns the classname of the Remote interface of this ejb.
|
String |
getRemoteHomeImplClassName()
Returns the classname of the remote home impl.
|
Set<ResourceDescriptor> |
getResourceDescriptors(JavaEEResourceType type)
Return a set of descriptors based on the type.
|
ResourceEnvReferenceDescriptor |
getResourceEnvReferenceByName(String name)
Return the resource environment reference descriptor corresponding to
the given name.
|
Set<ResourceEnvReferenceDescriptor> |
getResourceEnvReferenceDescriptors()
Return the set of resource environment references this ejb declares.
|
ResourceReferenceDescriptor |
getResourceReferenceByName(String name)
Return the resource object corresponding to the supplied name or throw an illegal argument exception.
|
Set<ResourceReferenceDescriptor> |
getResourceReferenceDescriptors()
Return the set of resource references this ejb declares.
|
Set<ResourceReferenceDescriptor> |
getResourceReferenceDescriptors(boolean resolved)
Return the set of resource references this ejb declares that have been resolved.
|
RoleReference |
getRoleReferenceByName(String roleReferenceName)
Returns a matching role reference by name or throw an IllegalArgumentException.
|
Set<RoleReference> |
getRoleReferences()
Return a copy of the role references set.
|
RunAsIdentityDescriptor |
getRunAsIdentity() |
List<ScheduledTimerDescriptor> |
getScheduledTimerDescriptors() |
Set |
getSecurityBusinessMethodDescriptors()
Returns the full set of security business method descriptors.
|
String |
getSecurityIdentityDescription()
Get the description field of security-identity
|
ServiceReferenceDescriptor |
getServiceReferenceByName(String name)
Looks up an service reference with the given name.
|
Set<ServiceReferenceDescriptor> |
getServiceReferenceDescriptors()
Return a set of service reference descriptors.
|
Map |
getStyledPermissionedMethodsByPermission() |
Collection |
getTransactionMethodDescriptors() |
protected Collection |
getTransactionMethods(ClassLoader classLoader) |
String |
getTransactionType()
The transaction type of this ejb.
|
Set |
getTxBusinessMethodDescriptors()
Returns the full set of transactional business method descriptors I have.
|
Set |
getUncheckedMethodDescriptors() |
long |
getUniqueId() |
Boolean |
getUsesCallerIdentity()
Get the usesCallerIdentity flag
|
String |
getWebServiceEndpointInterfaceName() |
boolean |
hasAroundInvokeMethod() |
boolean |
hasAroundTimeoutMethod() |
boolean |
hasInterceptorClass(String interceptorClassName) |
boolean |
hasPostConstructMethod() |
boolean |
hasPreDestroyMethod() |
boolean |
hasResolvedResourceReferences()
Returns true if this ejb descriptor has resource references that are resolved.
|
boolean |
hasScheduledTimerMethodFromDD(Method timerMethod) |
boolean |
hasWebServiceEndpointInterface() |
boolean |
isDistributedTransactionScope()
Gets the transaction scope of this ejb.
|
boolean |
isLocalBean() |
boolean |
isLocalBusinessInterfacesSupported() |
boolean |
isLocalInterfacesSupported() |
boolean |
isRemoteBusinessInterfacesSupported()
Returns true if the EJB can be accessed remotely
|
boolean |
isRemoteInterfacesSupported() |
boolean |
isTimedObject()
Returns true if a timer has been set with this object
|
boolean |
isUsesDefaultTransaction() |
void |
notifyNewModule(WebBundleDescriptor wbd)
Called by WebArchivist to notify this EjbDescriptor that it has been associated with a web bundle.
|
void |
print(StringBuilder toStringBuilder)
Returns a formatted String of the attributes of this object.
|
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 |
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 |
removeResourceDescriptor(ResourceDescriptor descriptor)
Removes the specified descriptor from the receiver.
|
void |
removeResourceEnvReferenceDescriptor(ResourceEnvReferenceDescriptor resourceEnvReference)
Removes the specified resource environment reference from the receiver.
|
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(EjbBundleDescriptorImpl bundleDescriptor) |
void |
setEjbClassName(String ejbClassName)
Sets the classname of the ejb.
|
void |
setEJBLocalObjectImplClassName(String name)
Sets the EJBLocalObject implementation classname of the ejb.
|
void |
setEJBObjectImplClassName(String name)
Sets the EJBObject implementation classname of the ejb.
|
void |
setEjbTimeoutMethod(MethodDescriptor method) |
void |
setHomeClassName(String homeClassName)
Sets the classname of the Home interface of this ejb.
|
void |
setJndiName(String jndiName)
Sets the JNDI name property of the reciever as a String.
|
void |
setLocalBean(boolean localBean)
Marks this ejb as a LocalBean.
|
void |
setLocalClassName(String localClassName)
Sets the classname for the local interface of this ejb
|
void |
setLocalHomeClassName(String localHomeClassName)
Sets the classname for the local home interface of this ejb
|
void |
setLocalHomeImplClassName(String name)
Sets the Local home implementation classname of the ejb.
|
void |
setMappedName(String mappedName) |
void |
setMethodContainerTransactions(Hashtable methodContainerTransactions)
Sets the container transactions for all the method descriptors of this ejb.
|
void |
setRemoteClassName(String remoteClassName)
Sets the classname of the Remote interface of this ejb.
|
void |
setRemoteHomeImplClassName(String name)
Sets the remote home implementation classname of the ejb.
|
void |
setRunAsIdentity(RunAsIdentityDescriptor desc) |
void |
setSecurityIdentityDescription(String s)
Set the description field of security-identity
|
abstract void |
setTransactionType(String transactionType)
Set the transaction type of this ejb.
|
abstract void |
setType(String type) |
void |
setUniqueId(long id) |
void |
setUsesCallerIdentity(boolean flag)
Set the usesCallerIdentity flag
|
void |
setUsesDefaultTransaction()
Have default method transaction if isBoundsChecking is on.
|
void |
setWebServiceEndpointInterfaceName(String name) |
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
|
getResourceDescriptoraddDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUriaddExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toStringaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypegetNamepublic static final String LOCAL_TRANSACTION_SCOPE
public static final String DISTRIBUTED_TRANSACTION_SCOPE
protected String transactionType
protected boolean usesDefaultTransaction
protected Boolean usesCallerIdentity
protected String securityIdentityDescription
protected boolean isDistributedTxScope
protected RunAsIdentityDescriptor runAsIdentity
protected EjbDescriptor()
public EjbDescriptor(EjbDescriptor other)
public IASEjbExtraDescriptors getIASEjbExtraDescriptors()
public abstract String getEjbTypeForDisplay()
getEjbTypeForDisplay in interface EjbDescriptorpublic void addEjbDescriptor(EjbDescriptor other)
public abstract void setType(String type)
public String getHomeClassName()
getHomeClassName in interface EjbDescriptorpublic void setHomeClassName(String homeClassName)
homeClassName - public void setRemoteClassName(String remoteClassName)
remoteClassName - public String getRemoteClassName()
getRemoteClassName in interface EjbDescriptorpublic void setLocalHomeClassName(String localHomeClassName)
localHomeClassName - fully qualified class name for the interfacepublic String getLocalHomeClassName()
getLocalHomeClassName in interface EjbDescriptorpublic void setLocalClassName(String localClassName)
localClassName - fully qualified class name for the interfacepublic String getLocalClassName()
getLocalClassName in interface EjbDescriptorpublic void addNoInterfaceLocalBeanClass(String className)
className - fully qualified class name for the interfacepublic Set<String> getNoInterfaceLocalBeanClasses()
public void addRemoteBusinessClassName(String className)
public void addLocalBusinessClassName(String className)
public Set<String> getRemoteBusinessClassNames()
getRemoteBusinessClassNames in interface EjbDescriptorpublic Set<String> getLocalBusinessClassNames()
getLocalBusinessClassNames in interface EjbDescriptorpublic void setWebServiceEndpointInterfaceName(String name)
setWebServiceEndpointInterfaceName in interface EjbDescriptorpublic String getWebServiceEndpointInterfaceName()
getWebServiceEndpointInterfaceName in interface EjbDescriptorpublic String getJndiName()
NamedDescriptorgetJndiName in interface NamedDescriptorpublic void setJndiName(String jndiName)
NamedDescriptorsetJndiName in interface NamedDescriptorjndiName - the new JNDI name of the receiver.public String getMappedName()
public void setMappedName(String mappedName)
public void setLocalBean(boolean localBean)
public boolean isLocalInterfacesSupported()
isLocalInterfacesSupported in interface EjbDescriptorpublic boolean isLocalBusinessInterfacesSupported()
isLocalBusinessInterfacesSupported in interface EjbDescriptorpublic boolean isRemoteInterfacesSupported()
isRemoteInterfacesSupported in interface EjbDescriptorpublic boolean isRemoteBusinessInterfacesSupported()
EjbDescriptorisRemoteBusinessInterfacesSupported in interface EjbDescriptorpublic boolean hasWebServiceEndpointInterface()
hasWebServiceEndpointInterface in interface EjbDescriptorpublic boolean isLocalBean()
isLocalBean in interface EjbDescriptorpublic void setEjbClassName(String ejbClassName)
ejbClassName - public String getEjbClassName()
getEjbClassName in interface EjbDescriptorpublic String getEjbImplClassName()
getEjbClassName() and the method is redefined in
IASEjbCMPDescriptor.getEjbImplClassName in interface EjbDescriptorpublic void setRemoteHomeImplClassName(String name)
name - public String getRemoteHomeImplClassName()
public void setLocalHomeImplClassName(String name)
name - public String getLocalHomeImplClassName()
public void setEJBLocalObjectImplClassName(String name)
name - public String getEJBLocalObjectImplClassName()
public void setEJBObjectImplClassName(String name)
name - public String getEJBObjectImplClassName()
public String getTransactionType()
getTransactionType in interface EjbDescriptorpublic abstract void setTransactionType(String transactionType)
transactionType - public Vector getPossibleTransactionAttributes()
public boolean isTimedObject()
public MethodDescriptor getEjbTimeoutMethod()
public void setEjbTimeoutMethod(MethodDescriptor method)
public void addScheduledTimerDescriptor(ScheduledTimerDescriptor scheduleDescriptor)
public void addScheduledTimerDescriptorFromDD(ScheduledTimerDescriptor scheduleDescriptor)
scheduleDescriptor - public boolean hasScheduledTimerMethodFromDD(Method timerMethod)
public List<ScheduledTimerDescriptor> getScheduledTimerDescriptors()
public Set<LifecycleCallbackDescriptor> getAroundInvokeDescriptors()
public void addAroundInvokeDescriptor(LifecycleCallbackDescriptor aroundInvokeDesc)
public LifecycleCallbackDescriptor getAroundInvokeDescriptorByClass(String className)
public boolean hasAroundInvokeMethod()
public Set<LifecycleCallbackDescriptor> getAroundTimeoutDescriptors()
public void addAroundTimeoutDescriptor(LifecycleCallbackDescriptor aroundTimeoutDesc)
public LifecycleCallbackDescriptor getAroundTimeoutDescriptorByClass(String className)
public boolean hasAroundTimeoutMethod()
public void addFrameworkInterceptor(InterceptorDescriptor interceptor)
addFrameworkInterceptor in interface EjbDescriptorpublic List<InterceptorDescriptor> getFrameworkInterceptors()
public void applyDefaultClassToLifecycleMethods()
public Set<LifecycleCallbackDescriptor> getLifecycleCallbackDescriptors()
public void applyInterceptors(InterceptorBindingTranslator bindingTranslator)
bindingTranslator - public boolean hasInterceptorClass(String interceptorClassName)
hasInterceptorClass in interface EjbDescriptorpublic void addInterceptorClass(EjbInterceptor interceptor)
addInterceptorClass in interface EjbDescriptorpublic void appendToInterceptorChain(List<EjbInterceptor> chain)
appendToInterceptorChain in interface EjbDescriptorpublic Set<EjbInterceptor> getInterceptorClasses()
public Set<String> getInterceptorClassNames()
public Map<MethodDescriptor,List<EjbInterceptor>> getMethodInterceptorsMap()
public List<EjbInterceptor> getInterceptorChain()
public List<EjbInterceptor> getAroundInvokeInterceptors(MethodDescriptor businessMethod)
businessMethod - public List<EjbInterceptor> getAroundTimeoutInterceptors(MethodDescriptor businessMethod)
businessMethod - public void addMethodLevelChain(List<EjbInterceptor> chain, Method m, boolean aroundInvoke)
addMethodLevelChain in interface EjbDescriptorpublic List<EjbInterceptor> getCallbackInterceptors(LifecycleCallbackDescriptor.CallbackType type)
type - public boolean isDistributedTransactionScope()
public void setDistributedTransactionScope(boolean scope)
scope - public void setUsesCallerIdentity(boolean flag)
setUsesCallerIdentity in interface EjbDescriptorflag - public Boolean getUsesCallerIdentity()
getUsesCallerIdentity in interface EjbDescriptorpublic String getSecurityIdentityDescription()
public void setSecurityIdentityDescription(String s)
s - public void setRunAsIdentity(RunAsIdentityDescriptor desc)
setRunAsIdentity in interface EjbDescriptorpublic RunAsIdentityDescriptor getRunAsIdentity()
getRunAsIdentity in interface EjbDescriptorpublic void setUsesDefaultTransaction()
public boolean isUsesDefaultTransaction()
public Hashtable getMethodContainerTransactions()
public void setContainerTransactionFor(MethodDescriptor methodDescriptor, ContainerTransaction containerTransaction)
methodDescriptor - containerTransaction - public void setMethodContainerTransactions(Hashtable methodContainerTransactions)
methodContainerTransactions - public ContainerTransaction getContainerTransactionFor(MethodDescriptor methodDescriptor)
methodDescriptor - public ContainerTransaction getContainerTransaction()
public Set<EjbIORConfigurationDescriptor> getIORConfigurationDescriptors()
getIORConfigurationDescriptors in interface EjbDescriptorpublic void addIORConfigurationDescriptor(EjbIORConfigurationDescriptor val)
public Set<Role> getPermissionedRoles()
getPermissionedRoles in interface EjbDescriptorpublic Map getPermissionedMethodsByPermission()
public void addPermissionedMethod(MethodPermission mp, MethodDescriptor md)
addPermissionedMethod in interface EjbDescriptormp - is the new method permission to assignmd - describe the method or set of methods this permission apply topublic Map<MethodPermission,List<MethodDescriptor>> getMethodPermissionsFromDD()
getMethodPermissionsFromDD in interface EjbDescriptorpublic void removePermissionedMethod(MethodPermission mp, MethodDescriptor md)
mp - is the method permission to removemd - describe the method or set of methods this permission apply topublic Map getStyledPermissionedMethodsByPermission()
public Set getUncheckedMethodDescriptors()
public Set getExcludedMethodDescriptors()
public Set<MethodPermission> getMethodPermissionsFor(MethodDescriptor methodDescriptor)
getMethodPermissionsFor in interface EjbDescriptormethodDescriptor - public final Set<EjbReference> getEjbReferenceDescriptors()
getEjbReferenceDescriptors in interface JndiNameEnvironmentgetEjbReferenceDescriptors in interface EjbReferenceContainerpublic final void addEjbReferenceDescriptor(EjbReference ejbReference)
addEjbReferenceDescriptor in interface EjbReferenceContaineraddEjbReferenceDescriptor in interface WritableJndiNameEnvironmentejbReference - public final void removeEjbReferenceDescriptor(EjbReference ejbReference)
WritableJndiNameEnvironmentremoveEjbReferenceDescriptor in interface WritableJndiNameEnvironmentejbReference - the EjbReferenceDescriptor to remove.public final Set<LifecycleCallbackDescriptor> getPostConstructDescriptors()
JndiNameEnvironmentgetPostConstructDescriptors in interface JndiNameEnvironmentpublic final void addPostConstructDescriptor(LifecycleCallbackDescriptor postConstructDesc)
WritableJndiNameEnvironmentaddPostConstructDescriptor in interface WritableJndiNameEnvironmentpostConstructDesc - the post-construct LifecycleCallbackDescriptor to add.public final LifecycleCallbackDescriptor getPostConstructDescriptorByClass(String className)
JndiNameEnvironmentgetPostConstructDescriptorByClass in interface JndiNameEnvironmentpublic final Set<LifecycleCallbackDescriptor> getPreDestroyDescriptors()
JndiNameEnvironmentgetPreDestroyDescriptors in interface JndiNameEnvironmentpublic final void addPreDestroyDescriptor(LifecycleCallbackDescriptor preDestroyDesc)
WritableJndiNameEnvironmentaddPreDestroyDescriptor in interface WritableJndiNameEnvironmentpreDestroyDesc - the pre-destroy LifecycleCallbackDescriptor to add.public final LifecycleCallbackDescriptor getPreDestroyDescriptorByClass(String className)
JndiNameEnvironmentgetPreDestroyDescriptorByClass in interface JndiNameEnvironmentpublic final Set<ServiceReferenceDescriptor> getServiceReferenceDescriptors()
JndiNameEnvironmentgetServiceReferenceDescriptors in interface JndiNameEnvironmentgetServiceReferenceDescriptors in interface ServiceReferenceContainerpublic final void addServiceReferenceDescriptor(ServiceReferenceDescriptor serviceRef)
WritableJndiNameEnvironmentaddServiceReferenceDescriptor in interface ServiceReferenceContaineraddServiceReferenceDescriptor in interface WritableJndiNameEnvironmentserviceRef - the ServiceReferenceDescriptor to add.public final void removeServiceReferenceDescriptor(ServiceReferenceDescriptor serviceRef)
WritableJndiNameEnvironmentremoveServiceReferenceDescriptor in interface ServiceReferenceContainerremoveServiceReferenceDescriptor in interface WritableJndiNameEnvironmentserviceRef - the ServiceReferenceDescriptor to remove.public final ServiceReferenceDescriptor getServiceReferenceByName(String name)
getServiceReferenceByName in interface JndiNameEnvironmentgetServiceReferenceByName in interface ServiceReferenceContainername - public final Set<MessageDestinationReferenceDescriptor> getMessageDestinationReferenceDescriptors()
JndiNameEnvironmentgetMessageDestinationReferenceDescriptors in interface JndiNameEnvironmentgetMessageDestinationReferenceDescriptors in interface MessageDestinationReferenceContainerpublic final void addMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor messageDestRef)
WritableJndiNameEnvironmentaddMessageDestinationReferenceDescriptor in interface MessageDestinationReferenceContaineraddMessageDestinationReferenceDescriptor in interface WritableJndiNameEnvironmentmessageDestRef - the MessageDestinationReferenceDescriptor to add.public final void removeMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestRef)
WritableJndiNameEnvironmentremoveMessageDestinationReferenceDescriptor in interface MessageDestinationReferenceContainerremoveMessageDestinationReferenceDescriptor in interface WritableJndiNameEnvironmentmsgDestRef - MessageDestinationReferenceDescriptor to remove.public final MessageDestinationReferenceDescriptor getMessageDestinationReferenceByName(String name)
getMessageDestinationReferenceByName in interface JndiNameEnvironmentgetMessageDestinationReferenceByName in interface MessageDestinationReferenceContainername - public final Set<ResourceDescriptor> getResourceDescriptors(JavaEEResourceType type)
JndiNameEnvironmentgetResourceDescriptors in interface JndiNameEnvironmentgetResourceDescriptors in class CommonResourceDescriptorpublic final void addResourceDescriptor(ResourceDescriptor descriptor)
WritableJndiNameEnvironmentaddResourceDescriptor in interface WritableJndiNameEnvironmentaddResourceDescriptor in class CommonResourceDescriptordescriptor - Descriptor to add.public final void removeResourceDescriptor(ResourceDescriptor descriptor)
WritableJndiNameEnvironmentremoveResourceDescriptor in interface WritableJndiNameEnvironmentremoveResourceDescriptor in class CommonResourceDescriptordescriptor - Descriptor to remove.public final Set<ResourceDescriptor> getAllResourcesDescriptors()
JndiNameEnvironmentgetAllResourcesDescriptors in interface JndiNameEnvironmentgetAllResourcesDescriptors in class CommonResourceDescriptorpublic final Set<ResourceDescriptor> getAllResourcesDescriptors(Class givenClazz)
JndiNameEnvironmentgetAllResourcesDescriptors in interface JndiNameEnvironmentgetAllResourcesDescriptors in class CommonResourceDescriptorpublic final Set<ResourceEnvReferenceDescriptor> getResourceEnvReferenceDescriptors()
getResourceEnvReferenceDescriptors in interface JndiNameEnvironmentgetResourceEnvReferenceDescriptors in interface ResourceEnvReferenceContainerpublic final void addResourceEnvReferenceDescriptor(ResourceEnvReferenceDescriptor resourceEnvReference)
WritableJndiNameEnvironmentaddResourceEnvReferenceDescriptor in interface ResourceEnvReferenceContaineraddResourceEnvReferenceDescriptor in interface WritableJndiNameEnvironmentresourceEnvReference - the ResourceEnvReferenceDescriptor to add.public final void removeResourceEnvReferenceDescriptor(ResourceEnvReferenceDescriptor resourceEnvReference)
WritableJndiNameEnvironmentremoveResourceEnvReferenceDescriptor in interface WritableJndiNameEnvironmentresourceEnvReference - the ResourceEnvReferenceDescriptor to remove.public final ResourceEnvReferenceDescriptor getResourceEnvReferenceByName(String name)
JndiNameEnvironmentgetResourceEnvReferenceByName in interface JndiNameEnvironmentgetResourceEnvReferenceByName in interface ResourceEnvReferenceContainerpublic final Set<ResourceReferenceDescriptor> getResourceReferenceDescriptors()
getResourceReferenceDescriptors in interface JndiNameEnvironmentgetResourceReferenceDescriptors in interface ResourceReferenceContainerpublic final void addResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
addResourceReferenceDescriptor in interface ResourceReferenceContaineraddResourceReferenceDescriptor in interface WritableJndiNameEnvironmentresourceReference - public final void removeResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
removeResourceReferenceDescriptor in interface WritableJndiNameEnvironmentresourceReference - the ResourceReferenceDescriptor to remove.public final EnvironmentProperty getEnvironmentPropertyByName(String name)
getEnvironmentPropertyByName in interface JndiNameEnvironmentname - public final Set<EnvironmentProperty> getEnvironmentProperties()
getEnvironmentProperties in interface JndiNameEnvironmentpublic final void addEnvironmentProperty(EnvironmentProperty environmentProperty)
addEnvironmentProperty in interface WritableJndiNameEnvironmentenvironmentProperty - the EnvironmentProperty to add.public final void removeEnvironmentProperty(EnvironmentProperty environmentProperty)
removeEnvironmentProperty in interface WritableJndiNameEnvironmentenvironmentProperty - the EnvironmentProperty to remove.public final Set<EntityManagerFactoryReferenceDescriptor> getEntityManagerFactoryReferenceDescriptors()
JndiNameEnvironmentgetEntityManagerFactoryReferenceDescriptors in interface JndiNameEnvironmentpublic final EntityManagerFactoryReferenceDescriptor getEntityManagerFactoryReferenceByName(String name)
getEntityManagerFactoryReferenceByName in interface JndiNameEnvironmentname - public final void addEntityManagerFactoryReferenceDescriptor(EntityManagerFactoryReferenceDescriptor reference)
addEntityManagerFactoryReferenceDescriptor in interface WritableJndiNameEnvironmentpublic final Set<EntityManagerReferenceDescriptor> getEntityManagerReferenceDescriptors()
JndiNameEnvironmentgetEntityManagerReferenceDescriptors in interface JndiNameEnvironmentpublic final EntityManagerReferenceDescriptor getEntityManagerReferenceByName(String name)
getEntityManagerReferenceByName in interface JndiNameEnvironmentname - public final void addEntityManagerReferenceDescriptor(EntityManagerReferenceDescriptor reference)
addEntityManagerReferenceDescriptor in interface WritableJndiNameEnvironmentpublic final List<InjectionCapable> getInjectableResourcesByClass(String className)
getInjectableResourcesByClass in interface JndiNameEnvironmentpublic final InjectionInfo getInjectionInfoByClass(Class clazz)
getInjectionInfoByClass in interface JndiNameEnvironmentpublic boolean hasPostConstructMethod()
public boolean hasPreDestroyMethod()
public Set<ResourceReferenceDescriptor> getResourceReferenceDescriptors(boolean resolved)
public ResourceReferenceDescriptor getResourceReferenceByName(String name)
getResourceReferenceByName in interface ResourceReferenceContainername - public boolean hasResolvedResourceReferences()
public EjbReference getEjbReference(String name)
getEjbReference in interface EjbReferenceContainername - public Set<RoleReference> getRoleReferences()
getRoleReferences in interface EjbDescriptorpublic void addRoleReference(RoleReference roleReference)
addRoleReference in interface EjbDescriptorroleReference - public void removeRoleReference(RoleReference roleReference)
roleReference - public RoleReference getRoleReferenceByName(String roleReferenceName)
getRoleReferenceByName in interface EjbDescriptorroleReferenceName - public EjbBundleDescriptorImpl getEjbBundleDescriptor()
getEjbBundleDescriptor in interface EjbDescriptorpublic void setEjbBundleDescriptor(EjbBundleDescriptorImpl bundleDescriptor)
public void notifyNewModule(WebBundleDescriptor wbd)
notifyNewModule in interface EjbDescriptorwbd - public Application getApplication()
getApplication in interface EjbDescriptorpublic Set<MethodDescriptor> getMethodDescriptors()
getMethodDescriptors in interface EjbDescriptorpublic Set getTxBusinessMethodDescriptors()
public Set getSecurityBusinessMethodDescriptors()
getSecurityBusinessMethodDescriptors in interface EjbDescriptorpublic Set getClientBusinessMethodDescriptors()
protected void addAllInterfaceMethodsIn(Collection<MethodDescriptor> methodDescriptors, Class<?> clazz, String methodInterface)
public MethodDescriptor getBusinessMethodDescriptorFor(Method m, String methodIntf)
m - methodIntf - public Collection getTransactionMethodDescriptors()
protected Collection getTransactionMethods(ClassLoader classLoader)
classLoader - public Set<Method> getOptionalLocalBusinessMethods()
public abstract String getContainerFactoryQualifier()
public Vector getMethods()
public Vector getMethods(ClassLoader classLoader)
classLoader - public Vector getFields()
public Vector getFieldDescriptors()
public void removeEjbReferencer(EjbReferenceDescriptor ref)
removeEjbReferencer in interface EjbDescriptorpublic void addEjbReferencer(EjbReferenceDescriptor ref)
addEjbReferencer in interface EjbDescriptorpublic Set getAllEjbReferencers()
public void setUniqueId(long id)
setUniqueId in interface EjbDescriptorpublic long getUniqueId()
getUniqueId in interface EjbDescriptorpublic void print(StringBuilder toStringBuilder)
print in class DescriptortoStringBuilder - public 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()
allMechanismsRequireSSL in interface EjbDescriptorCopyright © 2019. All rights reserved.