Class MessageDrivenComponent
java.lang.Object
org.jboss.as.ee.component.BasicComponent
org.jboss.as.ejb3.component.EJBComponent
org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent
- All Implemented Interfaces:
Component,PooledComponent<MessageDrivenComponentInstance>,org.jboss.as.server.suspend.ServerActivityCallback
public class MessageDrivenComponent
extends EJBComponent
implements PooledComponent<MessageDrivenComponentInstance>
- Author:
- Carlo de Wolf
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMessageDrivenComponent(MessageDrivenComponentCreateService ejbComponentCreateService, Class<?> messageListenerInterface, jakarta.resource.spi.ActivationSpec activationSpec, boolean deliveryActive, org.jboss.msc.service.ServiceName deliveryControllerName, String activeResourceAdapterName) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoiddone()org.jboss.msc.service.ServiceNamegetPool()voidinit()protected BasicComponentInstanceinstantiateComponentInstance(org.jboss.invocation.Interceptor preDestroyInterceptor, Map<Method, org.jboss.invocation.Interceptor> methodInterceptors, Map<Object, Object> context) booleanbooleanvoidstart()voidvoidMethods 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, getRollbackOnly, getSecurityDomain, getSecurityMetaData, getShutDownInterceptorFactory, getTimeoutInterceptors, getTimeoutMethod, getTimerService, getTransactionAttributeType, getTransactionAttributeType, getTransactionAttributeType, getTransactionManager, getTransactionSynchronizationRegistry, getTransactionTimeout, getTransactionTimeout, getUserTransaction, isBeanManagedTransaction, isCallerInRole, isExceptionLoggingEnabled, isSecurityDomainKnown, isStatisticsEnabled, isTransactionAttributeTypeExplicit, lookup, setIncomingRunAsIdentity, setRollbackOnly, 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
createInstance, createInstance, getComponentClass, getInstance, getNamespaceContextSelector, isRemotable, stop, waitForComponentStart
-
Constructor Details
-
MessageDrivenComponent
protected MessageDrivenComponent(MessageDrivenComponentCreateService ejbComponentCreateService, Class<?> messageListenerInterface, jakarta.resource.spi.ActivationSpec activationSpec, boolean deliveryActive, org.jboss.msc.service.ServiceName deliveryControllerName, String activeResourceAdapterName) Construct a new instance.- Parameters:
ejbComponentCreateService- the component configurationdeliveryActive- true if the component must start delivering messages as soon as it is started
-
-
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
-
getPool
- Specified by:
getPoolin interfacePooledComponent<MessageDrivenComponentInstance>
-
getPoolName
- Specified by:
getPoolNamein interfacePooledComponent<MessageDrivenComponentInstance>
-
start
public void start()- Specified by:
startin interfaceComponent- Overrides:
startin classBasicComponent
-
init
public void init()- Overrides:
initin classEJBComponent
-
done
public void done()- Specified by:
donein interfaceorg.jboss.as.server.suspend.ServerActivityCallback- Overrides:
donein classEJBComponent
-
startDelivery
public void startDelivery() -
stopDelivery
public void stopDelivery() -
isDeliveryActive
public boolean isDeliveryActive() -
isDeliveryControlled
public boolean isDeliveryControlled() -
getDeliveryControllerName
public org.jboss.msc.service.ServiceName getDeliveryControllerName() -
getAllowedMethodsInformation
- Overrides:
getAllowedMethodsInformationin classEJBComponent
-