public class StatelessSessionComponent extends SessionBeanComponent implements PooledComponent<StatelessSessionComponentInstance>
Component
responsible for managing EJB3 stateless session beans
Author : Jaikiran PaibeanLevelAccessTimeout
Constructor and Description |
---|
StatelessSessionComponent(StatelessSessionComponentCreateService slsbComponentCreateService)
Constructs a StatelessEJBComponent for a stateless session bean
|
Modifier and Type | Method and Description |
---|---|
AllowedMethodsInformation |
getAllowedMethodsInformation() |
Pool<StatelessSessionComponentInstance> |
getPool() |
String |
getPoolName() |
Method |
getTimeoutMethod() |
protected BasicComponentInstance |
instantiateComponentInstance(AtomicReference<ManagedReference> instanceReference,
org.jboss.invocation.Interceptor preDestroyInterceptor,
Map<Method,org.jboss.invocation.Interceptor> methodInterceptors,
org.jboss.invocation.InterceptorFactoryContext interceptorContext)
Responsible for instantiating the
BasicComponentInstance . |
void |
start()
Start operation called when the Component is available.
|
void |
stop(org.jboss.msc.service.StopContext stopContext)
Stop operation called when the Component is no longer available.
|
getAsynchronousExecutor, getBusinessObject, getEJBLocalObject, getEJBObject, getRollbackOnly, setRollbackOnly
createViewInstanceProxy, createViewInstanceProxy, getApplicationException, getApplicationName, getCallerPrincipal, getCurrentTransactionAttribute, getDistinctName, getEarApplicationName, getEJBHome, getEjbHomeViewServiceName, getEJBLocalHome, getEjbLocalHomeViewServiceName, getEjbLocalObjectType, getEjbLocalObjectViewServiceName, getEjbObjectType, getEjbObjectViewServiceName, getEjbRemoteTransactionsRepository, getModuleName, getSecurityManager, getSecurityMetaData, getTimeoutInterceptors, getTimerService, getTransactionAttributeType, getTransactionManager, getTransactionSynchronizationRegistry, getTransactionTimeout, getUserTransaction, isCallerInRole, lookup
componentInstanceCreated, constructComponentInstance, createInstance, createInstance, getComponentClass, getComponentName, getCreateServiceName, getNamespaceContextSelector, toString, waitForComponentStart
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createInstance, getComponentClass, getNamespaceContextSelector
public StatelessSessionComponent(StatelessSessionComponentCreateService slsbComponentCreateService)
slsbComponentCreateService
- protected BasicComponentInstance instantiateComponentInstance(AtomicReference<ManagedReference> instanceReference, org.jboss.invocation.Interceptor preDestroyInterceptor, Map<Method,org.jboss.invocation.Interceptor> methodInterceptors, org.jboss.invocation.InterceptorFactoryContext interceptorContext)
BasicComponent
BasicComponentInstance
. This method is *not* responsible for
handling the post construct activities like injection and lifecycle invocation. That is handled by
BasicComponent.constructComponentInstance(ManagedReference, boolean, InterceptorFactoryContext)
.
instantiateComponentInstance
in class BasicComponent
public Pool<StatelessSessionComponentInstance> getPool()
getPool
in interface PooledComponent<StatelessSessionComponentInstance>
public String getPoolName()
getPoolName
in interface PooledComponent<StatelessSessionComponentInstance>
public Method getTimeoutMethod()
getTimeoutMethod
in class EJBComponent
public void start()
BasicComponent
start
in interface Component
start
in class BasicComponent
public void stop(org.jboss.msc.service.StopContext stopContext)
BasicComponent
stop
in interface Component
stop
in class BasicComponent
stopContext
- the stop context for the component servicepublic AllowedMethodsInformation getAllowedMethodsInformation()
getAllowedMethodsInformation
in class EJBComponent
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.