-1882252228.cache 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <xsd:schema xmlns="http://www.springframework.org/schema/aop"
  3. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  4. xmlns:tool="http://www.springframework.org/schema/tool"
  5. targetNamespace="http://www.springframework.org/schema/aop"
  6. elementFormDefault="qualified"
  7. attributeFormDefault="unqualified">
  8. <xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="http://www.springframework.org/schema/beans/spring-beans-4.3.xsd"/>
  9. <xsd:import namespace="http://www.springframework.org/schema/tool" schemaLocation="http://www.springframework.org/schema/tool/spring-tool-4.3.xsd"/>
  10. <xsd:annotation>
  11. <xsd:documentation><![CDATA[
  12. Defines the configuration elements for the Spring Framework's AOP support.
  13. ]]></xsd:documentation>
  14. </xsd:annotation>
  15. <xsd:element name="config">
  16. <xsd:annotation>
  17. <xsd:documentation><![CDATA[
  18. A section (compartmentalization) of AOP-specific configuration (including
  19. aspects, pointcuts, etc).
  20. ]]></xsd:documentation>
  21. </xsd:annotation>
  22. <xsd:complexType>
  23. <xsd:sequence>
  24. <xsd:element name="pointcut" type="pointcutType" minOccurs="0" maxOccurs="unbounded">
  25. <xsd:annotation>
  26. <xsd:documentation><![CDATA[
  27. A named pointcut definition.
  28. ]]></xsd:documentation>
  29. </xsd:annotation>
  30. </xsd:element>
  31. <xsd:element name="advisor" type="advisorType" minOccurs="0" maxOccurs="unbounded">
  32. <xsd:annotation>
  33. <xsd:documentation source="java:org.springframework.aop.Advisor"><![CDATA[
  34. A named advisor definition.
  35. ]]></xsd:documentation>
  36. </xsd:annotation>
  37. </xsd:element>
  38. <xsd:element name="aspect" type="aspectType" minOccurs="0" maxOccurs="unbounded">
  39. <xsd:annotation>
  40. <xsd:documentation><![CDATA[
  41. A named aspect definition.
  42. ]]></xsd:documentation>
  43. </xsd:annotation>
  44. </xsd:element>
  45. </xsd:sequence>
  46. <xsd:attribute name="proxy-target-class" type="xsd:boolean" default="false">
  47. <xsd:annotation>
  48. <xsd:documentation><![CDATA[
  49. Are class-based (CGLIB) proxies to be created? By default, standard
  50. Java interface-based proxies are created.
  51. ]]></xsd:documentation>
  52. </xsd:annotation>
  53. </xsd:attribute>
  54. <xsd:attribute name="expose-proxy" type="xsd:boolean" default="false">
  55. <xsd:annotation>
  56. <xsd:documentation><![CDATA[
  57. Indicate that the proxy should be exposed by the AOP framework as a
  58. ThreadLocal for retrieval via the AopContext class. Off by default,
  59. i.e. no guarantees that AopContext access will work.
  60. ]]></xsd:documentation>
  61. </xsd:annotation>
  62. </xsd:attribute>
  63. </xsd:complexType>
  64. </xsd:element>
  65. <xsd:element name="aspectj-autoproxy">
  66. <xsd:annotation>
  67. <xsd:documentation source="java:org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator"><![CDATA[
  68. Enables the use of the @AspectJ style of Spring AOP.
  69. See org.springframework.context.annotation.EnableAspectJAutoProxy Javadoc
  70. for information on code-based alternatives to this XML element.
  71. ]]></xsd:documentation>
  72. </xsd:annotation>
  73. <xsd:complexType>
  74. <xsd:sequence>
  75. <xsd:element name="include" type="includeType" minOccurs="0" maxOccurs="unbounded">
  76. <xsd:annotation>
  77. <xsd:documentation><![CDATA[
  78. Indicates that only @AspectJ beans with names matched by the (regex)
  79. pattern will be considered as defining aspects to use for Spring autoproxying.
  80. ]]></xsd:documentation>
  81. </xsd:annotation>
  82. </xsd:element>
  83. </xsd:sequence>
  84. <xsd:attribute name="proxy-target-class" type="xsd:boolean" default="false">
  85. <xsd:annotation>
  86. <xsd:documentation><![CDATA[
  87. Are class-based (CGLIB) proxies to be created? By default, standard
  88. Java interface-based proxies are created.
  89. ]]></xsd:documentation>
  90. </xsd:annotation>
  91. </xsd:attribute>
  92. <xsd:attribute name="expose-proxy" type="xsd:boolean" default="false">
  93. <xsd:annotation>
  94. <xsd:documentation><![CDATA[
  95. Indicate that the proxy should be exposed by the AOP framework as a
  96. ThreadLocal for retrieval via the AopContext class. Off by default,
  97. i.e. no guarantees that AopContext access will work.
  98. ]]></xsd:documentation>
  99. </xsd:annotation>
  100. </xsd:attribute>
  101. </xsd:complexType>
  102. </xsd:element>
  103. <xsd:element name="scoped-proxy">
  104. <xsd:complexType>
  105. <xsd:annotation>
  106. <xsd:documentation source="java:org.springframework.aop.scope.ScopedProxyFactoryBean"><![CDATA[
  107. Marks a bean definition as being a scoped proxy.
  108. A bean marked as such will be exposed via a proxy, with the 'real'
  109. bean instance being retrieved from some other source (such as a
  110. HttpSession) as and when required.
  111. ]]></xsd:documentation>
  112. </xsd:annotation>
  113. <xsd:attribute name="proxy-target-class" type="xsd:boolean" default="true">
  114. <xsd:annotation>
  115. <xsd:documentation><![CDATA[
  116. Are class-based (CGLIB) proxies to be created? This is the default; in order to
  117. switch to standard Java interface-based proxies, turn this flag to "false".
  118. ]]></xsd:documentation>
  119. </xsd:annotation>
  120. </xsd:attribute>
  121. </xsd:complexType>
  122. </xsd:element>
  123. <xsd:complexType name="aspectType">
  124. <xsd:choice minOccurs="0" maxOccurs="unbounded">
  125. <xsd:element name="pointcut" type="pointcutType">
  126. <xsd:annotation>
  127. <xsd:documentation><![CDATA[
  128. A named pointcut definition.
  129. ]]></xsd:documentation>
  130. </xsd:annotation>
  131. </xsd:element>
  132. <xsd:element name="declare-parents" type="declareParentsType">
  133. <xsd:annotation>
  134. <xsd:documentation><![CDATA[
  135. Allows this aspect to introduce additional interfaces that the advised
  136. object will transparently implement.
  137. ]]></xsd:documentation>
  138. </xsd:annotation>
  139. </xsd:element>
  140. <xsd:element name="before" type="basicAdviceType">
  141. <xsd:annotation>
  142. <xsd:documentation><![CDATA[
  143. A before advice definition.
  144. ]]></xsd:documentation>
  145. </xsd:annotation>
  146. </xsd:element>
  147. <xsd:element name="after" type="basicAdviceType">
  148. <xsd:annotation>
  149. <xsd:documentation><![CDATA[
  150. An after advice definition.
  151. ]]></xsd:documentation>
  152. </xsd:annotation>
  153. </xsd:element>
  154. <xsd:element name="after-returning" type="afterReturningAdviceType">
  155. <xsd:annotation>
  156. <xsd:documentation><![CDATA[
  157. An after-returning advice definition.
  158. ]]></xsd:documentation>
  159. </xsd:annotation>
  160. </xsd:element>
  161. <xsd:element name="after-throwing" type="afterThrowingAdviceType">
  162. <xsd:annotation>
  163. <xsd:documentation><![CDATA[
  164. An after-throwing advice definition.
  165. ]]></xsd:documentation>
  166. </xsd:annotation>
  167. </xsd:element>
  168. <xsd:element name="around" type="basicAdviceType">
  169. <xsd:annotation>
  170. <xsd:documentation><![CDATA[
  171. An around advice definition.
  172. ]]></xsd:documentation>
  173. </xsd:annotation>
  174. </xsd:element>
  175. </xsd:choice>
  176. <xsd:attribute name="id" type="xsd:string">
  177. <xsd:annotation>
  178. <xsd:documentation><![CDATA[
  179. The unique identifier for an aspect.
  180. ]]></xsd:documentation>
  181. </xsd:annotation>
  182. </xsd:attribute>
  183. <xsd:attribute name="ref" type="xsd:string">
  184. <xsd:annotation>
  185. <xsd:documentation><![CDATA[
  186. The name of the (backing) bean that encapsulates the aspect.
  187. ]]></xsd:documentation>
  188. </xsd:annotation>
  189. </xsd:attribute>
  190. <xsd:attribute name="order" type="xsd:token">
  191. <xsd:annotation>
  192. <xsd:documentation source="java:org.springframework.core.Ordered"><![CDATA[
  193. Controls the ordering of the execution of this aspect when multiple
  194. advice executes at a specific joinpoint.
  195. ]]></xsd:documentation>
  196. </xsd:annotation>
  197. </xsd:attribute>
  198. </xsd:complexType>
  199. <xsd:complexType name="includeType">
  200. <xsd:attribute name="name" type="xsd:string">
  201. <xsd:annotation>
  202. <xsd:documentation source="java:java.util.regex.Pattern"><![CDATA[
  203. The regular expression defining which beans are to be included in the
  204. list of @AspectJ beans; beans with names matched by the pattern will
  205. be included.
  206. ]]></xsd:documentation>
  207. </xsd:annotation>
  208. </xsd:attribute>
  209. </xsd:complexType>
  210. <xsd:complexType name="pointcutType">
  211. <xsd:annotation>
  212. <xsd:appinfo>
  213. <tool:annotation>
  214. <tool:exports type="org.springframework.aop.Pointcut"/>
  215. </tool:annotation>
  216. </xsd:appinfo>
  217. </xsd:annotation>
  218. <xsd:attribute name="id" type="xsd:string" use="required">
  219. <xsd:annotation>
  220. <xsd:documentation><![CDATA[
  221. The unique identifier for a pointcut.
  222. ]]></xsd:documentation>
  223. </xsd:annotation>
  224. </xsd:attribute>
  225. <xsd:attribute name="expression" use="required" type="xsd:string">
  226. <xsd:annotation>
  227. <xsd:documentation><![CDATA[
  228. The pointcut expression.
  229. For example : 'execution(* com.xyz.myapp.service.*.*(..))'
  230. ]]></xsd:documentation>
  231. </xsd:annotation>
  232. </xsd:attribute>
  233. </xsd:complexType>
  234. <xsd:complexType name="declareParentsType">
  235. <xsd:attribute name="types-matching" type="xsd:string" use="required">
  236. <xsd:annotation>
  237. <xsd:documentation source="java:org.springframework.aop.aspectj.TypePatternClassFilter"><![CDATA[
  238. The AspectJ type expression that defines what types (classes) the
  239. introduction is restricted to.
  240. An example would be 'org.springframework.beans.ITestBean+'.
  241. ]]></xsd:documentation>
  242. </xsd:annotation>
  243. </xsd:attribute>
  244. <xsd:attribute name="implement-interface" type="xsd:string" use="required">
  245. <xsd:annotation>
  246. <xsd:documentation source="java:java.lang.Class"><![CDATA[
  247. The fully qualified name of the interface that will be introduced.
  248. ]]></xsd:documentation>
  249. </xsd:annotation>
  250. </xsd:attribute>
  251. <xsd:attribute name="default-impl" type="xsd:string">
  252. <xsd:annotation>
  253. <xsd:documentation source="java:java.lang.Class"><![CDATA[
  254. The fully qualified name of the class that will be instantiated to serve
  255. as the default implementation of the introduced interface.
  256. ]]></xsd:documentation>
  257. </xsd:annotation>
  258. </xsd:attribute>
  259. <xsd:attribute name="delegate-ref" type="xsd:string">
  260. <xsd:annotation>
  261. <xsd:documentation><![CDATA[
  262. A reference to the bean that will serve
  263. as the default implementation of the introduced interface.
  264. ]]></xsd:documentation>
  265. <xsd:appinfo>
  266. <tool:annotation kind="ref"/>
  267. </xsd:appinfo>
  268. </xsd:annotation>
  269. </xsd:attribute>
  270. </xsd:complexType>
  271. <xsd:complexType name="basicAdviceType">
  272. <xsd:attribute name="pointcut" type="xsd:string">
  273. <xsd:annotation>
  274. <xsd:documentation><![CDATA[
  275. The associated pointcut expression.
  276. ]]></xsd:documentation>
  277. </xsd:annotation>
  278. </xsd:attribute>
  279. <xsd:attribute name="pointcut-ref" type="pointcutRefType">
  280. <xsd:annotation>
  281. <xsd:documentation><![CDATA[
  282. The name of an associated pointcut definition.
  283. ]]></xsd:documentation>
  284. <xsd:appinfo>
  285. <tool:annotation kind="ref">
  286. <tool:expected-type type="org.springframework.aop.Pointcut"/>
  287. </tool:annotation>
  288. </xsd:appinfo>
  289. </xsd:annotation>
  290. </xsd:attribute>
  291. <xsd:attribute name="method" type="xsd:string" use="required">
  292. <xsd:annotation>
  293. <xsd:documentation><![CDATA[
  294. The name of the method that defines the logic of the advice.
  295. ]]></xsd:documentation>
  296. </xsd:annotation>
  297. </xsd:attribute>
  298. <xsd:attribute name="arg-names" type="xsd:string">
  299. <xsd:annotation>
  300. <xsd:documentation><![CDATA[
  301. The comma-delimited list of advice method argument (parameter) names
  302. that will be matched from pointcut parameters.
  303. ]]></xsd:documentation>
  304. </xsd:annotation>
  305. </xsd:attribute>
  306. </xsd:complexType>
  307. <xsd:complexType name="afterReturningAdviceType">
  308. <xsd:complexContent>
  309. <xsd:extension base="basicAdviceType">
  310. <xsd:attribute name="returning" type="xsd:string">
  311. <xsd:annotation>
  312. <xsd:documentation><![CDATA[
  313. The name of the method parameter to which the return value must
  314. be passed.
  315. ]]></xsd:documentation>
  316. </xsd:annotation>
  317. </xsd:attribute>
  318. </xsd:extension>
  319. </xsd:complexContent>
  320. </xsd:complexType>
  321. <xsd:complexType name="afterThrowingAdviceType">
  322. <xsd:complexContent>
  323. <xsd:extension base="basicAdviceType">
  324. <xsd:attribute name="throwing" type="xsd:string">
  325. <xsd:annotation>
  326. <xsd:documentation><![CDATA[
  327. The name of the method parameter to which the thrown exception must
  328. be passed.
  329. ]]></xsd:documentation>
  330. </xsd:annotation>
  331. </xsd:attribute>
  332. </xsd:extension>
  333. </xsd:complexContent>
  334. </xsd:complexType>
  335. <xsd:complexType name="advisorType">
  336. <xsd:annotation>
  337. <xsd:appinfo>
  338. <tool:annotation>
  339. <tool:exports type="org.springframework.aop.Advisor"/>
  340. </tool:annotation>
  341. </xsd:appinfo>
  342. </xsd:annotation>
  343. <xsd:attribute name="id" type="xsd:string"/>
  344. <xsd:attribute name="advice-ref" type="xsd:string" use="required">
  345. <xsd:annotation>
  346. <xsd:documentation><![CDATA[
  347. A reference to an advice bean.
  348. ]]></xsd:documentation>
  349. <xsd:appinfo>
  350. <tool:annotation kind="ref">
  351. <tool:expected-type type="org.aopalliance.aop.Advice"/>
  352. </tool:annotation>
  353. </xsd:appinfo>
  354. </xsd:annotation>
  355. </xsd:attribute>
  356. <xsd:attribute name="pointcut" type="xsd:string">
  357. <xsd:annotation>
  358. <xsd:documentation><![CDATA[
  359. A pointcut expression.
  360. ]]></xsd:documentation>
  361. </xsd:annotation>
  362. </xsd:attribute>
  363. <xsd:attribute name="pointcut-ref" type="pointcutRefType">
  364. <xsd:annotation>
  365. <xsd:documentation><![CDATA[
  366. A reference to a pointcut definition.
  367. ]]></xsd:documentation>
  368. </xsd:annotation>
  369. </xsd:attribute>
  370. <xsd:attribute name="order" type="xsd:token">
  371. <xsd:annotation>
  372. <xsd:documentation source="java:org.springframework.core.Ordered"><![CDATA[
  373. Controls the ordering of the execution of this advice when multiple
  374. advice executes at a specific joinpoint.
  375. ]]></xsd:documentation>
  376. </xsd:annotation>
  377. </xsd:attribute>
  378. </xsd:complexType>
  379. <xsd:simpleType name="pointcutRefType">
  380. <xsd:annotation>
  381. <xsd:appinfo>
  382. <tool:annotation kind="ref">
  383. <tool:expected-type type="org.springframework.aop.Pointcut"/>
  384. </tool:annotation>
  385. </xsd:appinfo>
  386. </xsd:annotation>
  387. <xsd:union memberTypes="xsd:string"/>
  388. </xsd:simpleType>
  389. </xsd:schema>