Class ManifestClassPathProcessor
- java.lang.Object
-
- org.jboss.as.server.deployment.module.ManifestClassPathProcessor
-
- All Implemented Interfaces:
DeploymentUnitProcessor
public final class ManifestClassPathProcessor extends Object implements DeploymentUnitProcessor
A processor which adds class path entries for each manifest entry.- If the Class-Path entry is external to the deployment then it is handled by the external jar service.
- If the entry refers to a sibling deployment then a dependency is added on that deployment. If this deployment is not present then this deployment will block until it is.
- If the Class-Path entry points to a jar inside the ear that is not a deployment and not a /lib jar then a reference is added to this jars
AdditionalModuleSpecification- Author:
- Stuart Douglas, Ales Justin
-
-
Constructor Summary
Constructors Constructor Description ManifestClassPathProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(DeploymentPhaseContext phaseContext)We only allow a single deployment at a time to be run through the class path processor.-
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
-
-
-
-
Method Detail
-
deploy
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException
We only allow a single deployment at a time to be run through the class path processor. This is because if multiple sibling deployments reference the same item we need to make sure that they end up with the same external module, and do not both create an external module with the same name.- Specified by:
deployin interfaceDeploymentUnitProcessor- Parameters:
phaseContext- the deployment unit context- Throws:
DeploymentUnitProcessingException- if an error occurs during processing
-
-