Class AbstractPoolMergingProcessor<T extends EJBComponentDescription>

java.lang.Object
org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor<T>
org.jboss.as.ejb3.deployment.processors.merging.AbstractPoolMergingProcessor<T>
All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor
Direct Known Subclasses:
MessageDrivenBeanPoolMergingProcessor, StatelessSessionBeanPoolMergingProcessor

public abstract class AbstractPoolMergingProcessor<T extends EJBComponentDescription> extends AbstractMergingProcessor<T>
Sets up the Jakarta Enterprise Beans component description with the pool name configured via the Pool annotation and/or the deployment descriptor, for a Jakarta Enterprise Beans bean.
Author:
Jaikiran Pai
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    handleAnnotations(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, EEApplicationClasses applicationClasses, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex, Class<?> componentClass, T description)
    Handle annotations relating to the component that have been found in the deployment.
    protected void
    handleDeploymentDescriptor(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex, Class<?> componentClass, T description)
    Handle the deployment descriptor
    protected abstract void
    setPoolName(T componentDescription, String poolName)
    Set the pool name for the component

    Methods inherited from class org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor

    deploy, getMethodIntf, getMethodParams

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.jboss.as.server.deployment.DeploymentUnitProcessor

    undeploy
  • Constructor Details

    • AbstractPoolMergingProcessor

      public AbstractPoolMergingProcessor(Class<T> descriptionType)
  • Method Details

    • handleAnnotations

      protected void handleAnnotations(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, EEApplicationClasses applicationClasses, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex, Class<?> componentClass, T description) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
      Description copied from class: AbstractMergingProcessor
      Handle annotations relating to the component that have been found in the deployment. Will not be called if the deployment is metadata complete.
      Specified by:
      handleAnnotations in class AbstractMergingProcessor<T extends EJBComponentDescription>
      Throws:
      org.jboss.as.server.deployment.DeploymentUnitProcessingException
    • handleDeploymentDescriptor

      protected void handleDeploymentDescriptor(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex, Class<?> componentClass, T description) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
      Description copied from class: AbstractMergingProcessor
      Handle the deployment descriptor
      Specified by:
      handleDeploymentDescriptor in class AbstractMergingProcessor<T extends EJBComponentDescription>
      Throws:
      org.jboss.as.server.deployment.DeploymentUnitProcessingException
    • setPoolName

      protected abstract void setPoolName(T componentDescription, String poolName)
      Set the pool name for the component
      Parameters:
      componentDescription - The component description
      poolName - The pool name