Class 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 Detail

      • AbstractDeploymentDescriptorBindingsProcessor

        public AbstractDeploymentDescriptorBindingsProcessor()
    • Method Detail

      • 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
      • 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