Class WeldDeploymentMarker

java.lang.Object
org.jboss.as.weld._private.WeldDeploymentMarker

public class WeldDeploymentMarker extends Object
Marker for top level deployments that contain a beans.xml file
Author:
Stuart Douglas
  • Method Summary

    Modifier and Type
    Method
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 the DeploymentUnit is part of a weld deployment
    • isWeldDeployment

      public 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.