public class EjbSessionDescriptor extends EjbDescriptor implements com.sun.enterprise.deployment.EjbSessionDescriptor
| Modifier and Type | Class and Description |
|---|---|
static class |
EjbSessionDescriptor.AccessTimeoutHolder |
static class |
EjbSessionDescriptor.ConcurrencyManagementType |
DISTRIBUTED_TRANSACTION_SCOPE, isDistributedTxScope, LOCAL_TRANSACTION_SCOPE, runAsIdentity, securityIdentityDescription, transactionType, usesCallerIdentity, usesDefaultTransactionDESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED| Constructor and Description |
|---|
EjbSessionDescriptor()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAccessTimeoutMethod(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor,
long value,
TimeUnit unit) |
void |
addAfterBeginDescriptor(com.sun.enterprise.deployment.MethodDescriptor m) |
void |
addAfterCompletionDescriptor(com.sun.enterprise.deployment.MethodDescriptor m) |
void |
addAsynchronousMethod(com.sun.enterprise.deployment.MethodDescriptor m) |
void |
addBeforeCompletionDescriptor(com.sun.enterprise.deployment.MethodDescriptor m) |
void |
addConcurrentMethodFromXml(ConcurrentMethodDescriptor concMethod) |
void |
addInitMethod(EjbInitInfo initInfo) |
void |
addPostActivateDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor postActivateDesc) |
void |
addPrePassivateDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor prePassivateDesc) |
void |
addReadLockMethod(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor) |
void |
addRemoveMethod(EjbRemovalInfo removalInfo) |
void |
addStatefulTimeoutDescriptor(TimeoutValueDescriptor timeout) |
void |
addWriteLockMethod(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor) |
List<EjbSessionDescriptor.AccessTimeoutHolder> |
getAccessTimeoutInfo() |
List<com.sun.enterprise.deployment.MethodDescriptor> |
getAccessTimeoutMethods() |
com.sun.enterprise.deployment.MethodDescriptor |
getAfterBeginMethod()
Returns the Method annotated @AfterBegin.
|
com.sun.enterprise.deployment.MethodDescriptor |
getAfterCompletionMethod()
Returns the Method annotated @AfterCompletion.
|
Set<EjbRemovalInfo> |
getAllRemovalInfo() |
List<com.sun.enterprise.deployment.MethodDescriptor> |
getAsynchronousMethods() |
com.sun.enterprise.deployment.MethodDescriptor |
getBeforeCompletionMethod()
Returns the Method annotated @AfterBegin.
|
EjbSessionDescriptor.ConcurrencyManagementType |
getConcurrencyManagementType() |
String |
getContainerFactoryQualifier() |
String[] |
getDependsOn() |
String |
getEjbTypeForDisplay() |
Set<EjbInitInfo> |
getInitMethods() |
boolean |
getInitOnStartup() |
String |
getPortableJndiName(String clientViewType)
Return the fully-qualified portable JNDI name for a given
client view (Remote, Local, or no-interface).
|
Vector |
getPossibleTransactionAttributes()
Returns the set of transaction attributes that can be assigned
to methods of this ejb when in CMT mode.
|
com.sun.enterprise.deployment.LifecycleCallbackDescriptor |
getPostActivateDescriptorByClass(String className) |
Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor> |
getPostActivateDescriptors() |
com.sun.enterprise.deployment.LifecycleCallbackDescriptor |
getPrePassivateDescriptorByClass(String className) |
Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor> |
getPrePassivateDescriptors() |
List<com.sun.enterprise.deployment.MethodDescriptor> |
getReadAndWriteLockMethods() |
List<com.sun.enterprise.deployment.MethodDescriptor> |
getReadLockMethods() |
EjbRemovalInfo |
getRemovalInfo(com.sun.enterprise.deployment.MethodDescriptor method) |
Set<com.sun.enterprise.deployment.MethodDescriptor> |
getRemoveMethodDescriptors() |
String |
getSessionType()
Returns the string STATELESS or STATEFUL according as to whether
the bean is stateless or stateful.
|
TimeUnit |
getStatefulTimeoutUnit() |
Long |
getStatefulTimeoutValue() |
String |
getType()
Returns the type of this bean - always "Session".
|
List<com.sun.enterprise.deployment.MethodDescriptor> |
getWriteLockMethods() |
boolean |
hasAsynchronousMethods() |
boolean |
hasBeanManagedConcurrency() |
boolean |
hasContainerManagedConcurrency() |
boolean |
hasDependsOn() |
boolean |
hasInitMethods() |
boolean |
hasPostActivateMethod() |
boolean |
hasPrePassivateMethod() |
boolean |
hasRemoveMethods() |
boolean |
hasStatefulTimeout() |
boolean |
isAsynchronousMethod(Method m) |
boolean |
isPassivationCapable() |
boolean |
isPassivationCapableSet() |
boolean |
isSessionTypeSet()
Useful for certain annotation / .xml processing.
|
boolean |
isSingleton() |
boolean |
isStateful() |
boolean |
isStateless()
Returns true if I am describing a stateless session bean.
|
void |
print(StringBuffer toStringBuffer)
Returns a formatted String of the attributes of this object.
|
void |
setAfterBeginMethodIfNotSet(com.sun.enterprise.deployment.MethodDescriptor m)
Set the Method annotated @AfterBegin.
|
void |
setAfterCompletionMethodIfNotSet(com.sun.enterprise.deployment.MethodDescriptor m)
Set the Method annotated @AfterCompletion.
|
void |
setBeforeCompletionMethodIfNotSet(com.sun.enterprise.deployment.MethodDescriptor m)
Set the Method annotated @BeforeCompletion.
|
void |
setConcurrencyManagementType(EjbSessionDescriptor.ConcurrencyManagementType type) |
void |
setConcurrencyManagementTypeIfNotSet(EjbSessionDescriptor.ConcurrencyManagementType type) |
void |
setDependsOn(String[] dep) |
void |
setDependsOnIfNotSet(String[] dep) |
void |
setInitOnStartup(boolean flag) |
void |
setInitOnStartupIfNotAlreadySet(boolean flag) |
void |
setPassivationCapable(boolean passivationCapable) |
void |
setSessionType(String sessionType)
Accepts the Strings STATELESS / STATEFUL / SINGLETON
|
void |
setStatefulTimeout(Long value,
TimeUnit unit) |
void |
setTransactionType(String transactionType)
Sets the transaction type for this bean.
|
void |
setType(String type)
Sets my type
|
addAllInterfaceMethodsIn, addAroundInvokeDescriptor, addAroundTimeoutDescriptor, addEjbDescriptor, addEjbReferenceDescriptor, addEjbReferencer, addEntityManagerFactoryReferenceDescriptor, addEntityManagerReferenceDescriptor, addEnvironmentProperty, addFrameworkInterceptor, addInterceptorClass, addIORConfigurationDescriptor, addLocalBusinessClassName, addMessageDestinationReferenceDescriptor, addMethodLevelChain, addNoInterfaceLocalBeanClass, addPermissionedMethod, addPostConstructDescriptor, addPreDestroyDescriptor, addRemoteBusinessClassName, addResourceDescriptor, addResourceEnvReferenceDescriptor, addResourceReferenceDescriptor, addRoleReference, addScheduledTimerDescriptor, addScheduledTimerDescriptorFromDD, addServiceReferenceDescriptor, allMechanismsRequireSSL, appendToInterceptorChain, applyDefaultClassToLifecycleMethods, applyInterceptors, getAllEjbReferencers, getAllResourcesDescriptors, getAllResourcesDescriptors, getApplication, getAroundInvokeDescriptorByClass, getAroundInvokeDescriptors, getAroundInvokeInterceptors, getAroundTimeoutDescriptorByClass, getAroundTimeoutDescriptors, getAroundTimeoutInterceptors, getBusinessMethodDescriptorFor, getCallbackInterceptors, getClientBusinessMethodDescriptors, getContainerTransaction, getContainerTransactionFor, getEjbBundleDescriptor, getEjbClassName, getEjbImplClassName, getEJBLocalObjectImplClassName, getEJBObjectImplClassName, getEjbReference, getEjbReferenceDescriptors, getEjbTimeoutMethod, getEntityManagerFactoryReferenceByName, getEntityManagerFactoryReferenceDescriptors, getEntityManagerReferenceByName, getEntityManagerReferenceDescriptors, getEnvironmentProperties, getEnvironmentPropertyByName, getExcludedMethodDescriptors, getFieldDescriptors, getFields, getFrameworkInterceptors, getHomeClassName, getIASEjbExtraDescriptors, getInjectableResourcesByClass, getInjectionInfoByClass, getInterceptorChain, getInterceptorClasses, getInterceptorClassNames, getIORConfigurationDescriptors, getJndiName, getLifecycleCallbackDescriptors, getLocalBusinessClassNames, getLocalClassName, getLocalHomeClassName, getLocalHomeImplClassName, getMappedName, getMessageDestinationReferenceByName, getMessageDestinationReferenceDescriptors, getMethodContainerTransactions, getMethodDescriptors, getMethodInterceptorsMap, getMethodPermissionsFor, getMethodPermissionsFromDD, getMethods, getMethods, getNoInterfaceLocalBeanClasses, getOptionalLocalBusinessMethods, getPermissionedMethodsByPermission, getPermissionedRoles, getPostConstructDescriptorByClass, getPostConstructDescriptors, getPreDestroyDescriptorByClass, getPreDestroyDescriptors, getRemoteBusinessClassNames, getRemoteClassName, getRemoteHomeImplClassName, getResourceDescriptors, getResourceEnvReferenceByName, getResourceEnvReferenceDescriptors, getResourceReferenceByName, getResourceReferenceDescriptors, getResourceReferenceDescriptors, getRoleReferenceByName, getRoleReferences, getRunAsIdentity, getScheduledTimerDescriptors, getSecurityBusinessMethodDescriptors, getSecurityIdentityDescription, getServiceReferenceByName, getServiceReferenceDescriptors, getStyledPermissionedMethodsByPermission, getTransactionMethodDescriptors, getTransactionMethods, getTransactionType, getTxBusinessMethodDescriptors, getUncheckedMethodDescriptors, getUniqueId, getUsesCallerIdentity, getWebServiceEndpointInterfaceName, hasAroundInvokeMethod, hasAroundTimeoutMethod, hasInterceptorClass, hasPostConstructMethod, hasPreDestroyMethod, hasResolvedResourceReferences, hasScheduledTimerMethodFromDD, hasWebServiceEndpointInterface, isDistributedTransactionScope, isLocalBean, isLocalBusinessInterfacesSupported, isLocalInterfacesSupported, isRemoteBusinessInterfacesSupported, isRemoteInterfacesSupported, isTimedObject, isUsesDefaultTransaction, notifyNewModule, removeEjbReferenceDescriptor, removeEjbReferencer, removeEnvironmentProperty, removeMessageDestinationReferenceDescriptor, removePermissionedMethod, removeResourceDescriptor, removeResourceEnvReferenceDescriptor, removeResourceReferenceDescriptor, removeRoleReference, removeServiceReferenceDescriptor, setContainerTransactionFor, setDistributedTransactionScope, setEjbBundleDescriptor, setEjbClassName, setEJBLocalObjectImplClassName, setEJBObjectImplClassName, setEjbTimeoutMethod, setHomeClassName, setJndiName, setLocalBean, setLocalClassName, setLocalHomeClassName, setLocalHomeImplClassName, setMappedName, setMethodContainerTransactions, setRemoteClassName, setRemoteHomeImplClassName, setRunAsIdentity, setSecurityIdentityDescription, setUniqueId, setUsesCallerIdentity, setUsesDefaultTransaction, setWebServiceEndpointInterfaceName, visit, visitgetResourceDescriptoraddDescriptorExtension, 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, waitaddEjbReferencer, addFrameworkInterceptor, addInterceptorClass, addMethodLevelChain, addPermissionedMethod, addRoleReference, allMechanismsRequireSSL, appendToInterceptorChain, getApplication, getEjbBundleDescriptor, getEjbClassName, getEjbImplClassName, getHomeClassName, getIORConfigurationDescriptors, getLocalBusinessClassNames, getLocalClassName, getLocalHomeClassName, getMethodDescriptors, getMethodPermissionsFor, getMethodPermissionsFromDD, getPermissionedRoles, getRemoteBusinessClassNames, getRemoteClassName, getRoleReferenceByName, getRunAsIdentity, getSecurityBusinessMethodDescriptors, getTransactionType, getUniqueId, getUsesCallerIdentity, getWebServiceEndpointInterfaceName, hasInterceptorClass, hasWebServiceEndpointInterface, isLocalBean, isLocalBusinessInterfacesSupported, isLocalInterfacesSupported, isRemoteBusinessInterfacesSupported, isRemoteInterfacesSupported, notifyNewModule, removeEjbReferencer, setRunAsIdentity, setUniqueId, setUsesCallerIdentity, setWebServiceEndpointInterfaceNamegetJndiName, getName, setJndiNameaddEjbReferenceDescriptor, addEntityManagerFactoryReferenceDescriptor, addEntityManagerReferenceDescriptor, addEnvironmentProperty, addMessageDestinationReferenceDescriptor, addPostConstructDescriptor, addPreDestroyDescriptor, addResourceDescriptor, addResourceEnvReferenceDescriptor, addResourceReferenceDescriptor, addServiceReferenceDescriptor, removeEjbReferenceDescriptor, removeEnvironmentProperty, removeMessageDestinationReferenceDescriptor, removeResourceDescriptor, removeResourceEnvReferenceDescriptor, removeResourceReferenceDescriptor, removeServiceReferenceDescriptorgetAllResourcesDescriptors, getAllResourcesDescriptors, getEjbReferenceDescriptors, getEntityManagerFactoryReferenceByName, getEntityManagerFactoryReferenceDescriptors, getEntityManagerReferenceByName, getEntityManagerReferenceDescriptors, getEnvironmentProperties, getEnvironmentPropertyByName, getInjectableResourcesByClass, getInjectionInfoByClass, getMessageDestinationReferenceByName, getMessageDestinationReferenceDescriptors, getPostConstructDescriptorByClass, getPostConstructDescriptors, getPreDestroyDescriptorByClass, getPreDestroyDescriptors, getResourceDescriptors, getResourceEnvReferenceByName, getResourceEnvReferenceDescriptors, getResourceReferenceDescriptors, getServiceReferenceByName, getServiceReferenceDescriptorsaddEjbReferenceDescriptor, getEjbReference, getEjbReferenceDescriptorsaddResourceEnvReferenceDescriptor, getResourceEnvReferenceByName, getResourceEnvReferenceDescriptorsaddResourceReferenceDescriptor, getResourceReferenceByName, getResourceReferenceDescriptorspublic String getEjbTypeForDisplay()
getEjbTypeForDisplay in interface com.sun.enterprise.deployment.EjbDescriptorgetEjbTypeForDisplay in class EjbDescriptorpublic boolean isPassivationCapable()
isPassivationCapable in interface com.sun.enterprise.deployment.EjbSessionDescriptorpublic void setPassivationCapable(boolean passivationCapable)
public boolean isPassivationCapableSet()
public String getType()
getType in interface com.sun.enterprise.deployment.EjbDescriptorpublic String getSessionType()
getSessionType in interface com.sun.enterprise.deployment.EjbSessionDescriptorpublic void setSessionType(String sessionType)
public boolean isSessionTypeSet()
public void setType(String type)
setType in class EjbDescriptorpublic void setTransactionType(String transactionType)
setTransactionType in class EjbDescriptorpublic boolean isStateless()
isStateless in interface com.sun.enterprise.deployment.EjbSessionDescriptorpublic boolean isStateful()
isStateful in interface com.sun.enterprise.deployment.EjbSessionDescriptorpublic boolean isSingleton()
isSingleton in interface com.sun.enterprise.deployment.EjbSessionDescriptorpublic boolean hasAsynchronousMethods()
public void addAsynchronousMethod(com.sun.enterprise.deployment.MethodDescriptor m)
public List<com.sun.enterprise.deployment.MethodDescriptor> getAsynchronousMethods()
public boolean isAsynchronousMethod(Method m)
public void addStatefulTimeoutDescriptor(TimeoutValueDescriptor timeout)
public boolean hasStatefulTimeout()
public Long getStatefulTimeoutValue()
public TimeUnit getStatefulTimeoutUnit()
public boolean hasRemoveMethods()
hasRemoveMethods in interface com.sun.enterprise.deployment.EjbSessionDescriptorpublic EjbRemovalInfo getRemovalInfo(com.sun.enterprise.deployment.MethodDescriptor method)
public Set<EjbRemovalInfo> getAllRemovalInfo()
public Set<com.sun.enterprise.deployment.MethodDescriptor> getRemoveMethodDescriptors()
getRemoveMethodDescriptors in interface com.sun.enterprise.deployment.EjbSessionDescriptorpublic void addRemoveMethod(EjbRemovalInfo removalInfo)
public boolean hasInitMethods()
public Set<EjbInitInfo> getInitMethods()
public void addInitMethod(EjbInitInfo initInfo)
public Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor> getPostActivateDescriptors()
public void addPostActivateDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor postActivateDesc)
public com.sun.enterprise.deployment.LifecycleCallbackDescriptor getPostActivateDescriptorByClass(String className)
public boolean hasPostActivateMethod()
public Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor> getPrePassivateDescriptors()
public void addPrePassivateDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor prePassivateDesc)
public com.sun.enterprise.deployment.LifecycleCallbackDescriptor getPrePassivateDescriptorByClass(String className)
public boolean hasPrePassivateMethod()
public Vector getPossibleTransactionAttributes()
EjbDescriptorgetPossibleTransactionAttributes in class EjbDescriptorpublic String getContainerFactoryQualifier()
getContainerFactoryQualifier in class EjbDescriptorpublic void addAfterBeginDescriptor(com.sun.enterprise.deployment.MethodDescriptor m)
public void addBeforeCompletionDescriptor(com.sun.enterprise.deployment.MethodDescriptor m)
public void addAfterCompletionDescriptor(com.sun.enterprise.deployment.MethodDescriptor m)
public void setAfterBeginMethodIfNotSet(com.sun.enterprise.deployment.MethodDescriptor m)
public com.sun.enterprise.deployment.MethodDescriptor getAfterBeginMethod()
public void setBeforeCompletionMethodIfNotSet(com.sun.enterprise.deployment.MethodDescriptor m)
public com.sun.enterprise.deployment.MethodDescriptor getBeforeCompletionMethod()
public void setAfterCompletionMethodIfNotSet(com.sun.enterprise.deployment.MethodDescriptor m)
public com.sun.enterprise.deployment.MethodDescriptor getAfterCompletionMethod()
public boolean getInitOnStartup()
public void setInitOnStartup(boolean flag)
public void setInitOnStartupIfNotAlreadySet(boolean flag)
public String[] getDependsOn()
public boolean hasDependsOn()
public void setDependsOn(String[] dep)
public void setDependsOnIfNotSet(String[] dep)
public EjbSessionDescriptor.ConcurrencyManagementType getConcurrencyManagementType()
public boolean hasContainerManagedConcurrency()
public boolean hasBeanManagedConcurrency()
public void setConcurrencyManagementType(EjbSessionDescriptor.ConcurrencyManagementType type)
public void setConcurrencyManagementTypeIfNotSet(EjbSessionDescriptor.ConcurrencyManagementType type)
public void addConcurrentMethodFromXml(ConcurrentMethodDescriptor concMethod)
public void addReadLockMethod(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor)
public void addWriteLockMethod(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor)
public List<com.sun.enterprise.deployment.MethodDescriptor> getReadLockMethods()
public List<com.sun.enterprise.deployment.MethodDescriptor> getWriteLockMethods()
public List<com.sun.enterprise.deployment.MethodDescriptor> getReadAndWriteLockMethods()
public void addAccessTimeoutMethod(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor,
long value,
TimeUnit unit)
public List<com.sun.enterprise.deployment.MethodDescriptor> getAccessTimeoutMethods()
public List<EjbSessionDescriptor.AccessTimeoutHolder> getAccessTimeoutInfo()
public void print(StringBuffer toStringBuffer)
print in class EjbDescriptorCopyright © 2017–2019 Eclipse Foundation. All rights reserved.