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)
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() |
protected BasicComponentInstance |
instantiateComponentInstance(org.jboss.invocation.Interceptor preDestroyInterceptor,
Map<Method,org.jboss.invocation.Interceptor> methodInterceptors,
Map<Object,Object> context)
Responsible for instantiating the
BasicComponentInstance. |
boolean |
isDeliveryActive() |
boolean |
isDeliveryControlled() |
void |
start()
Start operation called when the Component is available.
|
void |
startDelivery() |
void |
stopDelivery() |
createViewInstanceProxy, createViewInstanceProxy, getApplicationException, getApplicationName, getCallerPrincipal, getControlPoint, getCurrentTransactionAttribute, getDistinctName, getEarApplicationName, getEJBHome, getEjbHomeViewServiceName, getEJBLocalHome, getEjbLocalHomeViewServiceName, getEjbLocalObjectType, getEjbLocalObjectViewServiceName, getEjbObjectType, getEjbObjectViewServiceName, getEjbRemoteTransactionsRepository, getInvocationMetrics, getModuleName, getRollbackOnly, getSecurityManager, getSecurityMetaData, getShutDownInterceptorFactory, getTimeoutInterceptors, getTimeoutMethod, getTimerService, getTransactionAttributeType, getTransactionAttributeType, getTransactionAttributeType, getTransactionManager, getTransactionSynchronizationRegistry, getTransactionTimeout, getTransactionTimeout, getUserTransaction, isBeanManagedTransaction, isCallerInRole, isExceptionLoggingEnabled, isStatisticsEnabled, lookup, 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, stopprotected MessageDrivenComponent(MessageDrivenComponentCreateService ejbComponentCreateService, Class<?> messageListenerInterface, javax.resource.spi.ActivationSpec activationSpec, boolean deliveryActive, org.jboss.msc.service.ServiceName deliveryControllerName)
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)
BasicComponentBasicComponentInstance. This method is *not* responsible for
handling the post construct activities like injection and lifecycle invocation. That is handled by
BasicComponent.constructComponentInstance(org.jboss.as.naming.ManagedReference, boolean).
instantiateComponentInstance in class BasicComponentpublic Pool<MessageDrivenComponentInstance> getPool()
getPool in interface PooledComponent<MessageDrivenComponentInstance>public String getPoolName()
getPoolName in interface PooledComponent<MessageDrivenComponentInstance>public void start()
BasicComponentstart in interface Componentstart 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.