Package org.jboss.as.server.deployment
Class DeploymentUtils
- java.lang.Object
-
- org.jboss.as.server.deployment.DeploymentUtils
-
public final class DeploymentUtils extends Object
Helper class with static methods related to deployment TODO: this should probably be somewhere else- Author:
- Stuart Douglas, Ales Justin
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)static Set<String>getDeploymentHexHash(org.jboss.dmr.ModelNode deployment)static org.jboss.msc.service.ServiceNamegetDeploymentUnitPhaseServiceName(DeploymentUnit depUnit, Phase phase)static DeploymentUnitgetTopDeploymentUnit(DeploymentUnit unit)Get top deployment unit.
-
-
-
Method Detail
-
allResourceRoots
public static List<ResourceRoot> allResourceRoots(DeploymentUnit deploymentUnit)
Get all resource roots for aDeploymentUnit- Parameters:
deploymentUnit- The deployment unit- Returns:
- The deployment root and any additional resource roots
-
getTopDeploymentUnit
public static DeploymentUnit getTopDeploymentUnit(DeploymentUnit unit)
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
public static List<byte[]> getDeploymentHash(org.jboss.dmr.ModelNode deployment)
-
-