Class WeldDeploymentMarker


  • @Deprecated
    public class WeldDeploymentMarker
    extends Object
    Deprecated.
    Use WeldCapability to get access to the functionality of this class.
    Marker for top level deployments that contain a beans.xml file
    Author:
    Stuart Douglas
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static boolean isPartOfWeldDeployment​(org.jboss.as.server.deployment.DeploymentUnit unit)
      Deprecated.
      returns true if the DeploymentUnit is part of a weld deployment
      static boolean isWeldDeployment​(org.jboss.as.server.deployment.DeploymentUnit unit)
      Deprecated.
      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)
      Deprecated.
      Mark this deployment and the top level deployment as being a weld deployment.
    • Method Detail

      • mark

        public static void mark​(org.jboss.as.server.deployment.DeploymentUnit unit)
        Deprecated.
        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)
        Deprecated.
        returns true if the DeploymentUnit is part of a weld deployment
      • isWeldDeployment

        public static boolean isWeldDeployment​(org.jboss.as.server.deployment.DeploymentUnit unit)
        Deprecated.
        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.