ibm-common-bnd_1_0.xsd 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsd:schema targetNamespace="http://websphere.ibm.com/xml/ns/javaee"
  3. xmlns="http://websphere.ibm.com/xml/ns/javaee"
  4. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  5. elementFormDefault="qualified" attributeFormDefault="unqualified"
  6. version="1.0">
  7. <!-- ******************************************************* -->
  8. <xsd:annotation>
  9. <xsd:documentation>
  10. Copyright (c) 2010 IBM Corporation and others.
  11. All rights reserved. This program and the accompanying materials
  12. are made available under the terms of the Eclipse Public License v1.0
  13. which accompanies this distribution, and is available at
  14. http://www.eclipse.org/legal/epl-v10.html
  15. Contributors:
  16. IBM Corporation - initial API and implementation
  17. </xsd:documentation>
  18. </xsd:annotation>
  19. <!-- ******************************************************* -->
  20. <xsd:complexType name="ejb-refType">
  21. <xsd:annotation>
  22. <xsd:documentation>
  23. Specifies the binding for an ejb-ref or ejb-local-ref.
  24. The name attribute specfies the name of the ejb-ref or the ejb-local-ref,
  25. while the binding name specifies the binding (jndi) name for the target
  26. of the reference.
  27. </xsd:documentation>
  28. </xsd:annotation>
  29. <xsd:attribute name="name" type="xsd:string" use="required" />
  30. <xsd:attribute name="binding-name" type="xsd:string" use="required" />
  31. <xsd:attribute name="id" type="xsd:ID"/>
  32. </xsd:complexType>
  33. <!-- ******************************************************* -->
  34. <xsd:complexType name="resource-refType">
  35. <xsd:annotation>
  36. <xsd:documentation>
  37. Specifies the binding for a resource-ref.
  38. The name attribute specfies the name of the resource-ref, while the binding
  39. name specifies the binding (jndi) name for the target of the reference.
  40. If the resource reference is for a connection factory, then an optional
  41. JAAS login configuration may be specified. The authentication element
  42. allows the specification of a simple authentication alias as the JAAS
  43. login configuration, while custom-login-configuration allows a more complex
  44. JAAS login configuration to be specified.
  45. </xsd:documentation>
  46. </xsd:annotation>
  47. <xsd:sequence>
  48. <xsd:choice minOccurs="0" maxOccurs="1">
  49. <xsd:element name="authentication-alias" type="authentication-aliasType" />
  50. <xsd:element name="custom-login-configuration" type="custom-login-configurationType" />
  51. </xsd:choice>
  52. <!-- Default-auth is for backward compatibility and should not be used. -->
  53. <xsd:element name="default-auth" minOccurs="0" maxOccurs="1">
  54. <xsd:complexType>
  55. <xsd:attribute name="userid" type="xsd:string"/>
  56. <xsd:attribute name="password" type="xsd:string" />
  57. </xsd:complexType>
  58. </xsd:element>
  59. </xsd:sequence>
  60. <xsd:attribute name="name" type="xsd:string" use="required" />
  61. <xsd:attribute name="binding-name" type="xsd:string" use="required" />
  62. <xsd:attribute name="id" type="xsd:ID"/>
  63. </xsd:complexType>
  64. <!-- ******************************************************* -->
  65. <xsd:complexType name="resource-env-refType">
  66. <xsd:annotation>
  67. <xsd:documentation>
  68. Specifies the binding for a resource-env-ref.
  69. The name attribute specfies the name of the resource-env-ref,
  70. while the binding name specifies the binding (jndi) name for the target
  71. of the reference.
  72. </xsd:documentation>
  73. </xsd:annotation>
  74. <xsd:attribute name="name" type="xsd:string" use="required" />
  75. <xsd:attribute name="binding-name" type="xsd:string" use="required" />
  76. <xsd:attribute name="id" type="xsd:ID"/>
  77. </xsd:complexType>
  78. <!-- ******************************************************* -->
  79. <xsd:complexType name="message-destination-refType">
  80. <xsd:annotation>
  81. <xsd:documentation>
  82. Specifies the binding for a message-destination-ref.
  83. The name attribute specfies the name of the message-destination-ref,
  84. while the binding name specifies the binding (jndi) name for the target
  85. of the reference.
  86. </xsd:documentation>
  87. </xsd:annotation>
  88. <xsd:attribute name="name" type="xsd:string" use="required" />
  89. <xsd:attribute name="binding-name" type="xsd:string" use="required" />
  90. <xsd:attribute name="id" type="xsd:ID"/>
  91. </xsd:complexType>
  92. <!-- ******************************************************* -->
  93. <xsd:complexType name="custom-login-configurationType">
  94. <xsd:annotation>
  95. <xsd:documentation>
  96. Specifies a custom login configuration.
  97. The name attribute specifies the name of the custom login configuration,
  98. The login configuration is defined by a set of properties (name/value pairs).
  99. </xsd:documentation>
  100. </xsd:annotation>
  101. <xsd:sequence>
  102. <xsd:element name="property" type= "propertyType" minOccurs="0" maxOccurs="unbounded" />
  103. </xsd:sequence>
  104. <xsd:attribute name="name" type="xsd:string" use="required" />
  105. <xsd:attribute name="id" type="xsd:ID"/>
  106. </xsd:complexType>
  107. <!-- ******************************************************* -->
  108. <xsd:complexType name="authentication-aliasType">
  109. <xsd:attribute name="name" type="xsd:string" use="required" />
  110. <xsd:attribute name="id" type="xsd:ID"/>
  111. </xsd:complexType>
  112. <!-- ******************************************************* -->
  113. <xsd:complexType name="propertyType">
  114. <xsd:attribute name="name" type="xsd:string" use="required" />
  115. <xsd:attribute name="value" type="xsd:string" use="required" />
  116. <xsd:attribute name="description" type="xsd:string" />
  117. <xsd:attribute name="id" type="xsd:ID"/>
  118. </xsd:complexType>
  119. <!-- ******************************************************* -->
  120. <xsd:group name="ref-bindingsGroup">
  121. <xsd:sequence>
  122. <xsd:choice minOccurs="0" maxOccurs="unbounded">
  123. <xsd:element name="ejb-ref" type="ejb-refType" />
  124. <xsd:element name="resource-ref" type="resource-refType" />
  125. <xsd:element name="resource-env-ref" type="resource-env-refType" />
  126. <xsd:element name="message-destination-ref" type="message-destination-refType" />
  127. </xsd:choice>
  128. </xsd:sequence>
  129. </xsd:group>
  130. <!-- ******************************************************* -->
  131. <xsd:complexType name="message-destinationType">
  132. <xsd:annotation>
  133. <xsd:documentation>
  134. Specifies the binding for an message-destination. The name attribute
  135. identifies the message destination to which the binding applies. The
  136. binding-name attribute specifies the jndi name to be associated with
  137. the message destination.
  138. </xsd:documentation>
  139. </xsd:annotation>
  140. <xsd:attribute name="id" type="xsd:ID"/>
  141. <xsd:attribute name="name" type="xsd:string" use="required" />
  142. <xsd:attribute name="binding-name" type="xsd:string" use="required" />
  143. </xsd:complexType>
  144. </xsd:schema>