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, usesDefaultTransaction
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
SINGLETON, STATEFUL, STATELESS, TYPE
BEAN_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, visit
getResourceDescriptor
addDescriptorExtension, 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, setSmallIconUri
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addEjbReferencer, 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, setWebServiceEndpointInterfaceName
getJndiName, getName, setJndiName
addEjbReferenceDescriptor, addEntityManagerFactoryReferenceDescriptor, addEntityManagerReferenceDescriptor, addEnvironmentProperty, addMessageDestinationReferenceDescriptor, addPostConstructDescriptor, addPreDestroyDescriptor, addResourceDescriptor, addResourceEnvReferenceDescriptor, addResourceReferenceDescriptor, addServiceReferenceDescriptor, removeEjbReferenceDescriptor, removeEnvironmentProperty, removeMessageDestinationReferenceDescriptor, removeResourceDescriptor, removeResourceEnvReferenceDescriptor, removeResourceReferenceDescriptor, removeServiceReferenceDescriptor
getAllResourcesDescriptors, getAllResourcesDescriptors, getEjbReferenceDescriptors, getEntityManagerFactoryReferenceByName, getEntityManagerFactoryReferenceDescriptors, getEntityManagerReferenceByName, getEntityManagerReferenceDescriptors, getEnvironmentProperties, getEnvironmentPropertyByName, getInjectableResourcesByClass, getInjectionInfoByClass, getMessageDestinationReferenceByName, getMessageDestinationReferenceDescriptors, getPostConstructDescriptorByClass, getPostConstructDescriptors, getPreDestroyDescriptorByClass, getPreDestroyDescriptors, getResourceDescriptors, getResourceEnvReferenceByName, getResourceEnvReferenceDescriptors, getResourceReferenceDescriptors, getServiceReferenceByName, getServiceReferenceDescriptors
addEjbReferenceDescriptor, getEjbReference, getEjbReferenceDescriptors
addResourceEnvReferenceDescriptor, getResourceEnvReferenceByName, getResourceEnvReferenceDescriptors
addResourceReferenceDescriptor, getResourceReferenceByName, getResourceReferenceDescriptors
addServiceReferenceDescriptor, getServiceReferenceByName, getServiceReferenceDescriptors, removeServiceReferenceDescriptor
addMessageDestinationReferenceDescriptor, getMessageDestinationReferenceByName, getMessageDestinationReferenceDescriptors, removeMessageDestinationReferenceDescriptor
public String getEjbTypeForDisplay()
getEjbTypeForDisplay
in interface EjbDescriptor
getEjbTypeForDisplay
in class EjbDescriptor
public boolean isPassivationCapable()
isPassivationCapable
in interface EjbSessionDescriptor
public void setPassivationCapable(boolean passivationCapable)
public boolean isPassivationCapableSet()
public String getType()
getType
in interface EjbDescriptor
public String getSessionType()
getSessionType
in interface EjbSessionDescriptor
public void setSessionType(String sessionType)
public boolean isSessionTypeSet()
public boolean isClustered()
isClustered
in interface EjbSessionDescriptor
public void setClustered(boolean clustered)
public String getClusteredKeyValue()
getClusteredKeyValue
in interface EjbSessionDescriptor
public void setClusteredKeyValue(String clusteredKeyValue)
public DistributedLockType getClusteredLockType()
getClusteredLockType
in interface EjbSessionDescriptor
public 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 EjbDescriptor
public void setTransactionType(String transactionType)
setTransactionType
in class EjbDescriptor
public boolean isStateless()
isStateless
in interface EjbSessionDescriptor
public boolean isStateful()
isStateful
in interface EjbSessionDescriptor
public boolean isSingleton()
isSingleton
in interface EjbSessionDescriptor
public 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 EjbSessionDescriptor
public EjbRemovalInfo getRemovalInfo(MethodDescriptor method)
public Set<EjbRemovalInfo> getAllRemovalInfo()
public Set<MethodDescriptor> getRemoveMethodDescriptors()
getRemoveMethodDescriptors
in interface EjbSessionDescriptor
public 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()
EjbDescriptor
getPossibleTransactionAttributes
in class EjbDescriptor
public String getContainerFactoryQualifier()
getContainerFactoryQualifier
in class EjbDescriptor
public 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 EjbDescriptor
public String getPortableJndiName(String clientViewType)
getPortableJndiName
in interface EjbSessionDescriptor
Copyright © 2018. All rights reserved.