public class WeldDeploymentMarker extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isPartOfWeldDeployment(DeploymentUnit unit)
returns true if the
DeploymentUnit is part of a weld deployment |
static boolean |
isWeldDeployment(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(DeploymentUnit unit)
Mark the top level deployment as being a weld deployment.
|
public static void mark(DeploymentUnit unit)
public static boolean isPartOfWeldDeployment(DeploymentUnit unit)
DeploymentUnit
is part of a weld deploymentpublic static boolean isWeldDeployment(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 © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.