code: public static ServiceName deploymentUnitName(String name, Phase phase) {
          return JBOSS_DEPLOYMENT_UNIT.append(name, phase.name());
      }
docs: Get the service name of a top-level deployment unit.
  
  @param name the simple name of the deployment
  @param phase the deployment phase
  @return the service name