public class EjbSessionDescriptor extends EjbDescriptor implements 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_CHANGEDSINGLETON, STATEFUL, STATELESS, TYPEBEAN_TRANSACTION_TYPE, CONTAINER_TRANSACTION_TYPE| Constructor and Description |
|---|
EjbSessionDescriptor()
Default constructor.
|
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, getResourceReferenceDescriptorsaddServiceReferenceDescriptor, getServiceReferenceByName, getServiceReferenceDescriptors, removeServiceReferenceDescriptoraddMessageDestinationReferenceDescriptor, getMessageDestinationReferenceByName, getMessageDestinationReferenceDescriptors, removeMessageDestinationReferenceDescriptorpublic String getEjbTypeForDisplay()
getEjbTypeForDisplay in interface EjbDescriptorgetEjbTypeForDisplay in class EjbDescriptorpublic boolean isPassivationCapable()
isPassivationCapable in interface EjbSessionDescriptorpublic void setPassivationCapable(boolean passivationCapable)
public boolean isPassivationCapableSet()
public String getType()
getType in interface EjbDescriptorpublic String getSessionType()
getSessionType in interface EjbSessionDescriptorpublic void setSessionType(String sessionType)
public boolean isSessionTypeSet()
public boolean isClustered()
isClustered in interface EjbSessionDescriptorpublic void setClustered(boolean clustered)
public String getClusteredKeyValue()
getClusteredKeyValue in interface EjbSessionDescriptorpublic void setClusteredKeyValue(String clusteredKeyValue)
public DistributedLockType getClusteredLockType()
getClusteredLockType in interface EjbSessionDescriptorpublic void setClusteredLockType(DistributedLockType lockType)
public boolean dontCallPostConstructOnAttach()
public void setDontCallPostConstructOnAttach(boolean dontCallPostConstructOnAttach)
public void setDontCallPreDestroyOnDetach(boolean dontCallPreDestroyOnDetach)
public boolean dontCallPreDestroyOnDetach()
public void setType(String type)
setType in class EjbDescriptorpublic void setTransactionType(String transactionType)
setTransactionType in class EjbDescriptorpublic boolean isStateless()
isStateless in interface EjbSessionDescriptorpublic boolean isStateful()
isStateful in interface EjbSessionDescriptorpublic boolean isSingleton()
isSingleton in interface EjbSessionDescriptorpublic boolean hasAsynchronousMethods()
public void addAsynchronousMethod(MethodDescriptor m)
public List<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 EjbSessionDescriptorpublic EjbRemovalInfo getRemovalInfo(MethodDescriptor method)
public Set<EjbRemovalInfo> getAllRemovalInfo()
public Set<MethodDescriptor> getRemoveMethodDescriptors()
getRemoveMethodDescriptors in interface EjbSessionDescriptorpublic void addRemoveMethod(EjbRemovalInfo removalInfo)
public boolean hasInitMethods()
public Set<EjbInitInfo> getInitMethods()
public void addInitMethod(EjbInitInfo initInfo)
public Set<LifecycleCallbackDescriptor> getPostActivateDescriptors()
public void addPostActivateDescriptor(LifecycleCallbackDescriptor postActivateDesc)
public LifecycleCallbackDescriptor getPostActivateDescriptorByClass(String className)
public boolean hasPostActivateMethod()
public Set<LifecycleCallbackDescriptor> getPrePassivateDescriptors()
public void addPrePassivateDescriptor(LifecycleCallbackDescriptor prePassivateDesc)
public LifecycleCallbackDescriptor getPrePassivateDescriptorByClass(String className)
public boolean hasPrePassivateMethod()
public Vector getPossibleTransactionAttributes()
EjbDescriptorgetPossibleTransactionAttributes in class EjbDescriptorpublic String getContainerFactoryQualifier()
getContainerFactoryQualifier in class EjbDescriptorpublic void addAfterBeginDescriptor(MethodDescriptor m)
public void addBeforeCompletionDescriptor(MethodDescriptor m)
public void addAfterCompletionDescriptor(MethodDescriptor m)
public void setAfterBeginMethodIfNotSet(MethodDescriptor m)
public MethodDescriptor getAfterBeginMethod()
public void setBeforeCompletionMethodIfNotSet(MethodDescriptor m)
public MethodDescriptor getBeforeCompletionMethod()
public void setAfterCompletionMethodIfNotSet(MethodDescriptor m)
public 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(MethodDescriptor methodDescriptor)
public void addWriteLockMethod(MethodDescriptor methodDescriptor)
public List<MethodDescriptor> getReadLockMethods()
public List<MethodDescriptor> getWriteLockMethods()
public List<MethodDescriptor> getReadAndWriteLockMethods()
public void addAccessTimeoutMethod(MethodDescriptor methodDescriptor, long value, TimeUnit unit)
public List<MethodDescriptor> getAccessTimeoutMethods()
public List<EjbSessionDescriptor.AccessTimeoutHolder> getAccessTimeoutInfo()
public void print(StringBuffer toStringBuffer)
print in class EjbDescriptorpublic String getPortableJndiName(String clientViewType)
getPortableJndiName in interface EjbSessionDescriptorCopyright © 2017. All rights reserved.