Class SingletonComponent
java.lang.Object
org.jboss.as.ee.component.BasicComponent
org.jboss.as.ejb3.component.EJBComponent
org.jboss.as.ejb3.component.session.SessionBeanComponent
org.jboss.as.ejb3.component.singleton.SingletonComponent
- All Implemented Interfaces:
Component,org.jboss.as.server.suspend.ServerActivityCallback
Component representing a Singleton Jakarta Enterprise Beans.- Author:
- Jaikiran Pai
-
Field Summary
Fields inherited from class org.jboss.as.ejb3.component.session.SessionBeanComponent
beanLevelAccessTimeout -
Constructor Summary
ConstructorsConstructorDescriptionSingletonComponent(SingletonComponentCreateService singletonComponentCreateService, List<org.jboss.msc.service.ServiceName> dependsOn) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoiddone()getAccessTimeout(Method method) getLock()jakarta.ejb.LockTypegetLockType(Method method) protected BasicComponentInstanceinstantiateComponentInstance(org.jboss.invocation.Interceptor preDestroyInterceptor, Map<Method, org.jboss.invocation.Interceptor> methodInterceptors, Map<Object, Object> context) voidstart()Methods inherited from class org.jboss.as.ejb3.component.session.SessionBeanComponent
getAsynchronousExecutor, getBusinessObject, getEJBLocalObject, getEJBObject, getRollbackOnly, setRollbackOnlyMethods inherited from class org.jboss.as.ejb3.component.EJBComponent
createViewInstanceProxy, createViewInstanceProxy, 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, serviceNameOf, 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
-
Constructor Details
-
SingletonComponent
public SingletonComponent(SingletonComponentCreateService singletonComponentCreateService, List<org.jboss.msc.service.ServiceName> dependsOn) Construct a new instance.- Parameters:
singletonComponentCreateService- the component configurationdependsOn-
-
-
Method Details
-
instantiateComponentInstance
protected BasicComponentInstance instantiateComponentInstance(org.jboss.invocation.Interceptor preDestroyInterceptor, Map<Method, org.jboss.invocation.Interceptor> methodInterceptors, Map<Object, Object> context) - Overrides:
instantiateComponentInstancein classBasicComponent
-
getComponentInstance
- Returns:
- the
SingletonComponentInstance, lazily creating it if necessary.
-
start
public void start()- Specified by:
startin interfaceComponent- Overrides:
startin classBasicComponent
-
done
public void done()- Specified by:
donein interfaceorg.jboss.as.server.suspend.ServerActivityCallback- Overrides:
donein classEJBComponent
-
getLockType
-
getAccessTimeout
-
getDefaultAccessTimeout
-
getLock
-
getAllowedMethodsInformation
- Overrides:
getAllowedMethodsInformationin classEJBComponent
-