public class Utils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getDeploymentUnitId(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) |
static org.jboss.as.server.deployment.DeploymentUnit |
getRootDeploymentUnit(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Returns the parent of the given deployment unit if such a parent exists.
|
static boolean |
isClassesRoot(org.jboss.as.server.deployment.module.ResourceRoot resourceRoot) |
static boolean |
isComponentWithView(ComponentDescription component) |
static <K,V> void |
putIfValueNotNull(Map<K,V> map,
K key,
V value) |
static void |
registerAsComponent(String listener,
org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) |
public static boolean isClassesRoot(org.jboss.as.server.deployment.module.ResourceRoot resourceRoot)
public static org.jboss.as.server.deployment.DeploymentUnit getRootDeploymentUnit(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
public static String getDeploymentUnitId(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
public static boolean isComponentWithView(ComponentDescription component)
public static void registerAsComponent(String listener, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
public static <K,V> void putIfValueNotNull(Map<K,V> map, K key, V value)
Copyright © 2018 JBoss by Red Hat. All rights reserved.