public final class DeploymentUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<ResourceRoot> |
allResourceRoots(DeploymentUnit deploymentUnit)
Get all resource roots for a
DeploymentUnit |
static List<byte[]> |
getDeploymentHash(org.jboss.dmr.ModelNode deployment) |
static List<byte[]> |
getDeploymentHash(Resource deployment) |
static Set<String> |
getDeploymentHexHash(org.jboss.dmr.ModelNode deployment) |
static org.jboss.msc.service.ServiceName |
getDeploymentUnitPhaseServiceName(DeploymentUnit depUnit,
Phase phase) |
static DeploymentUnit |
getTopDeploymentUnit(DeploymentUnit unit)
Get top deployment unit.
|
public static List<ResourceRoot> allResourceRoots(DeploymentUnit deploymentUnit)
DeploymentUnitdeploymentUnit - The deployment unitpublic static DeploymentUnit getTopDeploymentUnit(DeploymentUnit unit)
unit - the current deployment unitpublic static org.jboss.msc.service.ServiceName getDeploymentUnitPhaseServiceName(DeploymentUnit depUnit, Phase phase)
public static List<byte[]> getDeploymentHash(org.jboss.dmr.ModelNode deployment)
Copyright © 2018 JBoss by Red Hat. All rights reserved.