org.jboss.ejb3.mdb
Class MDB

java.lang.Object
  extended by org.jboss.ejb3.EJBContainer
      extended by org.jboss.ejb3.TimerServiceContainer
          extended by org.jboss.ejb3.mdb.MessagingContainer
              extended by org.jboss.ejb3.mdb.MDB
All Implemented Interfaces:
Container, org.jboss.ejb3.context.spi.BeanManager, org.jboss.ejb3.context.spi.MessageDrivenBeanManager, org.jboss.ejb3.interceptors.direct.IndirectContainer<EJBContainer,org.jboss.ejb3.interceptors.direct.DirectContainer<EJBContainer>>, JavaEEComponent, org.jboss.ejb3.timerservice.spi.MultiTimeoutMethodTimedObjectInvoker, org.jboss.ejb3.timerservice.spi.TimedObjectInvoker, EJBInjectionContainer, ExtendedInjectionContainer, InjectionContainer

public class MDB
extends MessagingContainer

Comment


Field Summary
protected static java.lang.String DEFAULT_DESTINATION_TYPE
          Default destination type.
protected  java.lang.Class<?> messagingType
           
 
Fields inherited from class org.jboss.ejb3.mdb.MessagingContainer
activationSpec, DESTINATION, DESTINATION_TYPE, JMS_ADAPTOR, MAX_SESSION, messageEndpointFactory, PROVIDER_ADAPTER_JNDI
 
Fields inherited from class org.jboss.ejb3.TimerServiceContainer
timerService
 
Fields inherited from class org.jboss.ejb3.EJBContainer
assembly, beanClassName, classloader, ejbName, enc, encFactory, encInjections, encInjectors, ENTITY_MANAGER_FACTORY, initialContextProperties, injectors, invokeStats, MANAGED_ENTITY_MANAGER_FACTORY, metadataBasedAnnotationRepo, objectName, pool, reinitialize, xml
 
Fields inherited from interface org.jboss.ejb3.Container
ENC_CTX_NAME
 
Constructor Summary
MDB(java.lang.String ejbName, org.jboss.aop.Domain domain, java.lang.ClassLoader cl, java.lang.String beanClassName, java.util.Hashtable ctxProperties, Ejb3Deployment deployment, org.jboss.metadata.ejb.jboss.JBossMessageDrivenBeanMetaData beanMetaData)
           
 
Method Summary
 java.util.Map getActivationConfigProperties()
           
 javax.management.ObjectName getJmxName()
           
 java.lang.Class<?> getMessagingType()
           
protected  org.jboss.metadata.ejb.jboss.JBossMessageDrivenBeanMetaData getMetaData()
           
protected  org.jboss.metadata.ejb.spec.NamedMethodMetaData getTimeoutMethodMetaData()
           
protected  void populateActivationSpec()
           
protected  java.util.List<java.lang.Class<?>> resolveBusinessInterfaces()
           
 
Methods inherited from class org.jboss.ejb3.mdb.MessagingContainer
addActivationSpecProperty, callTimeout, callTimeout, createBeanContext, getDestination, getDestinationType, getDestinationType, getJMSProviderAdapter, getKeepAliveMillis, getMaxMessages, getMaxPoolSize, getMaxSession, getMBean, getMethodInfo, getMinPoolSize, getProviderAdapterJNDI, getResourceAdaptorName, getTimedObjectId, getTimedObjectInvoker, hasJNDIBinding, initializePool, innerCreateQueue, innerCreateTopic, innerStart, invokeSetMessageDrivenContext, isDeliveryActive, localInvoke, localInvoke, lockedStart, lockedStop, parseJndiSuffix, setMessageEndpointFactory, startDelivery, startProxies, stopDelivery, stopProxies
 
Methods inherited from class org.jboss.ejb3.TimerServiceContainer
afterStart, create, getTimerService, getTimerService, setTimerServiceFactory
 
