Class MessageDrivenComponentDescription

java.lang.Object
org.jboss.as.ee.component.ComponentDescription
org.jboss.as.ejb3.component.EJBComponentDescription
org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentDescription
All Implemented Interfaces:
ResourceInjectionTarget

public class MessageDrivenComponentDescription extends EJBComponentDescription
Author:
Carlo de Wolf, Richard Opalka
  • Constructor Details

    • MessageDrivenComponentDescription

      public MessageDrivenComponentDescription(String componentName, String componentClassName, EjbJarDescription ejbJarDescription, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, String messageListenerInterfaceName, Properties activationProps, String defaultResourceAdapterName, org.jboss.metadata.ejb.spec.MessageDrivenBeanMetaData descriptorData, boolean defaultMdbPoolAvailable)
      Construct a new instance.
      Parameters:
      componentName - the component name
      componentClassName - the component instance class name
      ejbJarDescription - the module description
      defaultResourceAdapterName - The default resource adapter name for this message driven bean. Cannot be null or empty string.
  • Method Details

    • createConfiguration

      public ComponentConfiguration createConfiguration(org.jboss.as.server.deployment.reflect.ClassReflectionIndex classIndex, ClassLoader moduleClassLoader, org.jboss.modules.ModuleLoader moduleLoader)
      Overrides:
      createConfiguration in class ComponentDescription
    • getActivationProps

      public Properties getActivationProps()
    • isDeliveryActive

      public boolean isDeliveryActive()
    • setDeliveryActive

      public void setDeliveryActive(boolean deliveryActive)
    • getDeliveryGroups

      public String[] getDeliveryGroups()
    • setDeliveryGroup

      public void setDeliveryGroup(String[] groupNames)
    • isClusteredSingleton

      public boolean isClusteredSingleton()
    • setClusteredSingleton

      public void setClusteredSingleton(boolean clusteredSingleton)
    • isDeliveryControlled

      public boolean isDeliveryControlled()
    • getDeliveryControllerName

      public org.jboss.msc.service.ServiceName getDeliveryControllerName()
    • getResourceAdapterName

      public String getResourceAdapterName()
    • setResourceAdapterName

      public void setResourceAdapterName(String resourceAdapterName)
    • setupViewInterceptors

      protected void setupViewInterceptors(EJBViewDescription view)
      Overrides:
      setupViewInterceptors in class EJBComponentDescription
    • addCurrentInvocationContextFactory

      protected void addCurrentInvocationContextFactory()
      Description copied from class: EJBComponentDescription
      Setup the current invocation context interceptor, which will be used during the post-construct lifecycle of the component instance
      Specified by:
      addCurrentInvocationContextFactory in class EJBComponentDescription
    • addCurrentInvocationContextFactory

      protected void addCurrentInvocationContextFactory(ViewDescription view)
      Description copied from class: EJBComponentDescription
      Setup the current invocation context interceptor, which will be used during the invocation on the view (methods)
      Specified by:
      addCurrentInvocationContextFactory in class EJBComponentDescription
      Parameters:
      view - The view for which the interceptor has to be setup
    • isMessageDriven

      public boolean isMessageDriven()
      Overrides:
      isMessageDriven in class EJBComponentDescription
    • setPoolConfigName

      public void setPoolConfigName(String mdbPoolConfigName)
    • getPoolConfigName

      public String getPoolConfigName()
    • getMessageListenerInterfaceName

      public String getMessageListenerInterfaceName()
    • isTimerServiceApplicable

      public boolean isTimerServiceApplicable()
      Overrides:
      isTimerServiceApplicable in class ComponentDescription
    • getDescriptorData

      public org.jboss.metadata.ejb.spec.MessageDrivenBeanMetaData getDescriptorData()
      Overrides:
      getDescriptorData in class EJBComponentDescription