-822881940.cache 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsd:schema xmlns="http://www.springframework.org/schema/context"
  3. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  4. xmlns:beans="http://www.springframework.org/schema/beans"
  5. xmlns:tool="http://www.springframework.org/schema/tool"
  6. targetNamespace="http://www.springframework.org/schema/context"
  7. elementFormDefault="qualified"
  8. attributeFormDefault="unqualified">
  9. <xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="http://www.springframework.org/schema/beans/spring-beans-4.0.xsd"/>
  10. <xsd:import namespace="http://www.springframework.org/schema/tool" schemaLocation="http://www.springframework.org/schema/tool/spring-tool-4.0.xsd"/>
  11. <xsd:annotation>
  12. <xsd:documentation><![CDATA[
  13. Defines the configuration elements for the Spring Framework's application
  14. context support. Effects the activation of various configuration styles
  15. for the containing Spring ApplicationContext.
  16. ]]></xsd:documentation>
  17. </xsd:annotation>
  18. <xsd:complexType name="propertyPlaceholder">
  19. <xsd:attribute name="location" type="xsd:string">
  20. <xsd:annotation>
  21. <xsd:documentation><![CDATA[
  22. The location of the properties file to resolve placeholders against, as a Spring
  23. resource location: a URL, a "classpath:" pseudo URL, or a relative file path.
  24. Multiple locations may be specified, separated by commas. If neither location nor
  25. properties-ref is specified, placeholders will be resolved against system properties.
  26. ]]></xsd:documentation>
  27. </xsd:annotation>
  28. </xsd:attribute>
  29. <xsd:attribute name="properties-ref" type="xsd:string">
  30. <xsd:annotation>
  31. <xsd:documentation source="java:java.util.Properties"><![CDATA[
  32. The bean name of a Properties object that will be used for property substitution.
  33. If neither location nor properties-ref is specified, placeholders will be resolved
  34. against system properties.
  35. ]]></xsd:documentation>
  36. </xsd:annotation>
  37. </xsd:attribute>
  38. <xsd:attribute name="file-encoding" type="xsd:string">
  39. <xsd:annotation>
  40. <xsd:documentation><![CDATA[
  41. Specifies the encoding to use for parsing properties files. Default is none,
  42. using the java.util.Properties default encoding. Only applies to classic
  43. properties files, not to XML files.
  44. ]]></xsd:documentation>
  45. </xsd:annotation>
  46. </xsd:attribute>
  47. <xsd:attribute name="order" type="xsd:token">
  48. <xsd:annotation>
  49. <xsd:documentation><![CDATA[
  50. Specifies the order for this placeholder configurer. If more than one is present
  51. in a context, the order can be important since the first one to be match a
  52. placeholder will win.
  53. ]]></xsd:documentation>
  54. </xsd:annotation>
  55. </xsd:attribute>
  56. <xsd:attribute name="ignore-resource-not-found" type="xsd:boolean" default="false">
  57. <xsd:annotation>
  58. <xsd:documentation><![CDATA[
  59. Specifies if failure to find the property resource location should be ignored.
  60. Default is "false", meaning that if there is no file in the location specified
  61. an exception will be raised at runtime.
  62. ]]></xsd:documentation>
  63. </xsd:annotation>
  64. </xsd:attribute>
  65. <xsd:attribute name="ignore-unresolvable" type="xsd:boolean" default="false">
  66. <xsd:annotation>
  67. <xsd:documentation><![CDATA[
  68. Specifies if failure to find the property value to replace a key should be ignored.
  69. Default is "false", meaning that this placeholder configurer will raise an exception
  70. if it cannot resolve a key. Set to "true" to allow the configurer to pass on the key
  71. to any others in the context that have not yet visited the key in question.
  72. ]]></xsd:documentation>
  73. </xsd:annotation>
  74. </xsd:attribute>
  75. <xsd:attribute name="local-override" type="xsd:boolean" default="false">
  76. <xsd:annotation>
  77. <xsd:documentation><![CDATA[
  78. Specifies whether local properties override properties from files.
  79. Default is "false": Properties from files override local defaults.
  80. ]]></xsd:documentation>
  81. </xsd:annotation>
  82. </xsd:attribute>
  83. </xsd:complexType>
  84. <xsd:element name="property-placeholder">
  85. <xsd:annotation>
  86. <xsd:documentation><![CDATA[
  87. Activates replacement of ${...} placeholders by registering a
  88. PropertySourcesPlaceholderConfigurer within the application context. Properties will
  89. be resolved against the specified properties file or Properties object -- so called
  90. "local properties", if any, and against the Spring Environment's current set of
  91. PropertySources.
  92. Note that as of Spring 3.1 the system-properties-mode attribute has been removed in
  93. favor of the more flexible PropertySources mechanism. However, Spring 3.1-based
  94. applications may continue to use the 3.0 (and older) versions of the spring-context
  95. schema in order to preserve system-properties-mode behavior. In this case, the
  96. traditional PropertyPlaceholderConfigurer component will be registered instead of the
  97. new PropertySourcesPlaceholderConfigurer.
  98. See ConfigurableEnvironment javadoc for more information on using.
  99. ]]></xsd:documentation>
  100. <xsd:appinfo>
  101. <tool:annotation>
  102. <tool:exports type="org.springframework.context.support.PropertySourcesPlaceholderConfigurer"/>
  103. </tool:annotation>
  104. </xsd:appinfo>
  105. </xsd:annotation>
  106. <xsd:complexType>
  107. <xsd:complexContent>
  108. <xsd:extension base="propertyPlaceholder">
  109. <xsd:attribute name="system-properties-mode" default="ENVIRONMENT">
  110. <xsd:annotation>
  111. <xsd:documentation><![CDATA[
  112. Controls how to resolve placeholders against system properties. As of Spring 3.1, this
  113. attribute value defaults to "ENVIRONMENT", indicating that resolution of placeholders
  114. against system properties is handled via PropertySourcesPlaceholderConfigurer and its
  115. delegation to the current Spring Environment object.
  116. For maximum backward compatibility, this attribute is preserved going forward with the
  117. 3.1 version of the context schema, and any values other than the default "ENVIRONMENT"
  118. will cause a traditional PropertyPlaceholderConfigurer to be registered instead of the
  119. newer PropertySourcesPlaceholderConfigurer variant. In this case, the Spring Environment
  120. and its property sources are not interrogated when resolving placeholders. Users are
  121. encouraged to consider this attribute deprecated, and to take advantage of
  122. Environment/PropertySource mechanisms. See ConfigurableEnvironment javadoc for examples.
  123. "ENVIRONMENT" indicates placeholders should be resolved against the current Environment and against any local properties;
  124. "NEVER" indicates placeholders should be resolved only against local properties and never against system properties;
  125. "FALLBACK" indicates placeholders should be resolved against any local properties and then against system properties;
  126. "OVERRIDE" indicates placeholders should be resolved first against system properties and then against any local properties;
  127. ]]></xsd:documentation>
  128. </xsd:annotation>
  129. <xsd:simpleType>
  130. <xsd:restriction base="xsd:string">
  131. <xsd:enumeration value="ENVIRONMENT"/>
  132. <xsd:enumeration value="NEVER"/>
  133. <xsd:enumeration value="FALLBACK"/>
  134. <xsd:enumeration value="OVERRIDE"/>
  135. </xsd:restriction>
  136. </xsd:simpleType>
  137. </xsd:attribute>
  138. </xsd:extension>
  139. </xsd:complexContent>
  140. </xsd:complexType>
  141. </xsd:element>
  142. <xsd:element name="property-override">
  143. <xsd:annotation>
  144. <xsd:documentation><![CDATA[
  145. Activates pushing of override values into bean properties, based on configuration
  146. lines of the following format: beanName.property=value
  147. ]]></xsd:documentation>
  148. <xsd:appinfo>
  149. <tool:annotation>
  150. <tool:exports type="org.springframework.beans.factory.config.PropertyOverrideConfigurer"/>
  151. </tool:annotation>
  152. </xsd:appinfo>
  153. </xsd:annotation>
  154. <xsd:complexType>
  155. <xsd:complexContent>
  156. <xsd:extension base="propertyPlaceholder"/>
  157. </xsd:complexContent>
  158. </xsd:complexType>
  159. </xsd:element>
  160. <xsd:element name="annotation-config">
  161. <xsd:annotation>
  162. <xsd:documentation><![CDATA[
  163. Activates various annotations to be detected in bean classes: Spring's @Required and
  164. @Autowired, as well as JSR 250's @PostConstruct, @PreDestroy and @Resource (if available),
  165. JAX-WS's @WebServiceRef (if available), EJB3's @EJB (if available), and JPA's
  166. @PersistenceContext and @PersistenceUnit (if available). Alternatively, you may
  167. choose to activate the individual BeanPostProcessors for those annotations.
  168. Note: This tag does not activate processing of Spring's @Transactional or EJB3's
  169. @TransactionAttribute annotation. Consider the use of the <tx:annotation-driven>
  170. tag for that purpose.
  171. See javadoc for org.springframework.context.annotation.AnnotationConfigApplicationContext
  172. for information on code-based alternatives to bootstrapping annotation-driven support.
  173. from XML.
  174. ]]></xsd:documentation>
  175. </xsd:annotation>
  176. </xsd:element>
  177. <xsd:element name="component-scan">
  178. <xsd:annotation>
  179. <xsd:documentation><![CDATA[
  180. Scans the classpath for annotated components that will be auto-registered as
  181. Spring beans. By default, the Spring-provided @Component, @Repository,
  182. @Service, and @Controller stereotypes will be detected.
  183. Note: This tag implies the effects of the 'annotation-config' tag, activating @Required,
  184. @Autowired, @PostConstruct, @PreDestroy, @Resource, @PersistenceContext and @PersistenceUnit
  185. annotations in the component classes, which is usually desired for autodetected components
  186. (without external configuration). Turn off the 'annotation-config' attribute to deactivate
  187. this default behavior, for example in order to use custom BeanPostProcessor definitions
  188. for handling those annotations.
  189. Note: You may use placeholders in package paths, but only resolved against system
  190. properties (analogous to resource paths). A component scan results in new bean definition
  191. being registered; Spring's PropertyPlaceholderConfigurer will apply to those bean
  192. definitions just like to regular bean definitions, but it won't apply to the component
  193. scan settings themselves.
  194. See javadoc for org.springframework.context.annotation.ComponentScan for information
  195. on code-based alternatives to bootstrapping component-scanning.
  196. ]]></xsd:documentation>
  197. </xsd:annotation>
  198. <xsd:complexType>
  199. <xsd:sequence>
  200. <xsd:element name="include-filter" type="filterType"
  201. minOccurs="0" maxOccurs="unbounded">
  202. <xsd:annotation>
  203. <xsd:documentation><![CDATA[
  204. Controls which eligible types to include for component scanning.
  205. ]]></xsd:documentation>
  206. </xsd:annotation>
  207. </xsd:element>
  208. <xsd:element name="exclude-filter" type="filterType"
  209. minOccurs="0" maxOccurs="unbounded">
  210. <xsd:annotation>
  211. <xsd:documentation><![CDATA[
  212. Controls which eligible types to exclude for component scanning.
  213. ]]></xsd:documentation>
  214. </xsd:annotation>
  215. </xsd:element>
  216. </xsd:sequence>
  217. <xsd:attribute name="base-package" type="xsd:string"
  218. use="required">
  219. <xsd:annotation>
  220. <xsd:documentation><![CDATA[
  221. The comma/semicolon/space/tab/linefeed-separated list of packages to scan for annotated components.
  222. ]]></xsd:documentation>
  223. </xsd:annotation>
  224. </xsd:attribute>
  225. <xsd:attribute name="resource-pattern" type="xsd:string">
  226. <xsd:annotation>
  227. <xsd:documentation><![CDATA[
  228. Controls the class files eligible for component detection. Defaults to "**/*.class", the recommended value.
  229. Consider use of the include-filter and exclude-filter elements for a more fine-grained approach.
  230. ]]></xsd:documentation>
  231. </xsd:annotation>
  232. </xsd:attribute>
  233. <xsd:attribute name="use-default-filters" type="xsd:boolean"
  234. default="true">
  235. <xsd:annotation>
  236. <xsd:documentation><![CDATA[
  237. Indicates whether automatic detection of classes annotated with @Component, @Repository, @Service,
  238. or @Controller should be enabled. Default is "true".
  239. ]]></xsd:documentation>
  240. </xsd:annotation>
  241. </xsd:attribute>
  242. <xsd:attribute name="annotation-config" type="xsd:boolean"
  243. default="true">
  244. <xsd:annotation>
  245. <xsd:documentation><![CDATA[
  246. Indicates whether the implicit annotation post-processors should be enabled. Default is "true".
  247. ]]></xsd:documentation>
  248. </xsd:annotation>
  249. </xsd:attribute>
  250. <xsd:attribute name="name-generator" type="xsd:string">
  251. <xsd:annotation>
  252. <xsd:documentation><![CDATA[
  253. The fully-qualified class name of the BeanNameGenerator to be used for naming detected components.
  254. ]]></xsd:documentation>
  255. <xsd:appinfo>
  256. <tool:annotation>
  257. <tool:expected-type type="java.lang.Class"/>
  258. <tool:assignable-to type="org.springframework.beans.factory.support.BeanNameGenerator"/>
  259. </tool:annotation>
  260. </xsd:appinfo>
  261. </xsd:annotation>
  262. </xsd:attribute>
  263. <xsd:attribute name="scope-resolver" type="xsd:string">
  264. <xsd:annotation>
  265. <xsd:documentation><![CDATA[
  266. The fully-qualified class name of the ScopeMetadataResolver to be used for resolving the scope of
  267. detected components.
  268. ]]></xsd:documentation>
  269. <xsd:appinfo>
  270. <tool:annotation>
  271. <tool:expected-type type="java.lang.Class"/>
  272. <tool:assignable-to type="org.springframework.context.annotation.ScopeMetadataResolver"/>
  273. </tool:annotation>
  274. </xsd:appinfo>
  275. </xsd:annotation>
  276. </xsd:attribute>
  277. <xsd:attribute name="scoped-proxy">
  278. <xsd:annotation>
  279. <xsd:documentation><![CDATA[
  280. Indicates whether proxies should be generated for detected components, which may be necessary
  281. when using scopes in a proxy-style fashion. Default is to generate no such proxies.
  282. ]]></xsd:documentation>
  283. </xsd:annotation>
  284. <xsd:simpleType>
  285. <xsd:restriction base="xsd:string">
  286. <xsd:enumeration value="no"/>
  287. <xsd:enumeration value="interfaces"/>
  288. <xsd:enumeration value="targetClass"/>
  289. </xsd:restriction>
  290. </xsd:simpleType>
  291. </xsd:attribute>
  292. </xsd:complexType>
  293. </xsd:element>
  294. <xsd:element name="load-time-weaver">
  295. <xsd:annotation>
  296. <xsd:documentation><![CDATA[
  297. Activates a Spring LoadTimeWeaver for this application context, available as
  298. a bean with the name "loadTimeWeaver". Any bean that implements the
  299. LoadTimeWeaverAware interface will then receive the LoadTimeWeaver reference
  300. automatically; for example, Spring's JPA bootstrap support.
  301. The default weaver is determined automatically: see DefaultContextLoadTimeWeaver's
  302. javadoc for details.
  303. The activation of AspectJ load-time weaving is specified via a simple flag
  304. (the 'aspectj-weaving' attribute), with the AspectJ class transformer
  305. registered through Spring's LoadTimeWeaver. AspectJ weaving will be activated
  306. by default if a "META-INF/aop.xml" resource is present in the classpath.
  307. This also activates the current application context for applying dependency
  308. injection to non-managed classes that are instantiated outside of the Spring
  309. bean factory (typically classes annotated with the @Configurable annotation).
  310. This will only happen if the AnnotationBeanConfigurerAspect is on the classpath
  311. (i.e. spring-aspects.jar), effectively activating "spring-configured" by default.
  312. See javadoc for org.springframework.context.annotation.EnableLoadTimeWeaving
  313. for information on code-based alternatives to bootstrapping load-time weaving support.
  314. ]]></xsd:documentation>
  315. <xsd:appinfo>
  316. <tool:annotation>
  317. <tool:exports type="org.springframework.instrument.classloading.LoadTimeWeaver"/>
  318. </tool:annotation>
  319. </xsd:appinfo>
  320. </xsd:annotation>
  321. <xsd:complexType>
  322. <xsd:attribute name="weaver-class" type="xsd:string">
  323. <xsd:annotation>
  324. <xsd:documentation><![CDATA[
  325. The fully-qualified classname of the LoadTimeWeaver that is to be activated.
  326. ]]></xsd:documentation>
  327. <xsd:appinfo>
  328. <tool:annotation>
  329. <tool:expected-type type="java.lang.Class"/>
  330. <tool:assignable-to type="org.springframework.instrument.classloading.LoadTimeWeaver"/>
  331. </tool:annotation>
  332. </xsd:appinfo>
  333. </xsd:annotation>
  334. </xsd:attribute>
  335. <xsd:attribute name="aspectj-weaving" default="autodetect">
  336. <xsd:simpleType>
  337. <xsd:restriction base="xsd:string">
  338. <xsd:enumeration value="on">
  339. <xsd:annotation>
  340. <xsd:documentation><![CDATA[
  341. Switches Spring-based AspectJ load-time weaving on.
  342. ]]></xsd:documentation>
  343. </xsd:annotation>
  344. </xsd:enumeration>
  345. <xsd:enumeration value="off">
  346. <xsd:annotation>
  347. <xsd:documentation><![CDATA[
  348. Switches Spring-based AspectJ load-time weaving off.
  349. ]]></xsd:documentation>
  350. </xsd:annotation>
  351. </xsd:enumeration>
  352. <xsd:enumeration value="autodetect">
  353. <xsd:annotation>
  354. <xsd:documentation><![CDATA[
  355. Switches AspectJ load-time weaving on if a "META-INF/aop.xml" resource
  356. is present in the classpath. If there is no such resource, then AspectJ
  357. load-time weaving will be switched off.
  358. ]]></xsd:documentation>
  359. </xsd:annotation>
  360. </xsd:enumeration>
  361. </xsd:restriction>
  362. </xsd:simpleType>
  363. </xsd:attribute>
  364. </xsd:complexType>
  365. </xsd:element>
  366. <xsd:element name="spring-configured">
  367. <xsd:annotation>
  368. <xsd:documentation source="java:org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect"><![CDATA[
  369. Signals the current application context to apply dependency injection
  370. to non-managed classes that are instantiated outside of the Spring bean
  371. factory (typically classes annotated with the @Configurable annotation).
  372. ]]></xsd:documentation>
  373. </xsd:annotation>
  374. <xsd:simpleType>
  375. <xsd:restriction base="xsd:string"/>
  376. </xsd:simpleType>
  377. </xsd:element>
  378. <xsd:element name="mbean-export">
  379. <xsd:annotation>
  380. <xsd:documentation source="java:org.springframework.jmx.export.annotation.AnnotationMBeanExporter"><![CDATA[
  381. Activates default exporting of MBeans by detecting standard MBeans in the Spring
  382. context as well as @ManagedResource annotations on Spring-defined beans.
  383. The resulting MBeanExporter bean is defined under the name "mbeanExporter".
  384. Alternatively, consider defining a custom AnnotationMBeanExporter bean explicitly.
  385. ]]></xsd:documentation>
  386. <xsd:appinfo>
  387. <tool:annotation>
  388. <tool:exports type="org.springframework.jmx.export.annotation.AnnotationMBeanExporter"/>
  389. </tool:annotation>
  390. </xsd:appinfo>
  391. </xsd:annotation>
  392. <xsd:complexType>
  393. <xsd:attribute name="default-domain" type="xsd:string">
  394. <xsd:annotation>
  395. <xsd:documentation><![CDATA[
  396. The default domain to use when generating JMX ObjectNames.
  397. ]]></xsd:documentation>
  398. </xsd:annotation>
  399. </xsd:attribute>
  400. <xsd:attribute name="server" type="xsd:string">
  401. <xsd:annotation>
  402. <xsd:documentation><![CDATA[
  403. The bean name of the MBeanServer to which MBeans should be exported.
  404. Default is to use the platform's default MBeanServer (autodetecting
  405. WebLogic, WebSphere and the JVM's platform MBeanServer).
  406. ]]></xsd:documentation>
  407. </xsd:annotation>
  408. </xsd:attribute>
  409. <xsd:attribute name="registration">
  410. <xsd:annotation>
  411. <xsd:documentation><![CDATA[
  412. The registration behavior, indicating how to deal with existing MBeans
  413. of the same name: fail with an exception, ignore and keep the existing
  414. MBean, or replace the existing one with the new MBean.
  415. Default is to fail with an exception.
  416. ]]></xsd:documentation>
  417. </xsd:annotation>
  418. <xsd:simpleType>
  419. <xsd:restriction base="xsd:NMTOKEN">
  420. <xsd:enumeration value="failOnExisting"/>
  421. <xsd:enumeration value="ignoreExisting"/>
  422. <xsd:enumeration value="replaceExisting"/>
  423. </xsd:restriction>
  424. </xsd:simpleType>
  425. </xsd:attribute>
  426. </xsd:complexType>
  427. </xsd:element>
  428. <xsd:element name="mbean-server">
  429. <xsd:annotation>
  430. <xsd:documentation source="java:org.springframework.jmx.support.MBeanServerFactoryBean"><![CDATA[
  431. Exposes a default MBeanServer for the current platform.
  432. Autodetects WebLogic, WebSphere and the JVM's platform MBeanServer.
  433. The default bean name for the exposed MBeanServer is "mbeanServer".
  434. This may be customized through specifying the "id" attribute.
  435. ]]></xsd:documentation>
  436. <xsd:appinfo>
  437. <tool:annotation>
  438. <tool:exports type="javax.management.MBeanServer"/>
  439. </tool:annotation>
  440. </xsd:appinfo>
  441. </xsd:annotation>
  442. <xsd:complexType>
  443. <xsd:complexContent>
  444. <xsd:extension base="beans:identifiedType">
  445. <xsd:attribute name="agent-id" type="xsd:string">
  446. <xsd:annotation>
  447. <xsd:documentation><![CDATA[
  448. The agent id of the target MBeanServer, if any.
  449. ]]></xsd:documentation>
  450. </xsd:annotation>
  451. </xsd:attribute>
  452. </xsd:extension>
  453. </xsd:complexContent>
  454. </xsd:complexType>
  455. </xsd:element>
  456. <xsd:complexType name="filterType">
  457. <xsd:attribute name="type" use="required">
  458. <xsd:annotation>
  459. <xsd:documentation><![CDATA[
  460. Controls the type of filtering to apply to the expression.
  461. "annotation" indicates an annotation to be present at the type level in target components;
  462. "assignable" indicates a class (or interface) that the target components are assignable to (extend/implement);
  463. "aspectj" indicates an AspectJ type pattern expression to be matched by the target components;
  464. "regex" indicates a regex pattern to be matched by the target components' class names;
  465. "custom" indicates a custom implementation of the org.springframework.core.type.TypeFilter interface.
  466. Note: This attribute will not be inherited by child bean definitions.
  467. Hence, it needs to be specified per concrete bean definition.
  468. ]]></xsd:documentation>
  469. </xsd:annotation>
  470. <xsd:simpleType>
  471. <xsd:restriction base="xsd:string">
  472. <xsd:enumeration value="annotation"/>
  473. <xsd:enumeration value="assignable"/>
  474. <xsd:enumeration value="aspectj"/>
  475. <xsd:enumeration value="regex"/>
  476. <xsd:enumeration value="custom"/>
  477. </xsd:restriction>
  478. </xsd:simpleType>
  479. </xsd:attribute>
  480. <xsd:attribute name="expression" type="xsd:string" use="required">
  481. <xsd:annotation>
  482. <xsd:documentation><![CDATA[
  483. Indicates the filter expression, the type of which is indicated by "type".
  484. ]]></xsd:documentation>
  485. </xsd:annotation>
  486. </xsd:attribute>
  487. </xsd:complexType>
  488. </xsd:schema>