public class StatelessComponentDescription extends SessionBeanComponentDescription
SessionBeanComponentDescription.SessionBeanType
Constructor and Description |
---|
StatelessComponentDescription(String componentName,
String componentClassName,
EjbJarDescription ejbModuleDescription,
org.jboss.msc.service.ServiceName deploymentUnitServiceName,
org.jboss.metadata.ejb.spec.SessionBeanMetaData descriptorData)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowsConcurrentAccess()
Returns true if this session bean component type allows concurrent access to the component instances.
|
ComponentConfiguration |
createConfiguration(ClassIndex classIndex,
ClassLoader moduleClassLoder,
org.jboss.modules.ModuleLoader moduleLoader) |
String |
getPoolConfigName() |
protected ViewConfigurator |
getSessionBeanObjectViewConfigurator() |
SessionBeanComponentDescription.SessionBeanType |
getSessionBeanType()
Returns the type of the session bean
|
boolean |
isTimerServiceApplicable()
TODO: change this to a per method setting
|
void |
setPoolConfigName(String poolConfigName) |
protected void |
setupViewInterceptors(EJBViewDescription view) |
addAsynchronousClass, addAsynchronousMethod, addCurrentInvocationContextFactory, addCurrentInvocationContextFactory, addLocalBusinessInterfaceViews, addLocalBusinessInterfaceViews, addNoInterfaceView, addRemoteBusinessInterfaceViews, addTxManagementInterceptorForView, addWebserviceEndpointView, addWebserviceEndpointView, getAsynchronousClasses, getAsynchronousMethods, getBeanLevelAccessTimeout, getBeanLevelLockType, getClustering, getConcurrencyManagementType, getDescriptorData, getMappedName, getMethodApplicableAccessTimeouts, getMethodApplicableLockTypes, hasNoInterfaceView, isSession, isSingleton, isStateful, isStateless, setAccessTimeout, setBeanLevelAccessTimeout, setBeanLevelLockType, setClustering, setConcurrencyManagementType, setLockType, setMappedName
addDeclaredRoles, addEjbLocalObjectView, addEjbObjectView, addLocalHome, addRemoteHome, addRemoteTransactionsRepositoryDependency, addScheduleMethod, getAnnotationMethodPermissions, getDeclaredRoles, getDescriptorMethodPermissions, getEJBClassName, getEjbHomeView, getEjbLocalHomeView, getEjbLocalView, getEJBName, getEjbRemoteView, getRunAs, getRunAsPrincipal, getScheduleMethods, getSecurityDomain, getSecurityRoleLinks, getSecurityRoles, getTimeoutMethod, getTimerService, getTransactionAttributes, getTransactionManagementType, getTransactionTimeouts, isEntity, isExposedViaIiop, isMessageDriven, isSecurityEnabled, linkSecurityRoles, registerView, registerView, setDeclaredRoles, setExposedViaIiop, setRunAs, setRunAsPrincipal, setSecurityDomain, setSecurityRoles, setTimeoutMethod, setTimerService, setTransactionManagementType, setupClientViewInterceptors, setupSecurityInterceptors, toString
addClassInterceptor, addDependency, addInterceptorMethodOverride, addMethodInterceptor, addResourceInjection, excludeClassInterceptors, excludeDefaultInterceptors, getAllInterceptors, getApplicationName, getBeanDeploymentArchiveId, getBindingConfigurations, getClassInterceptor, getClassInterceptors, getComponentClassName, getComponentName, getConfigurators, getContextServiceName, getCreateServiceName, getDefaultInterceptors, getDependencies, getDeploymentDescriptorEnvironment, getMethodInterceptors, getModuleDescription, getModuleName, getNamingMode, getResourceInjections, getServiceName, getStartServiceName, getViews, isExcludeClassInterceptors, isExcludeDefaultInterceptors, isExcludeDefaultInterceptors, isIntercepted, isOptional, isPassivationApplicable, setBeanDeploymentArchiveId, setClassInterceptors, setContextServiceName, setDefaultInterceptors, setDeploymentDescriptorEnvironment, setExcludeDefaultInterceptors, setMethodInterceptors, setNamingMode
public StatelessComponentDescription(String componentName, String componentClassName, EjbJarDescription ejbModuleDescription, org.jboss.msc.service.ServiceName deploymentUnitServiceName, org.jboss.metadata.ejb.spec.SessionBeanMetaData descriptorData)
componentName
- the component namecomponentClassName
- the component instance class nameejbModuleDescription
- the module descriptionpublic ComponentConfiguration createConfiguration(ClassIndex classIndex, ClassLoader moduleClassLoder, org.jboss.modules.ModuleLoader moduleLoader)
createConfiguration
in class ComponentDescription
public boolean allowsConcurrentAccess()
SessionBeanComponentDescription
allowsConcurrentAccess
in class SessionBeanComponentDescription
public SessionBeanComponentDescription.SessionBeanType getSessionBeanType()
SessionBeanComponentDescription
getSessionBeanType
in class SessionBeanComponentDescription
protected void setupViewInterceptors(EJBViewDescription view)
setupViewInterceptors
in class SessionBeanComponentDescription
protected ViewConfigurator getSessionBeanObjectViewConfigurator()
getSessionBeanObjectViewConfigurator
in class SessionBeanComponentDescription
public boolean isTimerServiceApplicable()
ComponentDescription
isTimerServiceApplicable
in class ComponentDescription
public void setPoolConfigName(String poolConfigName)
public String getPoolConfigName()
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.