jboss-as-resource-adapters_1_1.xsd 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726
  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:resource-adapters:1.1" xmlns="urn:jboss:domain:resource-adapters:1.1"
  25. elementFormDefault="qualified" attributeFormDefault="unqualified">
  26. <xs:element name="subsystem" type="subsystemType"/>
  27. <xs:complexType name="subsystemType">
  28. <xs:all>
  29. <xs:element name="resource-adapters" type="resource-adaptersType" minOccurs="0" maxOccurs="1"/>
  30. </xs:all>
  31. </xs:complexType>
  32. <xs:complexType name="boolean-presenceType"></xs:complexType>
  33. <xs:complexType name="config-propertyType" mixed="true">
  34. <xs:annotation>
  35. <xs:documentation>
  36. <![CDATA[[
  37. Specifies an override for a config-property element in ra.xml or a @ConfigProperty
  38. ]]>
  39. </xs:documentation>
  40. </xs:annotation>
  41. <xs:simpleContent>
  42. <xs:extension base="xs:token">
  43. <xs:attribute use="required" name="name" type="xs:token">
  44. <xs:annotation>
  45. <xs:documentation>
  46. <![CDATA[[
  47. Specifies the name of the config-property
  48. ]]>
  49. </xs:documentation>
  50. </xs:annotation>
  51. </xs:attribute>
  52. </xs:extension>
  53. </xs:simpleContent>
  54. </xs:complexType>
  55. <xs:complexType name="resource-adapterType">
  56. <xs:sequence>
  57. <xs:element name="archive" type="xs:token" minOccurs="0" maxOccurs="1">
  58. <xs:annotation>
  59. <xs:documentation>
  60. <![CDATA[[
  61. Specifies the resource adapter archive to be activated
  62. E.g. <archive>myra.rar</archive>
  63. ]]>
  64. </xs:documentation>
  65. </xs:annotation>
  66. </xs:element>
  67. <xs:element name="module" type="moduleType" minOccurs="0" maxOccurs="1">
  68. <xs:annotation>
  69. <xs:documentation>
  70. <![CDATA[[
  71. Specifies the resource adapter module to be activated
  72. E.g. <archive>org.jboss.ironjacamar.ra16out</archive>
  73. ]]>
  74. </xs:documentation>
  75. </xs:annotation>
  76. </xs:element>
  77. <xs:element name="bean-validation-groups" type="bean-validation-groupsType" minOccurs="0" maxOccurs="1">
  78. <xs:annotation>
  79. <xs:documentation>
  80. <![CDATA[[
  81. Specifies bean validation group that should be used
  82. ]]>
  83. </xs:documentation>
  84. </xs:annotation>
  85. </xs:element>
  86. <xs:element name="bootstrap-context" type="xs:token" minOccurs="0" maxOccurs="1">
  87. <xs:annotation>
  88. <xs:documentation>
  89. <![CDATA[[
  90. Specifies the unique name of the bootstrap context that should be used
  91. ]]>
  92. </xs:documentation>
  93. </xs:annotation>
  94. </xs:element>
  95. <xs:element name="config-property" type="config-propertyType" minOccurs="0" maxOccurs="unbounded">
  96. <xs:annotation>
  97. <xs:documentation>
  98. <![CDATA[[
  99. The config-property specifies resource adapter configuration properties.
  100. ]]>
  101. </xs:documentation>
  102. </xs:annotation>
  103. </xs:element>
  104. <xs:element name="transaction-support" type="transaction-supportType" minOccurs="0">
  105. <xs:annotation>
  106. <xs:documentation>
  107. <![CDATA[[
  108. Specifies the transaction support level of the resource adapter
  109. ]]>
  110. </xs:documentation>
  111. </xs:annotation>
  112. </xs:element>
  113. <xs:element name="connection-definitions" type="connection-definitionsType" minOccurs="0" maxOccurs="1">
  114. <xs:annotation>
  115. <xs:documentation>
  116. <![CDATA[[
  117. Specifies the connection definitions
  118. ]]>
  119. </xs:documentation>
  120. </xs:annotation>
  121. </xs:element>
  122. <xs:element name="admin-objects" type="admin-objectsType" minOccurs="0" maxOccurs="1">
  123. <xs:annotation>
  124. <xs:documentation>
  125. <![CDATA[[
  126. Specifies the administration objects
  127. ]]>
  128. </xs:documentation>
  129. </xs:annotation>
  130. </xs:element>
  131. </xs:sequence>
  132. <xs:attribute name="id" type="xs:token" use="optional">
  133. <xs:annotation>
  134. <xs:documentation>
  135. <![CDATA[[
  136. An unique identifier for the resource adapter
  137. ]]>
  138. </xs:documentation>
  139. </xs:annotation>
  140. </xs:attribute>
  141. </xs:complexType>
  142. <xs:simpleType name="transaction-supportType">
  143. <xs:annotation>
  144. <xs:documentation>
  145. <![CDATA[[
  146. Define the type of transaction supported by this resource adapter.
  147. Valid values are: NoTransaction, LocalTransaction, XATransaction
  148. ]]>
  149. </xs:documentation>
  150. </xs:annotation>
  151. <xs:restriction base="xs:token">
  152. <xs:enumeration value="NoTransaction" />
  153. <xs:enumeration value="LocalTransaction" />
  154. <xs:enumeration value="XATransaction" />
  155. </xs:restriction>
  156. </xs:simpleType>
  157. <xs:attributeGroup name="common-attribute">
  158. <xs:attribute name="class-name" type="xs:token" use="optional">
  159. <xs:annotation>
  160. <xs:documentation>
  161. <![CDATA[[
  162. Specifies the the fully qualified class name of a managed connection factory
  163. or admin object
  164. ]]>
  165. </xs:documentation>
  166. </xs:annotation>
  167. </xs:attribute>
  168. <xs:attribute name="jndi-name" type="xs:token" use="required">
  169. <xs:annotation>
  170. <xs:documentation>
  171. <![CDATA[[
  172. Specifies the JNDI name
  173. ]]>
  174. </xs:documentation>
  175. </xs:annotation>
  176. </xs:attribute>
  177. <xs:attribute name="enabled" type="xs:boolean" default="true" form="unqualified" use="optional">
  178. <xs:annotation>
  179. <xs:documentation>
  180. <![CDATA[[
  181. Should the object in question be activated
  182. ]]>
  183. </xs:documentation>
  184. </xs:annotation>
  185. </xs:attribute>
  186. <xs:attribute default="true" name="use-java-context" type="xs:boolean">
  187. <xs:annotation>
  188. <xs:documentation>
  189. <![CDATA[[
  190. Specifies if a java:/ JNDI context should be used
  191. ]]>
  192. </xs:documentation>
  193. </xs:annotation>
  194. </xs:attribute>
  195. <xs:attribute name="pool-name" type="xs:token" use="optional">
  196. <xs:annotation>
  197. <xs:documentation>
  198. <![CDATA[[
  199. Specifies the pool name for the object
  200. ]]>
  201. </xs:documentation>
  202. </xs:annotation>
  203. </xs:attribute>
  204. </xs:attributeGroup>
  205. <xs:complexType name="admin-objectType">
  206. <xs:sequence>
  207. <xs:element name="config-property" type="config-propertyType" minOccurs="0" maxOccurs="unbounded">
  208. <xs:annotation>
  209. <xs:documentation>
  210. <![CDATA[[
  211. The config-property specifies administration object configuration properties.
  212. ]]>
  213. </xs:documentation>
  214. </xs:annotation>
  215. </xs:element>
  216. </xs:sequence>
  217. <xs:attributeGroup ref="common-attribute"></xs:attributeGroup>
  218. </xs:complexType>
  219. <xs:complexType name="timeoutType">
  220. <xs:sequence>
  221. <xs:element name="blocking-timeout-millis" type="xs:nonNegativeInteger" minOccurs="0">
  222. <xs:annotation>
  223. <xs:documentation>
  224. <![CDATA[[
  225. The blocking-timeout-millis element indicates the maximum time in
  226. milliseconds to block while waiting for a connection before throwing an exception.
  227. Note that this blocks only while waiting for a permit for a connection, and
  228. will never throw an exception if creating a new connection takes an inordinately
  229. long time. The default is 30000 (30 seconds).
  230. ]]>
  231. </xs:documentation>
  232. </xs:annotation>
  233. </xs:element>
  234. <xs:element name="idle-timeout-minutes" type="xs:nonNegativeInteger" minOccurs="0">
  235. <xs:annotation>
  236. <xs:documentation>
  237. <![CDATA[[
  238. The idle-timeout-minutes elements indicates the maximum time in minutes
  239. a connection may be idle before being closed. The actual maximum time depends
  240. also on the IdleRemover scan time, which is 1/2 the smallest idle-timeout-minutes
  241. of any pool.
  242. ]]>
  243. </xs:documentation>
  244. </xs:annotation>
  245. </xs:element>
  246. <xs:element name="allocation-retry" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1">
  247. <xs:annotation>
  248. <xs:documentation>
  249. <![CDATA[[
  250. The allocation retry element indicates the number of times that allocating
  251. a connection should be tried before throwing an exception. The default is
  252. 0.
  253. ]]>
  254. </xs:documentation>
  255. </xs:annotation>
  256. </xs:element>
  257. <xs:element name="allocation-retry-wait-millis" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1">
  258. <xs:annotation>
  259. <xs:documentation>
  260. <![CDATA[[
  261. The allocation retry wait millis element indicates the time in milliseconds
  262. to wait between retrying to allocate a connection. The default is 5000 (5
  263. seconds).
  264. ]]>
  265. </xs:documentation>
  266. </xs:annotation>
  267. </xs:element>
  268. <xs:element name="xa-resource-timeout" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1">
  269. <xs:annotation>
  270. <xs:documentation>
  271. <![CDATA[[
  272. Passed to XAResource.setTransactionTimeout(). Default is zero which does not invoke the setter.
  273. Specified in seconds - e.g. 5 minutes
  274. <xa-resource-timeout>300</xa-resource-timeout>
  275. ]]>
  276. </xs:documentation>
  277. </xs:annotation>
  278. </xs:element>
  279. </xs:sequence>
  280. </xs:complexType>
  281. <xs:complexType name="validationType">
  282. <xs:sequence>
  283. <xs:element name="background-validation" type="xs:boolean" minOccurs="0">
  284. <xs:annotation>
  285. <xs:documentation>
  286. <![CDATA[[
  287. An element to specify that connections should be validated on a background
  288. thread versus being validated prior to use
  289. ]]>
  290. </xs:documentation>
  291. </xs:annotation>
  292. </xs:element>
  293. <xs:element name="background-validation-millis" type="xs:nonNegativeInteger" minOccurs="0">
  294. <xs:annotation>
  295. <xs:documentation>
  296. <![CDATA[[
  297. The background-validation-millis element specifies the amount of
  298. time, in millis, that background validation will run.
  299. ]]>
  300. </xs:documentation>
  301. </xs:annotation>
  302. </xs:element>
  303. <xs:element name="use-fast-fail" type="xs:boolean" minOccurs="0">
  304. <xs:annotation>
  305. <xs:documentation>
  306. <![CDATA[[
  307. Whether fail a connection allocation on the first connection if it
  308. is invalid (true) or keep trying until the pool is exhausted of all potential
  309. connections (false) default false. e.g. <use-fast-fail>true</use-fast-fail>
  310. ]]>
  311. </xs:documentation>
  312. </xs:annotation>
  313. </xs:element>
  314. </xs:sequence>
  315. </xs:complexType>
  316. <xs:complexType name="resource-adaptersType">
  317. <xs:sequence>
  318. <xs:element name="resource-adapter" type="resource-adapterType" minOccurs="1" maxOccurs="unbounded">
  319. <xs:annotation>
  320. <xs:documentation>
  321. <![CDATA[[
  322. Specifies activation of a resource adapter
  323. ]]>
  324. </xs:documentation>
  325. </xs:annotation>
  326. </xs:element>
  327. </xs:sequence>
  328. </xs:complexType>
  329. <xs:complexType name="connection-definitionsType">
  330. <xs:sequence>
  331. <xs:element name="connection-definition" type="connection-defintionType" minOccurs="1" maxOccurs="unbounded">
  332. <xs:annotation>
  333. <xs:documentation>
  334. <![CDATA[[
  335. Specifies a connection definition
  336. ]]>
  337. </xs:documentation>
  338. </xs:annotation>
  339. </xs:element>
  340. </xs:sequence>
  341. </xs:complexType>
  342. <xs:complexType name="connection-defintionType">
  343. <xs:sequence>
  344. <xs:element name="config-property" type="config-propertyType" minOccurs="0" maxOccurs="unbounded">
  345. <xs:annotation>
  346. <xs:documentation>
  347. <![CDATA[[
  348. The config-property specifies managed connection factory configuration properties.
  349. ]]>
  350. </xs:documentation>
  351. </xs:annotation>
  352. </xs:element>
  353. <xs:choice>
  354. <xs:element name="pool" type="poolType" minOccurs="0" maxOccurs="1">
  355. <xs:annotation>
  356. <xs:documentation>
  357. <![CDATA[[
  358. Specifies pooling settings
  359. ]]>
  360. </xs:documentation>
  361. </xs:annotation>
  362. </xs:element>
  363. <xs:element name="xa-pool" type="xa-poolType" minOccurs="0" maxOccurs="1">
  364. <xs:annotation>
  365. <xs:documentation>
  366. <![CDATA[[
  367. Specifies xa-pooling settings
  368. ]]>
  369. </xs:documentation>
  370. </xs:annotation>
  371. </xs:element>
  372. </xs:choice>
  373. <xs:element name="security" type="securityType" minOccurs="0" maxOccurs="1">
  374. <xs:annotation>
  375. <xs:documentation>
  376. <![CDATA[[
  377. Specifies security settings
  378. ]]>
  379. </xs:documentation>
  380. </xs:annotation>
  381. </xs:element>
  382. <xs:element name="timeout" type="timeoutType" minOccurs="0" maxOccurs="1">
  383. <xs:annotation>
  384. <xs:documentation>
  385. <![CDATA[[
  386. Specifies timeout settings
  387. ]]>
  388. </xs:documentation>
  389. </xs:annotation>
  390. </xs:element>
  391. <xs:element name="validation" type="validationType" minOccurs="0" maxOccurs="1">
  392. <xs:annotation>
  393. <xs:documentation>
  394. <![CDATA[[
  395. Specifies validation settings
  396. ]]>
  397. </xs:documentation>
  398. </xs:annotation>
  399. </xs:element>
  400. <xs:element name="recovery" type="recoverType" minOccurs="0" maxOccurs="1"></xs:element>
  401. </xs:sequence>
  402. <xs:attribute name="use-ccm" type="xs:boolean" default="true" use="optional">
  403. <xs:annotation>
  404. <xs:documentation>
  405. <![CDATA[[
  406. Enable cached connection manager
  407. ]]>
  408. </xs:documentation>
  409. </xs:annotation>
  410. </xs:attribute>
  411. <xs:attributeGroup ref="common-attribute"></xs:attributeGroup>
  412. </xs:complexType>
  413. <xs:complexType name="poolType">
  414. <xs:sequence>
  415. <xs:element name="min-pool-size" type="xs:nonNegativeInteger" minOccurs="0">
  416. <xs:annotation>
  417. <xs:documentation>
  418. <![CDATA[[
  419. The min-pool-size element indicates the minimum number of connections
  420. a pool should hold. These are not created until a Subject is known from a
  421. request for a connection. This default to 0. Ex: <min-pool-size>1</min-pool-size>
  422. ]]>
  423. </xs:documentation>
  424. </xs:annotation>
  425. </xs:element>
  426. <xs:element name="max-pool-size" type="xs:nonNegativeInteger" minOccurs="0">
  427. <xs:annotation>
  428. <xs:documentation>
  429. <![CDATA[[
  430. The max-pool-size element indicates the maximum number of connections
  431. for a pool. No more than max-pool-size connections will be created in each sub-pool.
  432. This defaults to 20.
  433. ]]>
  434. </xs:documentation>
  435. </xs:annotation>
  436. </xs:element>
  437. <xs:element name="prefill" type="xs:boolean" minOccurs="0">
  438. <xs:annotation>
  439. <xs:documentation>
  440. <![CDATA[[
  441. Whether to attempt to prefill the connection pool. Default is false.
  442. e.g. <prefill>false</prefill>.
  443. ]]>
  444. </xs:documentation>
  445. </xs:annotation>
  446. </xs:element>
  447. <xs:element name="use-strict-min" type="xs:boolean" minOccurs="0" maxOccurs="1">
  448. <xs:annotation>
  449. <xs:documentation>
  450. <![CDATA[[
  451. Define if the min-pool-size should be considered strict.
  452. Default false
  453. ]]>
  454. </xs:documentation>
  455. </xs:annotation>
  456. </xs:element>
  457. <xs:element name="flush-strategy" type="xs:token" minOccurs="0" maxOccurs="1">
  458. <xs:annotation>
  459. <xs:documentation>
  460. <![CDATA[[
  461. Specifies how the pool should be flush in case of an error.
  462. Valid values are: FailingConnectionOnly (default), IdleConnections, EntirePool
  463. ]]>
  464. </xs:documentation>
  465. </xs:annotation>
  466. </xs:element>
  467. </xs:sequence>
  468. </xs:complexType>
  469. <xs:complexType name="xa-poolType">
  470. <xs:complexContent>
  471. <xs:extension base="poolType">
  472. <xs:sequence>
  473. <xs:element name="is-same-rm-override" type="xs:boolean" minOccurs="0">
  474. <xs:annotation>
  475. <xs:documentation>
  476. <![CDATA[[
  477. The is-same-rm-override element allows one to unconditionally
  478. set whether the javax.transaction.xa.XAResource.isSameRM(XAResource) returns
  479. true or false. Ex: <is-same-rm-override>true</is-same-rm-override>
  480. ]]>
  481. </xs:documentation>
  482. </xs:annotation>
  483. </xs:element>
  484. <xs:element name="interleaving" type="boolean-presenceType" minOccurs="0">
  485. <xs:annotation>
  486. <xs:documentation>
  487. <![CDATA[[
  488. An element to enable interleaving for XA connection factories
  489. Ex: <interleaving/>
  490. ]]>
  491. </xs:documentation>
  492. </xs:annotation>
  493. </xs:element>
  494. <xs:element name="no-tx-separate-pools" type="boolean-presenceType" minOccurs="0">
  495. <xs:annotation>
  496. <xs:documentation>
  497. <![CDATA[[
  498. Oracle does not like XA connections getting used both inside and outside a JTA transaction.
  499. To workaround the problem you can create separate sub-pools for the different contexts
  500. using <no-tx-separate-pools/>
  501. Ex: <no-tx-separate-pools/>
  502. ]]>
  503. </xs:documentation>
  504. </xs:annotation>
  505. </xs:element>
  506. <xs:element name="pad-xid" type="xs:boolean" default="false" minOccurs="0">
  507. <xs:annotation>
  508. <xs:documentation>
  509. <![CDATA[[
  510. Should the Xid be padded
  511. Ex: <pad-xid>true</pad-xid>
  512. ]]>
  513. </xs:documentation>
  514. </xs:annotation>
  515. </xs:element>
  516. <xs:element name="wrap-xa-resource" type="xs:boolean" default="false" minOccurs="0">
  517. <xs:annotation>
  518. <xs:documentation>
  519. <![CDATA[[
  520. Should the XAResource instances be wrapped in a org.jboss.tm.XAResourceWrapper
  521. instance
  522. Ex: <wrap-xa-resource>true</wrap-xa-resource>
  523. ]]>
  524. </xs:documentation>
  525. </xs:annotation>
  526. </xs:element>
  527. </xs:sequence>
  528. </xs:extension>
  529. </xs:complexContent>
  530. </xs:complexType>
  531. <xs:complexType name="securityType">
  532. <xs:sequence>
  533. <xs:choice>
  534. <xs:element name="application" type="boolean-presenceType" minOccurs="0" maxOccurs="1">
  535. <xs:annotation>
  536. <xs:documentation>
  537. <![CDATA[[
  538. Indicates that app supplied parameters (such as from getConnection(user, pw))
  539. are used to distinguish connections in the pool.
  540. Ex:
  541. <application/>
  542. ]]>
  543. </xs:documentation>
  544. </xs:annotation>
  545. </xs:element>
  546. <xs:element name="security-domain" type="xs:token" minOccurs="0" maxOccurs="1">
  547. <xs:annotation>
  548. <xs:documentation>
  549. <![CDATA[[
  550. Indicates Subject (from security domain) are used to distinguish connections in the pool.
  551. The content of the security-domain is the name of the JAAS security manager that will handle
  552. authentication. This name correlates to the JAAS login-config.xml descriptor
  553. application-policy/name attribute.
  554. Ex:
  555. <security-domain>HsqlDbRealm</security-domain>
  556. ]]>
  557. </xs:documentation>
  558. </xs:annotation>
  559. </xs:element>
  560. <xs:element name="security-domain-and-application" type="xs:token" minOccurs="0" maxOccurs="1">
  561. <xs:annotation>
  562. <xs:documentation>
  563. <![CDATA[[
  564. Indicates that either app supplied parameters (such as from
  565. getConnection(user, pw)) or Subject (from security domain) are used to
  566. distinguish connections in the pool. The content of the
  567. security-domain is the name of the JAAS security manager that will handle
  568. authentication. This name correlates to the JAAS login-config.xml descriptor
  569. application-policy/name attribute.
  570. Ex:
  571. <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
  572. ]]>
  573. </xs:documentation>
  574. </xs:annotation>
  575. </xs:element>
  576. </xs:choice>
  577. </xs:sequence>
  578. </xs:complexType>
  579. <xs:complexType name="admin-objectsType">
  580. <xs:sequence>
  581. <xs:element name="admin-object" type="admin-objectType" minOccurs="1" maxOccurs="unbounded">
  582. <xs:annotation>
  583. <xs:documentation>
  584. <![CDATA[[
  585. Specifies the setup for an admin object
  586. ]]>
  587. </xs:documentation>
  588. </xs:annotation>
  589. </xs:element>
  590. </xs:sequence>
  591. </xs:complexType>
  592. <xs:complexType name="bean-validation-groupsType">
  593. <xs:sequence>
  594. <xs:element name="bean-validation-group" type="xs:token" minOccurs="1" maxOccurs="unbounded">
  595. <xs:annotation>
  596. <xs:documentation>
  597. <![CDATA[[
  598. Specifies the fully qualified class name for a bean validation group that
  599. should be used for validation
  600. ]]>
  601. </xs:documentation>
  602. </xs:annotation>
  603. </xs:element>
  604. </xs:sequence>
  605. </xs:complexType>
  606. <xs:complexType name="recoverType">
  607. <xs:sequence>
  608. <xs:element name="recover-credential" type="credentialType" minOccurs="0" maxOccurs="1">
  609. <xs:annotation>
  610. <xs:documentation>
  611. <![CDATA[[
  612. Specifies the security options used when creating a connection during recovery.
  613. Note: if this credential are not specified the security credential are used for recover too
  614. ]]>
  615. </xs:documentation>
  616. </xs:annotation>
  617. </xs:element>
  618. <xs:element name="recover-plugin" type="extensionType" minOccurs="0" maxOccurs="1">
  619. <xs:annotation>
  620. <xs:documentation>
  621. <![CDATA[[
  622. Specifies the extension plugin used in spi (core.spi.xa)
  623. which can be implemented by various plugins to provide better feedback to the XA recovery system.
  624. ]]>
  625. </xs:documentation>
  626. </xs:annotation>
  627. </xs:element>
  628. </xs:sequence>
  629. <xs:attribute name="no-recovery" type="xs:boolean" default="false" use="optional">
  630. <xs:annotation>
  631. <xs:documentation>
  632. <![CDATA[[
  633. Specify if the xa-datasource should be excluded from recovery.
  634. Default false.
  635. ]]>
  636. </xs:documentation>
  637. </xs:annotation>
  638. </xs:attribute>
  639. </xs:complexType>
  640. <xs:complexType name="extensionType">
  641. <xs:sequence>
  642. <xs:element name="config-property" type="config-propertyType"></xs:element>
  643. </xs:sequence>
  644. <xs:attribute name="class-name" type="xs:token" use="required"></xs:attribute>
  645. </xs:complexType>
  646. <xs:complexType name="credentialType">
  647. <xs:sequence>
  648. <xs:element name="user-name" type="xs:token" minOccurs="0">
  649. <xs:annotation>
  650. <xs:documentation>
  651. <![CDATA[[
  652. Specify the username used when creating a new connection.
  653. Ex: <user-name>sa</user-name>
  654. ]]>
  655. </xs:documentation>
  656. </xs:annotation>
  657. </xs:element>
  658. <xs:element name="password" type="xs:token" minOccurs="0">
  659. <xs:annotation>
  660. <xs:documentation>
  661. <![CDATA[[
  662. Specify the password used when creating a new connection.
  663. Ex: <password>sa-pass</password>
  664. ]]>
  665. </xs:documentation>
  666. </xs:annotation>
  667. </xs:element>
  668. <xs:element name="security-domain" type="xs:token" minOccurs="0" maxOccurs="1">
  669. <xs:annotation>
  670. <xs:documentation>
  671. <![CDATA[[
  672. Indicates Subject (from security domain) are used to distinguish connections in the pool.
  673. The content of the security-domain is the name of the JAAS security manager that will handle
  674. authentication. This name correlates to the JAAS login-config.xml descriptor
  675. application-policy/name attribute.
  676. Ex:
  677. <security-domain>HsqlDbRealm</security-domain>
  678. ]]>
  679. </xs:documentation>
  680. </xs:annotation>
  681. </xs:element>
  682. </xs:sequence>
  683. </xs:complexType>
  684. <xs:complexType name="moduleType">
  685. <xs:attribute name="id" type="xs:token" use="required">
  686. <xs:annotation>
  687. <xs:documentation>
  688. <![CDATA[[
  689. The module id
  690. ]]>
  691. </xs:documentation>
  692. </xs:annotation>
  693. </xs:attribute>
  694. <xs:attribute name="slot" type="xs:token" use="optional">
  695. <xs:annotation>
  696. <xs:documentation>
  697. <![CDATA[[
  698. The module slot
  699. ]]>
  700. </xs:documentation>
  701. </xs:annotation>
  702. </xs:attribute>
  703. </xs:complexType>
  704. </xs:schema>