jboss-as-jacorb_1_0.xsd 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ JBoss, Home of Professional Open Source.
  4. ~ Copyright 2011, Red Hat, Inc., and individual contributors
  5. ~ as indicated by the @author tags. See the copyright.txt file in the
  6. ~ distribution for a full listing of individual contributors.
  7. ~
  8. ~ This is free software; you can redistribute it and/or modify it
  9. ~ under the terms of the GNU Lesser General Public License as
  10. ~ published by the Free Software Foundation; either version 2.1 of
  11. ~ the License, or (at your option) any later version.
  12. ~
  13. ~ This software is distributed in the hope that it will be useful,
  14. ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. ~ Lesser General Public License for more details.
  17. ~
  18. ~ You should have received a copy of the GNU Lesser General Public
  19. ~ License along with this software; if not, write to the Free
  20. ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  21. ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  22. -->
  23. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  24. targetNamespace="urn:jboss:domain:jacorb:1.0"
  25. xmlns="urn:jboss:domain:jacorb:1.0"
  26. elementFormDefault="qualified"
  27. attributeFormDefault="unqualified"
  28. version="1.0">
  29. <!-- The jacorb subsystem root element -->
  30. <xs:element name="subsystem" type="jacorbSubsystemType"/>
  31. <xs:complexType name="jacorbSubsystemType">
  32. <xs:annotation>
  33. <xs:documentation>
  34. <![CDATA[
  35. The jacorbSubsystemType specifies the elements that can be used to configure the various aspects of the
  36. jacorb subsystem.
  37. - orb: holds the attributes used to configure the Object Request Broken (ORB).
  38. - poa: holds the attributes used to configure the Portable Object Adapters (POA).
  39. - interop: holds the attributes that control the ORB interoperability features.
  40. - security: holds the attributes that control the ORB security features.
  41. - property: allows for the specification of generic key/value properties.
  42. - initializers: holds the list of ORB initializers that are to be installed.
  43. ]]>
  44. </xs:documentation>
  45. </xs:annotation>
  46. <xs:sequence>
  47. <xs:element name="orb" minOccurs="0" maxOccurs="1" type="orbConfigType"/>
  48. <xs:element name="poa" minOccurs="0" maxOccurs="1" type="poaConfigType"/>
  49. <xs:element name="interop" minOccurs="0" maxOccurs="1" type="interopConfigType"/>
  50. <xs:element name="security" minOccurs="0" maxOccurs="1" type="securityConfigType"/>
  51. <xs:element name="property" minOccurs="0" maxOccurs="unbounded" type="genericPropertyType"/>
  52. <xs:element name="initializers" minOccurs="0" maxOccurs="1" type="xs:string"/>
  53. </xs:sequence>
  54. </xs:complexType>
  55. <xs:complexType name="orbConfigType">
  56. <xs:annotation>
  57. <xs:documentation>
  58. <![CDATA[
  59. the orbConfigType specifies the elements and attributes that can be used to configure the behavior of the
  60. Object Request Broker (ORB).
  61. - connection: this element allows for the configuration of the connection properties.
  62. - naming: this element allows for the configuration of the naming initial reference.
  63. * name: the name of the running ORB.
  64. * print-version: indicates whether the version number should be printed during ORB startup (on) or not (off).
  65. * use-imr: indicates whether the implementation repository should be used (on) or not (off).
  66. * use-bom: indicates whether GIOP 1.2 byte order markers should be used (on) or not (off).
  67. * cache-typecodes: indicates whether typecodes should be cached (on) or not (off).
  68. * cache-poa-names: indicates whether POA names should be cached (on) or not (off).
  69. * giop-minor-version: the GIOP minor version to be used.
  70. ]]>
  71. </xs:documentation>
  72. </xs:annotation>
  73. <xs:sequence>
  74. <xs:element name="connection" minOccurs="0" maxOccurs="1" type="orbConnectionConfigType"/>
  75. <xs:element name="naming" minOccurs="0" maxOccurs="1" type="orbNamingConfigType"/>
  76. </xs:sequence>
  77. <xs:attribute name="name" type="xs:string" use="optional" default="JBoss"/>
  78. <xs:attribute name="print-version" type="xs:string" use="optional" default="off"/>
  79. <xs:attribute name="use-imr" type="xs:string" use="optional" default="off"/>
  80. <xs:attribute name="use-bom" type="xs:string" use="optional" default="off"/>
  81. <xs:attribute name="cache-typecodes" type="xs:string" use="optional" default="off"/>
  82. <xs:attribute name="cache-poa-names" type="xs:string" use="optional" default="off"/>
  83. <xs:attribute name="giop-minor-version" type="xs:integer" use="optional" default="2"/>
  84. </xs:complexType>
  85. <xs:complexType name="orbConnectionConfigType">
  86. <xs:annotation>
  87. <xs:documentation>
  88. <![CDATA[
  89. The orbConnectionConfigType specifies the attributes used to configure the ORB connections.
  90. * retries: the number of retries if connections cannot be promptly established.
  91. * retry-interval: the interval in milliseconds between retries.
  92. * client-timeout: the client-side connection timeout value in milliseconds. A value of zero indicates that
  93. the connection never times out.
  94. * server-timeout: the server-side connection timeout value in milliseconds. A value of zero indicates that
  95. the connection never times out.
  96. * max-server-connections: the maximum number of connections accepted by the server.
  97. * max-managed-buf-size: the log2 of maximum size managed by the internal buffer manager.
  98. * outbuf-size: the size of the network buffers for outgoing messages.
  99. * outbuf-cache-timeout: the buffer cache timeout in milliseconds.
  100. ]]>
  101. </xs:documentation>
  102. </xs:annotation>
  103. <xs:attribute name="retries" type="xs:integer" use="optional" default="5"/>
  104. <xs:attribute name="retry-interval" type="xs:integer" use="optional" default="500"/>
  105. <xs:attribute name="client-timeout" type="xs:integer" use="optional" default="0"/>
  106. <xs:attribute name="server-timeout" type="xs:integer" use="optional" default="0"/>
  107. <xs:attribute name="max-server-connections" type="xs:integer" use="optional"/>
  108. <xs:attribute name="max-managed-buf-size" type="xs:integer" use="optional" default="24"/>
  109. <xs:attribute name="outbuf-size" type="xs:integer" use="optional" default="2048"/>
  110. <xs:attribute name="outbuf-cache-timeout" type="xs:integer" use="optional" default="-1"/>
  111. </xs:complexType>
  112. <xs:complexType name="orbNamingConfigType">
  113. <xs:annotation>
  114. <xs:documentation>
  115. <![CDATA[
  116. The orbNamingConfigType specifies the attributes used to configure the naming service.
  117. * root-context: the naming service root context.
  118. * export-corbaloc: indicates whether the root context should be exported as corbaloc::address:port/NameService
  119. (on) or not (off).
  120. ]]>
  121. </xs:documentation>
  122. </xs:annotation>
  123. <xs:attribute name="root-context" type="xs:string" use="optional" default="JBoss/Naming/root"/>
  124. <xs:attribute name="export-corbaloc" type="xs:string" use="optional" default="on"/>
  125. </xs:complexType>
  126. <xs:complexType name="poaConfigType">
  127. <xs:annotation>
  128. <xs:documentation>
  129. <![CDATA[
  130. The poaConfigType specifies the elements and attributes used to configure the Portable Object Adapterss (POA).
  131. - request-processors: element that allows for the configuration of the POA request processors.
  132. * monitoring: indicates whether the monitoring GUI should be displayed (on) or not (off).
  133. * queue-wait: indicates whether requests that exceed the maximum queue size should wait (on) or not (off).
  134. When disabled, a TRANSIENT exception is thrown if the queue is full.
  135. * queue-min: the size of the queue for notifying waiting requests. In other words, blocked requests are
  136. only notified when the queue has no more than queue-min requests.
  137. * queue-max: the maximum number of requests that can be queued. If new requests arrive and queue-wait is
  138. on, the exceeding requests will be blocked until the queue reaches its minimum value.
  139. ]]>
  140. </xs:documentation>
  141. </xs:annotation>
  142. <xs:all>
  143. <xs:element name="request-processors" minOccurs="0" maxOccurs="1" type="poaRequestProcessorsConfigType"/>
  144. </xs:all>
  145. <xs:attribute name="monitoring" type="xs:string" use="optional" default="off"/>
  146. <xs:attribute name="queue-wait" type="xs:string" use="optional" default="off"/>
  147. <xs:attribute name="queue-min" type="xs:integer" use="optional" default="10"/>
  148. <xs:attribute name="queue-max" type="xs:integer" use="optional" default="100"/>
  149. </xs:complexType>
  150. <xs:complexType name="poaRequestProcessorsConfigType">
  151. <xs:annotation>
  152. <xs:documentation>
  153. <![CDATA[
  154. The poaRequestProcessorsConfigType specifies the attributes used to configure the POA request processors.
  155. * pool-size: the size of the request processors thread-pool. Threads that finish processing a request are
  156. placed back in the pool if the pool is not full and discarded otherwise.
  157. * max-threads: the maximum number of active request processor threads. Threads are first obtained from
  158. the pool and once the pool is exhausted new threads are created until the number of threads
  159. reaches this limit. New requests will wait until an active thread finishes its job.
  160. ]]>
  161. </xs:documentation>
  162. </xs:annotation>
  163. <xs:attribute name="pool-size" type="xs:integer" use="optional" default="5"/>
  164. <xs:attribute name="max-threads" type="xs:integer" use="optional" default="20"/>
  165. </xs:complexType>
  166. <xs:complexType name="interopConfigType">
  167. <xs:annotation>
  168. <xs:documentation>
  169. <![CDATA[
  170. The interopConfigType specifies the attributes used to configure the ORB interoperability features.
  171. * sun: indicates whether interoperability with Sun's ORB is enabled (on) or not (off).
  172. * comet: indicates whether interoperability with Comet's ORB is enabled (on) or not (off).
  173. * chunk-custom-rmi-valuetypes: indicates whether custom RMI valuetypes should be encoded as chunks (on)
  174. or not (off).
  175. * lax-boolean-encoding: indicates whether any non-zero CDR encoded boolean value should be interpreted as
  176. true (on) or not (off).
  177. * indirection-encoding-disabled: indicates whether indirection encoding for repeated typecodes should be
  178. enabled (on) or not (off).
  179. * strict-check-on-tc-creation: indicates whether the method create_abstract_interface_tc should perform
  180. a validation check on the name parameter (on) or not (off).
  181. ]]>
  182. </xs:documentation>
  183. </xs:annotation>
  184. <xs:attribute name="sun" type="xs:string" use="optional" default="on"/>
  185. <xs:attribute name="comet" type="xs:string" use="optional" default="off"/>
  186. <xs:attribute name="chunk-custom-rmi-valuetypes" type="xs:string" use="optional" default="on"/>
  187. <xs:attribute name="lax-boolean-encoding" type="xs:string" use="optional" default="off"/>
  188. <xs:attribute name="indirection-encoding-disable" type="xs:string" use="optional" default="off"/>
  189. <xs:attribute name="strict-check-on-tc-creation" type="xs:string" use="optional" default="off"/>
  190. </xs:complexType>
  191. <xs:complexType name="securityConfigType">
  192. <xs:annotation>
  193. <xs:documentation>
  194. <![CDATA[
  195. The securityConfigType specifies the attributes used to configure the ORB security features.
  196. * support-ssl: indicates whether SSL is to be supported (on) or not (off).
  197. * add-component-via-interceptor: indicates whether SSL components should be added by an IOR interceptor
  198. (on) or not (off).
  199. * client-supports: value that indicates the client SSL supported parameters (EstablishTrustInTarget=20,
  200. EstablishTrustInClient=40, MutualAuth=60).
  201. * client-requires: value that indicates the client SSL required parameters (EstablishTrustInTarget=20,
  202. EstablishTrustInClient=40, MutualAuth=60).
  203. * server-supports: value that indicates the server SSL supported parameters (EstablishTrustInTarget=20,
  204. EstablishTrustInClient=40, MutualAuth=60).
  205. * server-requires: value that indicates the server SSL required parameters (EstablishTrustInTarget=20,
  206. EstablishTrustInClient=40, MutualAuth=60).
  207. * use-domain-socket-factory: indicates whether the JBoss domain socket factory should be used (on) or
  208. not (off).
  209. * use-domain-server-socket-factory: indicates whether the JBoss domain server socket factory should be
  210. used (on) or not (off).
  211. ]]>
  212. </xs:documentation>
  213. </xs:annotation>
  214. <xs:attribute name="support-ssl" type="xs:string" use="optional" default="off"/>
  215. <xs:attribute name="add-component-via-interceptor" type="xs:string" use="optional" default="on"/>
  216. <xs:attribute name="client-supports" type="xs:integer" use="optional" default="60"/>
  217. <xs:attribute name="client-requires" type="xs:integer" use="optional" default="0"/>
  218. <xs:attribute name="server-supports" type="xs:integer" use="optional" default="60"/>
  219. <xs:attribute name="server-requires" type="xs:integer" use="optional" default="0"/>
  220. <xs:attribute name="use-domain-socket-factory" type="xs:string" use="optional" default="off"/>
  221. <xs:attribute name="use-domain-server-socket-factory" type="xs:string" use="optional" default="off"/>
  222. </xs:complexType>
  223. <xs:complexType name="genericPropertyType">
  224. <xs:annotation>
  225. <xs:documentation>
  226. <![CDATA[
  227. The property element allows for the specification of generic key/value properties. It is useful to specify
  228. attributes that have not been covered in this schema.
  229. ]]>
  230. </xs:documentation>
  231. </xs:annotation>
  232. <xs:attribute name="key" type="xs:string" use="required"/>
  233. <xs:attribute name="value" type="xs:string" use="required"/>
  234. </xs:complexType>
  235. </xs:schema>