public final class DeploymentUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addDeferredModule(DeploymentUnit depUnit) |
static List<ResourceRoot> |
allResourceRoots(DeploymentUnit deploymentUnit)
Get all resource roots for a
DeploymentUnit |
static List<String> |
getDeferredModules(DeploymentUnit depUnit) |
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.
|
static boolean |
skipRepeatedActivation(DeploymentUnit unit,
int maxValue) |
public static List<ResourceRoot> allResourceRoots(DeploymentUnit deploymentUnit)
DeploymentUnit
deploymentUnit
- The deployment unitpublic static DeploymentUnit getTopDeploymentUnit(DeploymentUnit unit)
unit
- the current deployment unitpublic static boolean skipRepeatedActivation(DeploymentUnit unit, int maxValue)
public static org.jboss.msc.service.ServiceName getDeploymentUnitPhaseServiceName(DeploymentUnit depUnit, Phase phase)
public static void addDeferredModule(DeploymentUnit depUnit)
public static List<String> getDeferredModules(DeploymentUnit depUnit)
public static List<byte[]> getDeploymentHash(org.jboss.dmr.ModelNode deployment)
Copyright © 2023 JBoss by Red Hat. All rights reserved.