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, setRollbackOnlycreateViewInstanceProxy, 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, lookupcomponentInstanceCreated, constructComponentInstance, createInstance, createInstance, getComponentClass, getComponentName, getCreateServiceName, getNamespaceContextSelector, toString, waitForComponentStartclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateInstance, getComponentClass, getNamespaceContextSelectorpublic 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)
BasicComponentBasicComponentInstance. 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 BasicComponentpublic Pool<StatelessSessionComponentInstance> getPool()
getPool in interface PooledComponent<StatelessSessionComponentInstance>public String getPoolName()
getPoolName in interface PooledComponent<StatelessSessionComponentInstance>public Method getTimeoutMethod()
getTimeoutMethod in class EJBComponentpublic void start()
BasicComponentstart in interface Componentstart in class BasicComponentpublic void stop(org.jboss.msc.service.StopContext stopContext)
BasicComponentstop in interface Componentstop in class BasicComponentstopContext - the stop context for the component servicepublic AllowedMethodsInformation getAllowedMethodsInformation()
getAllowedMethodsInformation in class EJBComponentCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.