ibm-managed-bean-bnd_1_0.xsd 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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" elementFormDefault="qualified"
  6. attributeFormDefault="unqualified" 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:include schemaLocation="ibm-common-bnd_1_1.xsd" />
  21. <!-- ******************************************************* -->
  22. <xsd:element name="managed-bean-bnd" type="managed-bean-bndType">
  23. <xsd:annotation>
  24. <xsd:documentation>
  25. The root of the managed-bean-web-bnd deployment
  26. descriptor.
  27. </xsd:documentation>
  28. </xsd:annotation>
  29. <xsd:unique name="unique-managed-bean-class">
  30. <xsd:selector xpath="bnd:managed-bean" />
  31. <xsd:field xpath="@class" />
  32. </xsd:unique>
  33. <xsd:unique name="unique-interceptor-class">
  34. <xsd:selector xpath="bnd:interceptor" />
  35. <xsd:field xpath="@class" />
  36. </xsd:unique>
  37. </xsd:element>
  38. <!-- ******************************************************* -->
  39. <xsd:complexType name="managed-bean-bndType">
  40. <xsd:sequence>
  41. <xsd:choice minOccurs="0" maxOccurs="unbounded">
  42. <xsd:element name="managed-bean" type="managed-beanType">
  43. <xsd:unique name="unique-managed-bean-ref-name">
  44. <xsd:selector xpath="bnd:ejb-ref" />
  45. <xsd:field xpath="@name" />
  46. </xsd:unique>
  47. <xsd:unique name="unique-managed-bean-resource-ref-name">
  48. <xsd:selector xpath="bnd:resource-ref" />
  49. <xsd:field xpath="@name" />
  50. </xsd:unique>
  51. <xsd:unique name="unique-managed-bean-resource-env-ref-name">
  52. <xsd:selector xpath="bnd:resource-env-ref" />
  53. <xsd:field xpath="@name" />
  54. </xsd:unique>
  55. <xsd:unique name="unique-managed-bean-message-destination-ref-name">
  56. <xsd:selector xpath="bnd:message-destination-ref" />
  57. <xsd:field xpath="@name" />
  58. </xsd:unique>
  59. </xsd:element>
  60. <xsd:element name="interceptor" type="interceptorType">
  61. <xsd:unique name="unique-interceptor-ejb-ref-name">
  62. <xsd:selector xpath="bnd:ejb-ref" />
  63. <xsd:field xpath="@name" />
  64. </xsd:unique>
  65. <xsd:unique name="unique-interceptor-resource-ref-name">
  66. <xsd:selector xpath="bnd:resource-ref" />
  67. <xsd:field xpath="@name" />
  68. </xsd:unique>
  69. <xsd:unique name="unique-interceptor-resource-env-ref-name">
  70. <xsd:selector xpath="bnd:resource-env-ref" />
  71. <xsd:field xpath="@name" />
  72. </xsd:unique>
  73. <xsd:unique name="unique-interceptor-message-destination-ref-name">
  74. <xsd:selector xpath="bnd:message-destination-ref" />
  75. <xsd:field xpath="@name" />
  76. </xsd:unique>
  77. </xsd:element>
  78. </xsd:choice>
  79. </xsd:sequence>
  80. <xsd:attribute name="version" type="xsd:string" fixed="1.0"
  81. use="required" />
  82. <xsd:attribute name="id" type="xsd:ID" />
  83. </xsd:complexType>
  84. <!-- ******************************************************* -->
  85. <xsd:complexType name="managed-beanType">
  86. <xsd:annotation>
  87. <xsd:documentation>
  88. Specifies the binding for a managed bean. The class
  89. attribute specifies the fully qualified name of the managed bean.
  90. </xsd:documentation>
  91. </xsd:annotation>
  92. <xsd:sequence>
  93. <xsd:group ref="ref-bindingsGroup" />
  94. </xsd:sequence>
  95. <xsd:attribute name="id" type="xsd:ID" />
  96. <xsd:attribute name="class" type="xsd:string" use="required" />
  97. </xsd:complexType>
  98. <!-- ******************************************************* -->
  99. </xsd:schema>