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, stop
componentInstanceCreated, constructComponentInstance, constructComponentInstance, createInstance, createInstance, createInterceptors, getComponentClass, getComponentName, getCreateServiceName, getNamespaceContextSelector, serviceNameOf, toString, waitForComponentStart
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createInstance, createInstance, getComponentClass, getNamespaceContextSelector, isRemotable, stop
protected 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)
BasicComponent
BasicComponentInstance
. 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 BasicComponent
public Pool<MessageDrivenComponentInstance> getPool()
getPool
in interface PooledComponent<MessageDrivenComponentInstance>
public String getPoolName()
getPoolName
in interface PooledComponent<MessageDrivenComponentInstance>
public void start()
BasicComponent
start
in interface Component
start
in class EJBComponent
public void done()
done
in interface org.jboss.as.server.suspend.ServerActivityCallback
done
in class EJBComponent
public void startDelivery()
public void stopDelivery()
public boolean isDeliveryActive()
public boolean isDeliveryControlled()
public org.jboss.msc.service.ServiceName getDeliveryControllerName()
public AllowedMethodsInformation getAllowedMethodsInformation()
getAllowedMethodsInformation
in class EJBComponent
Copyright © 2018 JBoss by Red Hat. All rights reserved.