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, setRollbackOnlycomponentInstanceCreated, constructComponentInstance, createInstance, createInstance, getComponentClass, getComponentName, getCreateServiceName, getNamespaceContextSelector, toString, waitForComponentStartclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateInstance, getComponentClass, getNamespaceContextSelectorprotected 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)
BasicComponentBasicComponentInstance. 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 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 BasicComponentpublic void stop(org.jboss.msc.service.StopContext stopContext)
BasicComponentstop in interface Componentstop in class BasicComponentstopContext - the stop context for the component servicepublic AllowedMethodsInformation getAllowedMethodsInformation()
getAllowedMethodsInformation in class EJBComponentCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.