-723688320.cache 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <xsd:schema xmlns="http://www.springframework.org/schema/tool"
  3. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  4. targetNamespace="http://www.springframework.org/schema/tool"
  5. elementFormDefault="qualified">
  6. <xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
  7. <xsd:annotation>
  8. <xsd:documentation><![CDATA[
  9. Defines the tool support annotations for Spring's configuration namespaces.
  10. Used in other namespace XSD files; not intended for direct use in config files.
  11. ]]></xsd:documentation>
  12. </xsd:annotation>
  13. <xsd:element name="annotation">
  14. <xsd:complexType>
  15. <xsd:sequence minOccurs="0">
  16. <xsd:element name="expected-type" type="typedParameterType" minOccurs="0" maxOccurs="1"/>
  17. <xsd:element name="assignable-to" type="assignableToType" minOccurs="0" maxOccurs="1"/>
  18. <xsd:element name="exports" type="exportsType" minOccurs="0" maxOccurs="unbounded"/>
  19. <xsd:element name="registers-scope" type="registersScopeType" minOccurs="0" maxOccurs="unbounded"/>
  20. <xsd:element name="expected-method" type="expectedMethodType" minOccurs="0" maxOccurs="unbounded"/>
  21. </xsd:sequence>
  22. <xsd:attribute name="kind" default="direct">
  23. <xsd:simpleType>
  24. <xsd:restriction base="xsd:string">
  25. <xsd:enumeration value="ref"/>
  26. <xsd:enumeration value="direct"/>
  27. </xsd:restriction>
  28. </xsd:simpleType>
  29. </xsd:attribute>
  30. </xsd:complexType>
  31. </xsd:element>
  32. <xsd:complexType name="typedParameterType">
  33. <xsd:attribute name="type" type="xsd:string" use="required"/>
  34. </xsd:complexType>
  35. <xsd:complexType name="assignableToType">
  36. <xsd:attribute name="type" type="xsd:string"/>
  37. <xsd:attribute name="restriction" default="both">
  38. <xsd:simpleType>
  39. <xsd:restriction base="xsd:NMTOKEN">
  40. <xsd:enumeration value="both"/>
  41. <xsd:enumeration value="interface-only"/>
  42. <xsd:enumeration value="class-only"/>
  43. </xsd:restriction>
  44. </xsd:simpleType>
  45. </xsd:attribute>
  46. </xsd:complexType>
  47. <xsd:complexType name="expectedMethodType">
  48. <xsd:attribute name="type" type="xsd:string">
  49. <xsd:annotation>
  50. <xsd:documentation><![CDATA[
  51. Defines an XPath query that can be executed against the node annotated with this
  52. type to determine the class for which the this method is valid
  53. ]]></xsd:documentation>
  54. </xsd:annotation>
  55. </xsd:attribute>
  56. <xsd:attribute name="type-ref" type="xsd:string">
  57. <xsd:annotation>
  58. <xsd:documentation><![CDATA[
  59. Defines an XPath query that can be executed against the node annotated with this
  60. type to determine a referenced bean (by id or alias) for which the given method is valid
  61. ]]></xsd:documentation>
  62. </xsd:annotation>
  63. </xsd:attribute>
  64. <xsd:attribute name="expression" type="xsd:string">
  65. <xsd:annotation>
  66. <xsd:documentation><![CDATA[
  67. Defines an AspectJ method execution pointcut expressions that matches valid methods
  68. ]]></xsd:documentation>
  69. </xsd:annotation>
  70. </xsd:attribute>
  71. </xsd:complexType>
  72. <xsd:complexType name="exportsType">
  73. <xsd:annotation>
  74. <xsd:documentation><![CDATA[
  75. Indicates that an annotated type exports an application visible component.
  76. ]]></xsd:documentation>
  77. </xsd:annotation>
  78. <xsd:attribute name="type" type="xsd:string">
  79. <xsd:annotation>
  80. <xsd:documentation><![CDATA[
  81. The type of the exported component. May be null if the type is not known until runtime.
  82. ]]></xsd:documentation>
  83. </xsd:annotation>
  84. </xsd:attribute>
  85. <xsd:attribute name="identifier" type="xsd:string" default="@id">
  86. <xsd:annotation>
  87. <xsd:documentation><![CDATA[
  88. Defines an XPath query that can be executed against the node annotated with this
  89. type to determine the identifier of any exported component.
  90. ]]></xsd:documentation>
  91. </xsd:annotation>
  92. </xsd:attribute>
  93. </xsd:complexType>
  94. <xsd:complexType name="registersScopeType">
  95. <xsd:attribute name="name" type="xsd:string" use="required">
  96. <xsd:annotation>
  97. <xsd:documentation><![CDATA[
  98. Defines the name of a custom bean scope that the annotated type registers, e.g. "conversation".
  99. Such a scope will be available in addition to the standard "singleton" and "prototype" scopes
  100. (plus "request", "session" and "globalSession" in a web application environment).
  101. ]]></xsd:documentation>
  102. </xsd:annotation>
  103. </xsd:attribute>
  104. </xsd:complexType>
  105. </xsd:schema>