Package org.jboss.as.server.deployment
Class DeploymentUtils
java.lang.Object
org.jboss.as.server.deployment.DeploymentUtils
Helper class with static methods related to deployment
TODO: this should probably be somewhere else
- Author:
- Stuart Douglas, Ales Justin
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<ResourceRoot>allResourceRoots(DeploymentUnit deploymentUnit) Get all resource roots for aDeploymentUnitstatic List<byte[]>getDeploymentHash(Resource deployment) static List<byte[]>getDeploymentHash(org.jboss.dmr.ModelNode deployment) getDeploymentHexHash(org.jboss.dmr.ModelNode deployment) static org.jboss.msc.service.ServiceNamegetDeploymentUnitPhaseServiceName(DeploymentUnit depUnit, Phase phase) static DeploymentUnitGet top deployment unit.
-
Method Details
-
allResourceRoots
Get all resource roots for aDeploymentUnit- Parameters:
deploymentUnit- The deployment unit- Returns:
- The deployment root and any additional resource roots
-
getTopDeploymentUnit
Get top deployment unit.- Parameters:
unit- the current deployment unit- Returns:
- top deployment unit
-
getDeploymentUnitPhaseServiceName
public static org.jboss.msc.service.ServiceName getDeploymentUnitPhaseServiceName(DeploymentUnit depUnit, Phase phase) -
getDeploymentHash
-
getDeploymentHash
-
getDeploymentHexHash
-