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 Constructor Description AbstractDeploymentDescriptorBindingsProcessor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
deploy(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 binding
-
-
-
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 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
-
-