ibm-web-bnd_1_0.xsd 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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:bnd="http://websphere.ibm.com/xml/ns/javaee"
  5. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  6. elementFormDefault="qualified" attributeFormDefault="unqualified"
  7. version="1.0">
  8. <!-- ******************************************************* -->
  9. <xsd:annotation>
  10. <xsd:documentation>
  11. Copyright (c) 2010 IBM Corporation and others.
  12. All rights reserved. This program and the accompanying materials
  13. are made available under the terms of the Eclipse Public License v1.0
  14. which accompanies this distribution, and is available at
  15. http://www.eclipse.org/legal/epl-v10.html
  16. Contributors:
  17. IBM Corporation - initial API and implementation
  18. </xsd:documentation>
  19. </xsd:annotation>
  20. <!-- ******************************************************* -->
  21. <xsd:include schemaLocation="ibm-common-bnd_1_0.xsd" />
  22. <!-- ******************************************************* -->
  23. <xsd:element name="web-bnd" type="web-bndType">
  24. <xsd:annotation>
  25. <xsd:documentation>
  26. The root of the ibm-web-bnd deployment descriptor.
  27. </xsd:documentation>
  28. </xsd:annotation>
  29. <xsd:unique name="unique-ejb-ref-name">
  30. <xsd:selector xpath="bnd:ejb-ref" />
  31. <xsd:field xpath="@name" />
  32. </xsd:unique>
  33. <xsd:unique name="unique-resource-ref-name">
  34. <xsd:selector xpath="bnd:resource-ref" />
  35. <xsd:field xpath="@name" />
  36. </xsd:unique>
  37. <xsd:unique name="unique-resource-env-ref-name">
  38. <xsd:selector xpath="bnd:resource-env-ref" />
  39. <xsd:field xpath="@name" />
  40. </xsd:unique>
  41. <xsd:unique name="unique-message-destination-ref-name">
  42. <xsd:selector xpath="bnd:message-destination-ref" />
  43. <xsd:field xpath="@name" />
  44. </xsd:unique>
  45. <xsd:unique name="unique-message-destination-name">
  46. <xsd:selector xpath="bnd:message-destination" />
  47. <xsd:field xpath="@name" />
  48. </xsd:unique>
  49. </xsd:element>
  50. <!-- ******************************************************* -->
  51. <xsd:complexType name="web-bndType">
  52. <xsd:sequence>
  53. <xsd:element name="virtual-host" type="virtual-hostType" minOccurs="0" maxOccurs="1"/>
  54. <xsd:group ref="ref-bindingsGroup" />
  55. <xsd:element name="message-destination" type="message-destinationType" minOccurs="0" maxOccurs="unbounded"/>
  56. </xsd:sequence>
  57. <xsd:attribute name="version" type="xsd:string" fixed="1.0" use="required" />
  58. <xsd:attribute name="id" type="xsd:ID"/>
  59. </xsd:complexType>
  60. <!-- ******************************************************* -->
  61. <xsd:complexType name="virtual-hostType">
  62. <xsd:attribute name="name" type="xsd:string" use="required" />
  63. <xsd:attribute name="id" type="xsd:ID"/>
  64. </xsd:complexType>
  65. </xsd:schema>