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)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
AllowedMethodsInformation |
getAllowedMethodsInformation() |
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() |
protected void |
setResourceAdapter(javax.resource.spi.ResourceAdapter resourceAdapter) |
void |
start()
Start operation called when the Component is available.
|
void |
startDelivery() |
void |
stop()
Stop operation called when the Component is no longer available.
|
void |
stopDelivery() |
createViewInstanceProxy, createViewInstanceProxy, getApplicationException, getApplicationName, getCallerPrincipal, getCurrentTransactionAttribute, getDistinctName, getEarApplicationName, getEJBHome, getEjbHomeViewServiceName, getEJBLocalHome, getEjbLocalHomeViewServiceName, getEjbLocalObjectType, getEjbLocalObjectViewServiceName, getEjbObjectType, getEjbObjectViewServiceName, getEjbRemoteTransactionsRepository, getInvocationMetrics, getModuleName, getRollbackOnly, getSecurityManager, getSecurityMetaData, getShutDownInterceptorFactory, getTimeoutInterceptors, getTimeoutMethod, getTimerService, getTransactionAttributeType, getTransactionAttributeType, getTransactionManager, getTransactionSynchronizationRegistry, getTransactionTimeout, getTransactionTimeout, getUserTransaction, isBeanManagedTransaction, isCallerInRole, isStatisticsEnabled, lookup, setRollbackOnlycomponentInstanceCreated, constructComponentInstance, constructComponentInstance, createInstance, createInstance, createInterceptors, getComponentClass, getComponentName, getCreateServiceName, getNamespaceContextSelector, serviceNameOf, toString, waitForComponentStartclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateInstance, createInstance, getComponentClass, getNamespaceContextSelectorprotected MessageDrivenComponent(MessageDrivenComponentCreateService ejbComponentCreateService, Class<?> messageListenerInterface, javax.resource.spi.ActivationSpec activationSpec, boolean deliveryActive)
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>protected void setResourceAdapter(javax.resource.spi.ResourceAdapter resourceAdapter)
public void start()
BasicComponentstart in interface Componentstart in class EJBComponentpublic void stop()
BasicComponentstop in interface Componentstop in class EJBComponentpublic void startDelivery()
public void stopDelivery()
public boolean isDeliveryActive()
public AllowedMethodsInformation getAllowedMethodsInformation()
getAllowedMethodsInformation in class EJBComponentCopyright © 2014 JBoss by Red Hat. All rights reserved.