org.jboss.ejb3.mdb
Class MDB

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

public class MDB
extends MessagingContainer

Comment

Version:
$Revision: 76006 $
Author:
Bill Burke

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

Field Detail

DEFAULT_DESTINATION_TYPE

protected static final 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 Class<?> messagingType
Constructor Detail

MDB

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

getMessagingType

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

getActivationConfigProperties

public 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 List<Class<?>> resolveBusinessInterfaces()
Specified by:
resolveBusinessInterfaces in class EJBContainer

getJmxName

public ObjectName getJmxName()
Overrides:
getJmxName in class MessagingContainer

populateActivationSpec

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


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.