123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- targetNamespace="urn:jboss:domain:jca:1.0"
- xmlns="urn:jboss:domain:jca:1.0"
- xmlns:threads="urn:jboss:domain:threads:1.0"
- elementFormDefault="qualified"
- attributeFormDefault="unqualified"
- version="1.0" xmlns:pref="urn:jboss:domain:threads:1.0">
- <xs:import namespace="urn:jboss:domain:threads:1.0" schemaLocation="jboss-as-threads_1_0.xsd"/>
- <xs:element name="subsystem" type="subsystemType"/>
- <xs:complexType name="subsystemType">
- <xs:all>
- <xs:element name="archive-validation"
- type="archive-validationType" minOccurs="0">
- <xs:annotation>
- <xs:documentation>
- Toggle archive validation for the deployment
- units. If it's not present it's considered true
- with default attributes.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="bean-validation"
- type="bean-validationType" minOccurs="0">
- <xs:annotation>
- <xs:documentation>
- Toggle bean validation (JSR-303) for the
- deployment units. If it's not present it's
- considered true
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="default-workmanager"
- type="default-workmanagerType" minOccurs="1">
- <xs:annotation>
- <xs:documentation>
- Configurations for thread pools used by default
- workmanager
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="cached-connection-manager" type="cached-connection-managerType" minOccurs="0" maxOccurs="1"></xs:element>
- </xs:all>
- </xs:complexType>
- <xs:complexType name="archive-validationType">
- <xs:attribute name="enabled" type="xs:boolean" default="true" use="optional">
- <xs:annotation>
- <xs:documentation>
- Specify whether archive validation is enabled. Default: true
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="fail-on-error" type="xs:boolean" default="true" use="optional">
- <xs:annotation>
- <xs:documentation>
- Should an archive validation error report fail the deployment. Default: true
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="fail-on-warn" type="xs:boolean" default="false" use="optional">
- <xs:annotation>
- <xs:documentation>
- Should an archive validation warning report fail the deployment. Default: false
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="bean-validationType">
- <xs:attribute name="enabled" type="xs:boolean" use="required">
- <xs:annotation>
- <xs:documentation>
- Specify whether bean validation is enabled.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="default-workmanagerType">
- <xs:all>
- <xs:element name="short-running-threads" type="thread-pool" maxOccurs="1" minOccurs="1"></xs:element>
- <xs:element name="long-running-threads" type="thread-pool" maxOccurs="1" minOccurs="0"></xs:element>
- </xs:all>
- </xs:complexType>
- <xs:complexType name="cached-connection-managerType">
- <xs:attribute name="debug" type="xs:boolean" use="optional"></xs:attribute>
- <xs:attribute name="error" type="xs:boolean" use="optional"></xs:attribute>
- </xs:complexType>
- <xs:complexType name="thread-pool">
- <xs:annotation>
- <xs:documentation>
- <![CDATA[
- See threads:bounded-queue-thread-pool.
- ]]>
- </xs:documentation>
- </xs:annotation>
- <xs:all>
- <xs:element name="core-threads" type="threads:scaled-count" minOccurs="0"/>
- <xs:element name="queue-length" type="threads:scaled-count"/>
- <xs:element name="max-threads" type="threads:scaled-count"/>
- <xs:element name="keepalive-time" type="threads:time" minOccurs="0"/>
- <xs:element name="thread-factory" type="threads:ref" minOccurs="0"/>
- <xs:element name="handoff-executor" type="threads:ref" minOccurs="0"/>
- <xs:element name="properties" type="threads:properties" minOccurs="0"/>
- </xs:all>
- <xs:attribute name="allow-core-timeout" use="optional" type="xs:boolean"/>
- <xs:attribute name="blocking" use="optional" type="xs:boolean"/>
- </xs:complexType>
- </xs:schema>
|