public class MessageDrivenComponent extends EJBComponent implements PooledComponent<MessageDrivenComponentInstance>
| Modifier | Constructor and Description |
|---|---|
protected |
MessageDrivenComponent(MessageDrivenComponentCreateService ejbComponentCreateService,
Class<?> messageListenerInterface,
javax.resource.spi.ActivationSpec activationSpec,
boolean deliveryActive,
org.jboss.msc.service.ServiceName deliveryControllerName,
String activeResourceAdapterName)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
done() |
AllowedMethodsInformation |
getAllowedMethodsInformation() |
org.jboss.msc.service.ServiceName |
getDeliveryControllerName() |
Pool<MessageDrivenComponentInstance> |
getPool() |
String |
getPoolName() |
void |
init() |
protected BasicComponentInstance |
instantiateComponentInstance(org.jboss.invocation.Interceptor preDestroyInterceptor,
Map<Method,org.jboss.invocation.Interceptor> methodInterceptors,
Map<Object,Object> context) |
boolean |
isDeliveryActive() |
boolean |
isDeliveryControlled() |
void |
start() |
void |
startDelivery() |
void |
stopDelivery() |
createViewInstanceProxy, createViewInstanceProxy, getApplicationException, getApplicationName, getCallerPrincipal, getComponentDescription, getControlPoint, getCurrentTransactionAttribute, getDistinctName, getEarApplicationName, getEJBHome, getEJBLocalHome, getEjbLocalObjectType, getEjbLocalObjectViewServiceName, getEjbObjectType, getEjbObjectViewServiceName, getEjbSuspendHandlerService, getIdentityOutflowFunction, getIncomingRunAsIdentity, getInvocationMetrics, getModuleName, getRollbackOnly, getSecurityDomain, getSecurityManager, getSecurityMetaData, getShutDownInterceptorFactory, getTimeoutInterceptors, getTimeoutMethod, getTimerService, getTransactionAttributeType, getTransactionAttributeType, getTransactionAttributeType, getTransactionManager, getTransactionSynchronizationRegistry, getTransactionTimeout, getTransactionTimeout, getUserTransaction, isBeanManagedTransaction, isCallerInRole, isExceptionLoggingEnabled, isSecurityDomainKnown, isStatisticsEnabled, isTransactionAttributeTypeExplicit, lookup, setIncomingRunAsIdentity, setRollbackOnly, stopcomponentInstanceCreated, constructComponentInstance, constructComponentInstance, createInstance, createInstance, createInterceptors, getComponentClass, getComponentName, getCreateServiceName, getNamespaceContextSelector, serviceNameOf, toString, waitForComponentStartclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateInstance, createInstance, getComponentClass, getNamespaceContextSelector, isRemotable, stop, waitForComponentStartprotected MessageDrivenComponent(MessageDrivenComponentCreateService ejbComponentCreateService, Class<?> messageListenerInterface, javax.resource.spi.ActivationSpec activationSpec, boolean deliveryActive, org.jboss.msc.service.ServiceName deliveryControllerName, String activeResourceAdapterName)
ejbComponentCreateService - the component configurationdeliveryActive - true if the component must start delivering messages as soon as it is startedprotected BasicComponentInstance instantiateComponentInstance(org.jboss.invocation.Interceptor preDestroyInterceptor, Map<Method,org.jboss.invocation.Interceptor> methodInterceptors, Map<Object,Object> context)
instantiateComponentInstance in class BasicComponentpublic Pool<MessageDrivenComponentInstance> getPool()
getPool in interface PooledComponent<MessageDrivenComponentInstance>public String getPoolName()
getPoolName in interface PooledComponent<MessageDrivenComponentInstance>public void start()
start in interface Componentstart in class BasicComponentpublic void init()
init in class EJBComponentpublic void done()
done in interface org.jboss.as.server.suspend.ServerActivityCallbackdone in class EJBComponentpublic void startDelivery()
public void stopDelivery()
public boolean isDeliveryActive()
public boolean isDeliveryControlled()
public org.jboss.msc.service.ServiceName getDeliveryControllerName()
public AllowedMethodsInformation getAllowedMethodsInformation()
getAllowedMethodsInformation in class EJBComponentCopyright © 2021 JBoss by Red Hat. All rights reserved.