## Provided Capabilities (1)

Name | Dynamic | Other provider points
--- | --- | ---
org.wildfly.weld | false | none

## Attributes (5)

- development-mode - Weld comes with a special mode for application development. When the development mode is enabled, certain built-in tools, which facilitate the development of Jakarta Contexts and Dependency Injection applications are available. Setting this attribute to true activates the development mode.
  Deprecated Since 5.0.0
  Development mode is no longer supported on servers running the current version.

  Type | BOOLEAN
  Default Value | false
  Is the attribute nillable? | true
  Does the attribute allow expression? | true
  Where is the attribute stored? | configuration
  Access Type | read-write
  Is restarted required? | all-services
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "BOOLEAN"
          },
          "description" : "Weld comes with a special mode for application development. When the development mode is enabled, certain built-in tools, which facilitate the development of Jakarta Contexts and Dependency Injection applications are available. Setting this attribute to true activates the development mode.",
          "expressions-allowed" : true,
          "required" : false,
          "nillable" : true,
          "default" : false,
          "stability" : "default",
          "deprecated" : {
              "since" : "5.0.0",
              "reason" : "Development mode is no longer supported on servers running the current version."
          },
          "access-type" : "read-write",
          "storage" : "configuration",
          "restart-required" : "all-services",
          "capability-reference" : null
      }

- legacy-empty-beans-xml-treatment - If true, all bean archives with empty beans.xml are considered to have discovery mode ALL.

  Type | BOOLEAN
  Default Value | false
  Is the attribute nillable? | true
  Does the attribute allow expression? | true
  Where is the attribute stored? | configuration
  Access Type | read-write
  Is restarted required? | all-services
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "BOOLEAN"
          },
          "description" : "If true, all bean archives with empty beans.xml are considered to have discovery mode ALL.",
          "expressions-allowed" : true,
          "required" : false,
          "nillable" : true,
          "default" : false,
          "stability" : "default",
          "access-type" : "read-write",
          "storage" : "configuration",
          "restart-required" : "all-services",
          "capability-reference" : null
      }

- non-portable-mode - If true, then the non-portable mode is enabled. The non-portable mode is suggested by the specification to overcome problems with legacy applications that do not use Jakarta Contexts and Dependency Injection SPI properly and may be rejected by more strict validation in CDI 1.1.

  Type | BOOLEAN
  Default Value | false
  Is the attribute nillable? | true
  Does the attribute allow expression? | true
  Where is the attribute stored? | configuration
  Access Type | read-write
  Is restarted required? | all-services
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "BOOLEAN"
          },
          "description" : "If true, then the non-portable mode is enabled. The non-portable mode is suggested by the specification to overcome problems with legacy applications that do not use Jakarta Contexts and Dependency Injection SPI properly and may be rejected by more strict validation in CDI 1.1.",
          "expressions-allowed" : true,
          "required" : false,
          "nillable" : true,
          "default" : false,
          "stability" : "default",
          "access-type" : "read-write",
          "storage" : "configuration",
          "restart-required" : "all-services",
          "capability-reference" : null
      }

- require-bean-descriptor - If true, then implicit bean archives without a bean descriptor file (beans.xml) are ignored by Weld.

  Type | BOOLEAN
  Default Value | false
  Is the attribute nillable? | true
  Does the attribute allow expression? | true
  Where is the attribute stored? | configuration
  Access Type | read-write
  Is restarted required? | all-services
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "BOOLEAN"
          },
          "description" : "If true, then implicit bean archives without a bean descriptor file (beans.xml) are ignored by Weld.",
          "expressions-allowed" : true,
          "required" : false,
          "nillable" : true,
          "default" : false,
          "stability" : "default",
          "access-type" : "read-write",
          "storage" : "configuration",
          "restart-required" : "all-services",
          "capability-reference" : null
      }

- thread-pool-size - The number of threads to be used by the Weld thread pool. The pool is shared across all Jakarta Contexts and Dependency Injection enabled deployments and used primarily for parallel Weld bootstrapping.

  Type | INT
  Is the attribute nillable? | true
  Does the attribute allow expression? | true
  Where is the attribute stored? | configuration
  Access Type | read-write
  Is restarted required? | all-services
  Min | 1
  Max | 2147483647
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "INT"
          },
          "description" : "The number of threads to be used by the Weld thread pool. The pool is shared across all Jakarta Contexts and Dependency Injection enabled deployments and used primarily for parallel Weld bootstrapping.",
          "expressions-allowed" : true,
          "required" : false,
          "nillable" : true,
          "min" : 1,
          "max" : 2147483647,
          "stability" : "default",
          "access-type" : "read-write",
          "storage" : "configuration",
          "restart-required" : "all-services",
          "capability-reference" : null
      }

