Class SessionBeanComponent
java.lang.Object
org.jboss.as.ee.component.BasicComponent
org.jboss.as.ejb3.component.EJBComponent
org.jboss.as.ejb3.component.session.SessionBeanComponent
- All Implemented Interfaces:
Component,org.jboss.as.server.suspend.ServerActivityCallback
- Direct Known Subclasses:
SingletonComponent,StatefulSessionComponent,StatelessSessionComponent
- Author:
- Carlo de Wolf
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSessionBeanComponent(SessionBeanComponentCreateService ejbComponentCreateService) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturn theExecutorused for asynchronous invocations.<T> TgetBusinessObject(Class<T> businessInterface, org.jboss.invocation.InterceptorContext context) jakarta.ejb.EJBLocalObjectgetEJBLocalObject(org.jboss.invocation.InterceptorContext ctx) jakarta.ejb.EJBObjectgetEJBObject(org.jboss.invocation.InterceptorContext ctx) booleanvoidMethods inherited from class org.jboss.as.ejb3.component.EJBComponent
createViewInstanceProxy, createViewInstanceProxy, done, getAllowedMethodsInformation, getApplicationException, getApplicationName, getCallerPrincipal, getComponentDescription, getControlPoint, getCurrentTransactionAttribute, getDistinctName, getEarApplicationName, getEJBHome, getEJBLocalHome, getEjbLocalObjectType, getEjbLocalObjectViewServiceName, getEjbObjectType, getEjbObjectViewServiceName, getEjbSuspendHandlerService, getIdentityOutflowFunction, getIncomingRunAsIdentity, getInvocationMetrics, getModuleName, getSecurityDomain, getSecurityMetaData, getShutDownInterceptorFactory, getTimeoutInterceptors, getTimeoutMethod, getTimerService, getTransactionAttributeType, getTransactionAttributeType, getTransactionAttributeType, getTransactionManager, getTransactionSynchronizationRegistry, getTransactionTimeout, getTransactionTimeout, getUserTransaction, init, isBeanManagedTransaction, isCallerInRole, isExceptionLoggingEnabled, isSecurityDomainKnown, isStatisticsEnabled, isTransactionAttributeTypeExplicit, lookup, setIncomingRunAsIdentity, stopMethods inherited from class org.jboss.as.ee.component.BasicComponent
componentInstanceCreated, constructComponentInstance, constructComponentInstance, createInstance, createInstance, createInterceptors, getComponentClass, getComponentName, getCreateServiceName, getInstance, getNamespaceContextSelector, instantiateComponentInstance, serviceNameOf, start, toString, waitForComponentStartMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jboss.as.ee.component.Component
isRemotable
-
Field Details
-
beanLevelAccessTimeout
-
-
Constructor Details
-
SessionBeanComponent
Construct a new instance.- Parameters:
ejbComponentCreateService- the component configuration
-
-
Method Details
-
getBusinessObject
public <T> T getBusinessObject(Class<T> businessInterface, org.jboss.invocation.InterceptorContext context) throws IllegalStateException - Throws:
IllegalStateException
-
getEJBLocalObject
public jakarta.ejb.EJBLocalObject getEJBLocalObject(org.jboss.invocation.InterceptorContext ctx) throws IllegalStateException - Throws:
IllegalStateException
-
getEJBObject
public jakarta.ejb.EJBObject getEJBObject(org.jboss.invocation.InterceptorContext ctx) throws IllegalStateException - Throws:
IllegalStateException
-
getAsynchronousExecutor
Return theExecutorused for asynchronous invocations.- Returns:
- the async executor
-
getRollbackOnly
- Overrides:
getRollbackOnlyin classEJBComponent- Throws:
IllegalStateException
-
setRollbackOnly
- Overrides:
setRollbackOnlyin classEJBComponent- Throws:
IllegalStateException
-