public class MessageDrivenComponent extends EJBComponent implements PooledComponent<MessageDrivenComponentInstance>
Modifier | Constructor and Description |
---|---|
protected |
MessageDrivenComponent(MessageDrivenComponentCreateService ejbComponentCreateService,
Class<?> messageListenerInterface,
javax.resource.spi.ActivationSpec activationSpec)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
AllowedMethodsInformation |
getAllowedMethodsInformation() |
Pool<MessageDrivenComponentInstance> |
getPool() |
String |
getPoolName() |
protected BasicComponentInstance |
instantiateComponentInstance(AtomicReference<ManagedReference> instanceReference,
org.jboss.invocation.Interceptor preDestroyInterceptor,
Map<Method,org.jboss.invocation.Interceptor> methodInterceptors,
org.jboss.invocation.InterceptorFactoryContext interceptorContext)
Responsible for instantiating the
BasicComponentInstance . |
protected void |
setResourceAdapter(javax.resource.spi.ResourceAdapter resourceAdapter) |
void |
start()
Start operation called when the Component is available.
|
void |
stop(org.jboss.msc.service.StopContext stopContext)
Stop operation called when the Component is no longer available.
|
createViewInstanceProxy, createViewInstanceProxy, getApplicationException, getApplicationName, getCallerPrincipal, getCurrentTransactionAttribute, getDistinctName, getEarApplicationName, getEJBHome, getEjbHomeViewServiceName, getEJBLocalHome, getEjbLocalHomeViewServiceName, getEjbLocalObjectType, getEjbLocalObjectViewServiceName, getEjbObjectType, getEjbObjectViewServiceName, getEjbRemoteTransactionsRepository, getModuleName, getRollbackOnly, getSecurityManager, getSecurityMetaData, getTimeoutInterceptors, getTimeoutMethod, getTimerService, getTransactionAttributeType, getTransactionManager, getTransactionSynchronizationRegistry, getTransactionTimeout, getUserTransaction, isCallerInRole, lookup, setRollbackOnly
componentInstanceCreated, constructComponentInstance, createInstance, createInstance, getComponentClass, getComponentName, getCreateServiceName, getNamespaceContextSelector, toString, waitForComponentStart
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createInstance, getComponentClass, getNamespaceContextSelector
protected MessageDrivenComponent(MessageDrivenComponentCreateService ejbComponentCreateService, Class<?> messageListenerInterface, javax.resource.spi.ActivationSpec activationSpec)
ejbComponentCreateService
- the component configurationprotected BasicComponentInstance instantiateComponentInstance(AtomicReference<ManagedReference> instanceReference, org.jboss.invocation.Interceptor preDestroyInterceptor, Map<Method,org.jboss.invocation.Interceptor> methodInterceptors, org.jboss.invocation.InterceptorFactoryContext interceptorContext)
BasicComponent
BasicComponentInstance
. This method is *not* responsible for
handling the post construct activities like injection and lifecycle invocation. That is handled by
BasicComponent.constructComponentInstance(ManagedReference, boolean, InterceptorFactoryContext)
.
instantiateComponentInstance
in class BasicComponent
public 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()
BasicComponent
start
in interface Component
start
in class BasicComponent
public void stop(org.jboss.msc.service.StopContext stopContext)
BasicComponent
stop
in interface Component
stop
in class BasicComponent
stopContext
- the stop context for the component servicepublic AllowedMethodsInformation getAllowedMethodsInformation()
getAllowedMethodsInformation
in class EJBComponent
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.