Package org.jboss.as.weld._private
Class WeldDeploymentMarker
java.lang.Object
org.jboss.as.weld._private.WeldDeploymentMarker
Marker for top level deployments that contain a beans.xml file
- Author:
- Stuart Douglas
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisPartOfWeldDeployment(org.jboss.as.server.deployment.DeploymentUnit unit) returns true if theDeploymentUnitis part of a weld deploymentstatic booleanisWeldDeployment(org.jboss.as.server.deployment.DeploymentUnit unit) returns true if theDeploymentUnithas 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 voidmark(org.jboss.as.server.deployment.DeploymentUnit unit) Mark this deployment and the top level deployment as being a weld deployment.
-
Method Details
-
mark
public static void mark(org.jboss.as.server.deployment.DeploymentUnit unit) Mark this deployment and the top level deployment as being a weld deployment. -
isPartOfWeldDeployment
public static boolean isPartOfWeldDeployment(org.jboss.as.server.deployment.DeploymentUnit unit) returns true if theDeploymentUnitis part of a weld deployment -
isWeldDeployment
public static boolean isWeldDeployment(org.jboss.as.server.deployment.DeploymentUnit unit) returns true if theDeploymentUnithas a beans.xml in any of it's resource roots, or is a top level deployment that contains sub-deployments that are weld deployments.
-