Class ManifestClassPathProcessor
java.lang.Object
org.jboss.as.server.deployment.module.ManifestClassPathProcessor
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy(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, waitMethods inherited from interface org.jboss.as.server.deployment.DeploymentUnitProcessor
undeploy
-
Constructor Details
-
ManifestClassPathProcessor
public ManifestClassPathProcessor()
-
-
Method Details
-
deploy
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
-