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 Details

    • allResourceRoots

      public static List<ResourceRoot> allResourceRoots(DeploymentUnit deploymentUnit)
      Get all resource roots for a DeploymentUnit
      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(Resource deployment)
    • getDeploymentHash

      public static List<byte[]> getDeploymentHash(org.jboss.dmr.ModelNode deployment)
    • getDeploymentHexHash

      public static Set<String> getDeploymentHexHash(org.jboss.dmr.ModelNode deployment)