## Operations (2)

- add - Operation creating the weld subsystem.

  Request Parameter | Type | Required | Expressions Allowed | Default value | Description
  --- | --- | --- | --- | --- | ---
  development-mode | BOOLEAN | false | true | false | Weld comes with a special mode for application development. When the development mode is enabled, certain built-in tools, which facilitate the development of Jakarta Contexts and Dependency Injection applications are available. Setting this attribute to true activates the development mode.
  legacy-empty-beans-xml-treatment | BOOLEAN | false | true | false | If true, all bean archives with empty beans.xml are considered to have discovery mode ALL.
  non-portable-mode | BOOLEAN | false | true | false | If true, then the non-portable mode is enabled. The non-portable mode is suggested by the specification to overcome problems with legacy applications that do not use Jakarta Contexts and Dependency Injection SPI properly and may be rejected by more strict validation in CDI 1.1.
  require-bean-descriptor | BOOLEAN | false | true | false | If true, then implicit bean archives without a bean descriptor file (beans.xml) are ignored by Weld.
  thread-pool-size | INT | false | true |  | The number of threads to be used by the Weld thread pool. The pool is shared across all Jakarta Contexts and Dependency Injection enabled deployments and used primarily for parallel Weld bootstrapping.

  Raw DMR model |
      {
          "operation-name" : "add",
          "description" : "Operation creating the weld subsystem.",
          "request-properties" : {
              "development-mode" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "BOOLEAN"
                  },
                  "description" : "Weld comes with a special mode for application development. When the development mode is enabled, certain built-in tools, which facilitate the development of Jakarta Contexts and Dependency Injection applications are available. Setting this attribute to true activates the development mode.",
                  "expressions-allowed" : true,
                  "required" : false,
                  "nillable" : true,
                  "default" : false,
                  "stability" : "default",
                  "deprecated" : {
                      "since" : "5.0.0",
                      "reason" : "Development mode is no longer supported on servers running the current version."
                  }
              },
              "legacy-empty-beans-xml-treatment" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "BOOLEAN"
                  },
                  "description" : "If true, all bean archives with empty beans.xml are considered to have discovery mode ALL.",
                  "expressions-allowed" : true,
                  "required" : false,
                  "nillable" : true,
                  "default" : false,
                  "stability" : "default"
              },
              "non-portable-mode" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "BOOLEAN"
                  },
                  "description" : "If true, then the non-portable mode is enabled. The non-portable mode is suggested by the specification to overcome problems with legacy applications that do not use Jakarta Contexts and Dependency Injection SPI properly and may be rejected by more strict validation in CDI 1.1.",
                  "expressions-allowed" : true,
                  "required" : false,
                  "nillable" : true,
                  "default" : false,
                  "stability" : "default"
              },
              "require-bean-descriptor" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "BOOLEAN"
                  },
                  "description" : "If true, then implicit bean archives without a bean descriptor file (beans.xml) are ignored by Weld.",
                  "expressions-allowed" : true,
                  "required" : false,
                  "nillable" : true,
                  "default" : false,
                  "stability" : "default"
              },
              "thread-pool-size" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "INT"
                  },
                  "description" : "The number of threads to be used by the Weld thread pool. The pool is shared across all Jakarta Contexts and Dependency Injection enabled deployments and used primarily for parallel Weld bootstrapping.",
                  "expressions-allowed" : true,
                  "required" : false,
                  "nillable" : true,
                  "min" : 1,
                  "max" : 2147483647,
                  "stability" : "default"
              }
          },
          "reply-properties" : {},
          "stability" : "default",
          "read-only" : false,
          "runtime-only" : false
      }

- remove - Operation removing the weld subsystem.

  Raw DMR model |
      {
          "operation-name" : "remove",
          "description" : "Operation removing the weld subsystem.",
          "request-properties" : {},
          "reply-properties" : {},
          "stability" : "default",
          "read-only" : false,
          "restart-required" : "all-services",
          "runtime-only" : false
      }

## Galleon Features

Galleon features are to be used when creating Galleon feature-packs.

- subsystem.weld

      <feature spec="subsystem.weld">
        <param name="development-mode" value="{value}"/>
        <param name="legacy-empty-beans-xml-treatment" value="{value}"/>
        <param name="non-portable-mode" value="{value}"/>
        <param name="require-bean-descriptor" value="{value}"/>
        <param name="thread-pool-size" value="{value}"/>
      <feature/>