Class AbstractDeploymentDescriptorBindingsProcessor

java.lang.Object
org.jboss.as.ee.component.deployers.AbstractDeploymentDescriptorBindingsProcessor
All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor
Direct Known Subclasses:
ResourceDefinitionDescriptorProcessor, ResourceReferenceProcessor

public abstract class AbstractDeploymentDescriptorBindingsProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
Class that provides common functionality required by processors that process environment information from deployment descriptors.
Author:
Stuart Douglas, Richard Opalka
  • Constructor Details

    • AbstractDeploymentDescriptorBindingsProcessor

      public AbstractDeploymentDescriptorBindingsProcessor()
  • Method Details

    • deploy

      public final void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
      Specified by:
      deploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
      Throws:
      org.jboss.as.server.deployment.DeploymentUnitProcessingException
    • processDescriptorEntries

      protected abstract List<BindingConfiguration> processDescriptorEntries(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, DeploymentDescriptorEnvironment environment, ResourceInjectionTarget resourceInjectionTarget, ComponentDescription componentDescription, ClassLoader classLoader, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex, EEApplicationClasses applicationClasses) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
      Throws:
      org.jboss.as.server.deployment.DeploymentUnitProcessingException
    • processInjectionTargets

      protected Class<?> processInjectionTargets(ResourceInjectionTarget resourceInjectionTarget, InjectionSource injectionSource, ClassLoader classLoader, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex, org.jboss.metadata.javaee.spec.ResourceInjectionMetaData entry, Class<?> classType) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
      Processes the injection targets of a resource binding
      Parameters:
      injectionSource - The injection source for the injection target
      classLoader - The module class loader
      deploymentReflectionIndex - The deployment reflection index
      entry - The resource with injection targets
      classType - The expected type of the injection point, may be null if this is to be inferred from the injection target
      Returns:
      The actual class type of the injection point
      Throws:
      org.jboss.as.server.deployment.DeploymentUnitProcessingException - If the injection points could not be resolved