Methods inherited from class org.jboss.ejb3.EJBContainer
canResolveEJB, checkForDuplicateLocalAndRemoteInterfaces, construct, createInterceptor, createObjectName, createObjectName, destroy, destroyBeanContext, findPartitionName, getAdvisor, getAnnotation, getAnnotation, getAnnotation, getAnnotation, getAnnotation, getAnnotation, getAnnotations, getApplicationException, getAssemblyDescriptor, getBeanClass, getBeanClassName, getBeanContainer, getBeanInstantiator, getBusinessAndComponentInterfaces, getBusinessObject, getCachedConnectionManager, getClassloader, getClazz, getDependencyPolicy, getDeployment, getDeploymentDescriptorType, getDeploymentPropertyListString, getDeploymentQualifiedName, getDeploymentUnit, getEffigy, getEJBContainer, getEJBHome, getEjbJndiName, getEjbJndiName, getEJBLocalHome, getEjbName, getEnc, getEncInjections, getEncInjectors, getEnvironmentRefGroup, getHandledCallbacks, getIdentifier, getInitialContext, getInitialContextProperties, getInjectionHandlers, getInjectors, getInterceptorClasses, getInterceptorInjectors, getInterceptorRepository, getInterceptors, getInvocationLock, getInvokedBusinessInterface, getInvokedInterface, getInvokeStats, getJaccContextId, getMetaDataBasedAnnotationRepository, getModule, getName, getNonBridgeMethod, getObjectName, getPartitionName, getPool, getRollbackOnly, getRootFile, getSecurityManager, getTimeoutCallback, getUserTransaction, getVirtualMethods, getXml, initMetaDataBasedAnnotationRepository, injectBeanContext, instantiated, invokeCallback, invokePostActivate, invokePostConstruct, invokePostConstruct, invokePreDestroy, invokePrePassivate, isAnnotationPresent, isBusinessMethod, isCallerInRole, isClustered, lookup, peekContext, popContext, popEnc, processMetadata, pushContext, pushEnc, reinitialize, resolveAnnotation, resolveAnnotation, resolveAnnotation, resolveAnnotation, resolveEJB, resolveEjbContainer, resolveEjbContainer, resolveInjectors, resolveMessageDestination, resolvePersistenceUnitSupplier, setAssemblyDescriptor, setBeanInstantiator, setCachedConnectionManager, setDirectContainer, setEjbEncFactory, setInjectionManager, setJaccContextId, setRollbackOnly, setTransactionManager, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.ejb3.context.spi.BeanManager
getEJBHome, getEJBLocalHome, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, lookup, setRollbackOnly
 

Field Detail

DEFAULT_DESTINATION_TYPE

protected static final java.lang.String DEFAULT_DESTINATION_TYPE
Default destination type. Used when no message-driven-destination is given in ejb-jar, and a lookup of destinationJNDI from jboss.xml is not successful. Default value: javax.jms.Topic.

See Also:
Constant Field Values

messagingType

protected java.lang.Class<?> messagingType
Constructor Detail

MDB

public MDB(java.lang.String ejbName,
           org.jboss.aop.Domain domain,
           java.lang.ClassLoader cl,
           java.lang.String beanClassName,
           java.util.Hashtable ctxProperties,
           Ejb3Deployment deployment,
           org.jboss.metadata.ejb.jboss.JBossMessageDrivenBeanMetaData beanMetaData)
    throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException
Method Detail

getMessagingType

public java.lang.Class<?> getMessagingType()
Specified by:
getMessagingType in class MessagingContainer

getActivationConfigProperties

public java.util.Map getActivationConfigProperties()
Specified by:
getActivationConfigProperties in class MessagingContainer

getMetaData

protected org.jboss.metadata.ejb.jboss.JBossMessageDrivenBeanMetaData getMetaData()
Overrides:
getMetaData in class MessagingContainer

getTimeoutMethodMetaData

protected org.jboss.metadata.ejb.spec.NamedMethodMetaData getTimeoutMethodMetaData()
Specified by:
getTimeoutMethodMetaData in class MessagingContainer

resolveBusinessInterfaces

protected java.util.List<java.lang.Class<?>> resolveBusinessInterfaces()
Specified by:
resolveBusinessInterfaces in class EJBContainer

getJmxName

public javax.management.ObjectName getJmxName()
Overrides:
getJmxName in class MessagingContainer

populateActivationSpec

protected void populateActivationSpec()
Specified by:
populateActivationSpec in class MessagingContainer