btconfig.xsd
上传用户:xfwatch
上传日期:2020-12-14
资源大小:872k
文件大小:10k
- <?xml version="1.0"?>
- <!--
- JBoss, Home of Professional Open Source Copyright 2008, Red Hat
- Middleware LLC, and others contributors as indicated by the @authors
- tag. All rights reserved. See the copyright.txt in the distribution
- for a full listing of individual contributors. This copyrighted
- material is made available to anyone wishing to use, modify, copy, or
- redistribute it subject to the terms and conditions of the GNU Lesser
- General Public License, v. 2.1. This program is distributed in the
- hope that it will be useful, but WITHOUT A WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE. See the GNU Lesser General Public License for more details.
- You should have received a copy of the GNU Lesser General Public
- License, v.2.1 along with this distribution; if not, write to the Free
- Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA.
- -->
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://www.jboss.org/blacktie" xmlns="http://www.jboss.org/blacktie"
- elementFormDefault="qualified">
- <xsd:simpleType name="svcstring">
- <xsd:restriction base="xsd:string">
- <xsd:minLength value="1" />
- <xsd:maxLength value="15" />
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:simpleType name="svrstring">
- <xsd:restriction base="xsd:string">
- <xsd:minLength value="1" />
- <xsd:maxLength value="7" />
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:simpleType name="buffername">
- <xsd:restriction base="xsd:string">
- <xsd:minLength value="1" />
- <xsd:maxLength value="16" />
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:simpleType name="attributeType">
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="short" />
- <xsd:enumeration value="int" />
- <xsd:enumeration value="long" />
- <xsd:enumeration value="float" />
- <xsd:enumeration value="double" />
- <xsd:enumeration value="char" />
- <xsd:enumeration value="char[]" />
- <xsd:enumeration value="short[]" />
- <xsd:enumeration value="int[]" />
- <xsd:enumeration value="long[]" />
- <xsd:enumeration value="float[]" />
- <xsd:enumeration value="double[]" />
- <xsd:enumeration value="char[][]" />
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:simpleType name="arrayCount">
- <xsd:restriction base="xsd:int">
- <xsd:minInclusive value="1" />
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:simpleType name="arrayLength">
- <xsd:restriction base="xsd:int">
- <xsd:minInclusive value="1" />
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:element name="ENVIRONMENT">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="DOMAIN" type="xsd:string" />
- <xsd:element name="VERSION" minOccurs="0" maxOccurs="1" />
- <xsd:element name="MACHINES" minOccurs="0" maxOccurs="1">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="MACHINE" minOccurs="1" maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:attribute name="id" type="xsd:string" />
- <xsd:attribute name="hostname" type="xsd:string" />
- <xsd:attribute name="pathToExecutable" type="xsd:string" />
- <xsd:attribute name="workingDirectory" type="xsd:string" />
- <xsd:attribute name="serverId" type="xsd:int" />
- <xsd:attribute name="argLine" type="xsd:string"
- use="optional" />
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="SERVERS" minOccurs="0" maxOccurs="1">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="SERVER" minOccurs="1" maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="MACHINE-REF" minOccurs="0"
- maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:attribute name="id" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="security" minOccurs="0"
- maxOccurs="1">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="role" minOccurs="1"
- maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:attribute name="name" type="xsd:string" />
- <xsd:attribute name="read" type="xsd:boolean" />
- <xsd:attribute name="write" type="xsd:boolean" />
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="SERVICE_NAMES">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="SERVICE" minOccurs="1"
- maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="security" minOccurs="0"
- maxOccurs="1">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="role" minOccurs="1"
- maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:attribute name="name" type="xsd:string" />
- <xsd:attribute name="read" type="xsd:boolean" />
- <xsd:attribute name="write" type="xsd:boolean" />
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="LIBRARY_NAME" minOccurs="0"
- maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:attribute name="configuration"
- type="xsd:string" use="required" />
- <xsd:attribute name="value" type="xsd:string"
- use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- <xsd:attribute name="name" type="svcstring"
- use="required" />
- <xsd:attribute name="function_name" type="xsd:string" />
- <xsd:attribute name="java_class_name" type="xsd:string" />
- <xsd:attribute name="advertised" type="xsd:boolean"
- default="false" />
- <xsd:attribute name="size" type="xsd:integer" />
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- <xsd:attribute name="name" type="svrstring" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="XA_RESOURCES" minOccurs="0">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="XA_RESOURCE" minOccurs="1"
- maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="XA_RESOURCE_MGR_ID" type="xsd:string" />
- <xsd:element name="XA_RESOURCE_NAME" type="xsd:string" />
- <xsd:element name="XA_OPEN_STRING" type="xsd:string" />
- <xsd:element name="XA_CLOSE_STRING" type="xsd:string" />
- <xsd:element name="XA_SWITCH" type="xsd:string" />
- <xsd:element name="XA_LIB_NAME" type="xsd:string" />
- </xsd:sequence>
- <xsd:attribute name="configuration" type="xsd:string"
- use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ORB" minOccurs="1" maxOccurs="1">
- <xsd:complexType>
- <xsd:attribute name="OPT" type="xsd:string" use="required" />
- <xsd:attribute name="TRANS_FACTORY_ID" type="xsd:string"
- use="required" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="MQ" minOccurs="1" maxOccurs="1">
- <xsd:complexType>
- <xsd:attribute name="HOST" type="xsd:string" use="required" />
- <xsd:attribute name="PORT" type="xsd:int" use="required" />
- <xsd:attribute name="USER" type="xsd:string" use="required" />
- <xsd:attribute name="PASSWORD" type="xsd:string"
- use="required" />
- <xsd:attribute name="DESTINATION_TIMEOUT" type="xsd:int"
- use="required" />
- <xsd:attribute name="RECEIVE_TIMEOUT" type="xsd:int"
- use="required" />
- <xsd:attribute name="TIME_TO_LIVE" type="xsd:int"
- use="required" />
- <xsd:attribute name="NAMING_URL" type="xsd:string"
- use="optional" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="JMX" minOccurs="0" maxOccurs="1">
- <xsd:complexType>
- <xsd:attribute name="url" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ENV_VARIABLES" minOccurs="0"
- maxOccurs="1">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="ENV_VARIABLE" minOccurs="1"
- maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="NAME" type="xsd:string"
- minOccurs="1" maxOccurs="unbounded" />
- <xsd:element name="VALUE" type="xsd:string"
- minOccurs="1" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="configuration" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="BUFFERS" minOccurs="0" maxOccurs="1">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="BUFFER" minOccurs="1" maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="ATTRIBUTE" minOccurs="1"
- maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:attribute name="id" type="xsd:string"
- use="required" />
- <xsd:attribute name="type" type="attributeType"
- use="required" />
- <xsd:attribute name="arrayCount" type="arrayCount"
- use="optional" />
- <xsd:attribute name="arrayLength" type="arrayLength"
- use="optional" />
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- <xsd:attribute name="name" type="buffername" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>