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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voiddeploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) 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) 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) Processes the injection targets of a resource bindingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.server.deployment.DeploymentUnitProcessor
undeploy
-
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:
deployin interfaceorg.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 targetclassLoader- The module class loaderdeploymentReflectionIndex- The deployment reflection indexentry- The resource with injection targetsclassType- 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
-