jboss-as-resource-adapters_1_0.xsd 26 KB

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