public class WeldDeploymentMarker extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isPartOfWeldDeployment(org.jboss.as.server.deployment.DeploymentUnit unit)
returns true if the
DeploymentUnit is part of a weld deployment |
static boolean |
isWeldDeployment(org.jboss.as.server.deployment.DeploymentUnit unit)
returns true if the
DeploymentUnit has a beans.xml in any of it's resource roots,
or is a top level deployment that contains sub-deployments that are weld deployments. |
static void |
mark(org.jboss.as.server.deployment.DeploymentUnit unit)
Mark this deployment and the top level deployment as being a weld deployment.
|
public static void mark(org.jboss.as.server.deployment.DeploymentUnit unit)
public static boolean isPartOfWeldDeployment(org.jboss.as.server.deployment.DeploymentUnit unit)
DeploymentUnit
is part of a weld deploymentpublic static boolean isWeldDeployment(org.jboss.as.server.deployment.DeploymentUnit unit)
DeploymentUnit
has a beans.xml in any of it's resource roots,
or is a top level deployment that contains sub-deployments that are weld deployments.Copyright © 2017 JBoss by Red Hat. All rights reserved.