|
15 | 15 | limitations under the License.
|
16 | 16 | -->
|
17 | 17 | <xsd:schema xmlns="http://mybatis.org/schema/mybatis-spring"
|
18 |
| - xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
19 |
| - xmlns:beans="http://www.springframework.org/schema/beans" |
20 |
| - xmlns:tool="http://www.springframework.org/schema/tool" |
21 |
| - targetNamespace="http://mybatis.org/schema/mybatis-spring" |
22 |
| - elementFormDefault="qualified" attributeFormDefault="unqualified"> |
| 18 | + xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 19 | + xmlns:beans="http://www.springframework.org/schema/beans" |
| 20 | + xmlns:tool="http://www.springframework.org/schema/tool" |
| 21 | + targetNamespace="http://mybatis.org/schema/mybatis-spring" |
| 22 | + elementFormDefault="qualified" attributeFormDefault="unqualified"> |
23 | 23 |
|
24 |
| - <xsd:element name="scan"> |
25 |
| - <xsd:annotation> |
26 |
| - <xsd:documentation> |
27 |
| - <![CDATA[ |
28 |
| - Searches recursively starting from a base package for interfaces and registers them as MapperFactoryBeans. |
29 |
| - Note that only interfaces with at least one method will be registered; concrete classes will be ignored. |
30 |
| - ]]> |
31 |
| - </xsd:documentation> |
32 |
| - </xsd:annotation> |
33 |
| - <xsd:complexType> |
34 |
| - <xsd:attribute name="base-package" type="xsd:string" |
35 |
| - use="required"> |
36 |
| - <xsd:annotation> |
37 |
| - <xsd:documentation> |
38 |
| - <![CDATA[ |
39 |
| - The comma-separated list of packages to scan for annotated components. |
40 |
| - ]]> |
41 |
| - </xsd:documentation> |
42 |
| - </xsd:annotation> |
43 |
| - </xsd:attribute> |
44 |
| - <xsd:attribute name="marker-interface" type="xsd:string"> |
45 |
| - <xsd:annotation> |
46 |
| - <xsd:documentation> |
47 |
| - <![CDATA[ |
48 |
| - The scanner will register all interfaces in the base package that also have the specified annotation. |
49 |
| - ]]> |
50 |
| - </xsd:documentation> |
51 |
| - <xsd:appinfo> |
52 |
| - <tool:annotation> |
53 |
| - <tool:expected-type type="java.lang.Class" /> |
54 |
| - </tool:annotation> |
55 |
| - </xsd:appinfo> |
56 |
| - </xsd:annotation> |
57 |
| - </xsd:attribute> |
58 |
| - <xsd:attribute name="annotation" type="xsd:string"> |
59 |
| - <xsd:annotation> |
60 |
| - <xsd:documentation> |
61 |
| - <![CDATA[ |
62 |
| - The scanner will register all interfaces in the base package that also have the specified interface class as a parent. |
63 |
| - ]]> |
64 |
| - </xsd:documentation> |
65 |
| - <xsd:appinfo> |
66 |
| - <tool:annotation> |
67 |
| - <tool:expected-type type="java.lang.Class" /> |
68 |
| - <tool:assignable-to type="java.lang.annotation.Annotation" /> |
69 |
| - </tool:annotation> |
70 |
| - </xsd:appinfo> |
71 |
| - </xsd:annotation> |
72 |
| - </xsd:attribute> |
73 |
| - <xsd:attribute name="factory-ref" type="xsd:string"> |
74 |
| - <xsd:annotation> |
75 |
| - <xsd:documentation> |
76 |
| - <![CDATA[ |
77 |
| - Specifies which SqlSessionFactory to use in the case that there is more than one in the spring context. Usually this is only needed when you have more than one datasource. |
78 |
| - ]]> |
79 |
| - </xsd:documentation> |
80 |
| - </xsd:annotation> |
81 |
| - </xsd:attribute> |
82 |
| - <xsd:attribute name="template-ref" type="xsd:string"> |
83 |
| - <xsd:annotation> |
84 |
| - <xsd:documentation> |
85 |
| - <![CDATA[ |
86 |
| - Specifies which SqlSessionTemplate to use in the case that there is more than one in the spring context. Usually this is only needed when you have more than one datasource. |
87 |
| - ]]> |
88 |
| - </xsd:documentation> |
89 |
| - </xsd:annotation> |
90 |
| - </xsd:attribute> |
91 |
| - <xsd:attribute name="name-generator" type="xsd:string"> |
92 |
| - <xsd:annotation> |
93 |
| - <xsd:documentation> |
94 |
| - <![CDATA[ |
95 |
| - The fully-qualified class name of the BeanNameGenerator to be used for naming detected components. |
96 |
| - ]]> |
97 |
| - </xsd:documentation> |
98 |
| - <xsd:appinfo> |
99 |
| - <tool:annotation> |
100 |
| - <tool:expected-type type="java.lang.Class" /> |
101 |
| - <tool:assignable-to type="org.springframework.beans.factory.support.BeanNameGenerator" /> |
102 |
| - </tool:annotation> |
103 |
| - </xsd:appinfo> |
104 |
| - </xsd:annotation> |
105 |
| - </xsd:attribute> |
106 |
| - </xsd:complexType> |
107 |
| - </xsd:element> |
| 24 | + <xsd:element name="scan"> |
| 25 | + <xsd:annotation> |
| 26 | + <xsd:documentation> |
| 27 | + <![CDATA[ |
| 28 | + Searches recursively starting from a base package for interfaces and registers them as MapperFactoryBeans. |
| 29 | + Note that only interfaces with at least one method will be registered; concrete classes will be ignored. |
| 30 | + ]]> |
| 31 | + </xsd:documentation> |
| 32 | + </xsd:annotation> |
| 33 | + <xsd:complexType> |
| 34 | + <xsd:attribute name="base-package" type="xsd:string" |
| 35 | + use="required"> |
| 36 | + <xsd:annotation> |
| 37 | + <xsd:documentation> |
| 38 | + <![CDATA[ |
| 39 | + The comma-separated list of packages to scan for annotated components. |
| 40 | + ]]> |
| 41 | + </xsd:documentation> |
| 42 | + </xsd:annotation> |
| 43 | + </xsd:attribute> |
| 44 | + <xsd:attribute name="marker-interface" type="xsd:string"> |
| 45 | + <xsd:annotation> |
| 46 | + <xsd:documentation> |
| 47 | + <![CDATA[ |
| 48 | + The scanner will register all interfaces in the base package that also have the specified annotation. |
| 49 | + ]]> |
| 50 | + </xsd:documentation> |
| 51 | + <xsd:appinfo> |
| 52 | + <tool:annotation> |
| 53 | + <tool:expected-type type="java.lang.Class" /> |
| 54 | + </tool:annotation> |
| 55 | + </xsd:appinfo> |
| 56 | + </xsd:annotation> |
| 57 | + </xsd:attribute> |
| 58 | + <xsd:attribute name="annotation" type="xsd:string"> |
| 59 | + <xsd:annotation> |
| 60 | + <xsd:documentation> |
| 61 | + <![CDATA[ |
| 62 | + The scanner will register all interfaces in the base package that also have the specified interface class as a parent. |
| 63 | + ]]> |
| 64 | + </xsd:documentation> |
| 65 | + <xsd:appinfo> |
| 66 | + <tool:annotation> |
| 67 | + <tool:expected-type type="java.lang.Class" /> |
| 68 | + <tool:assignable-to type="java.lang.annotation.Annotation" /> |
| 69 | + </tool:annotation> |
| 70 | + </xsd:appinfo> |
| 71 | + </xsd:annotation> |
| 72 | + </xsd:attribute> |
| 73 | + <xsd:attribute name="factory-ref" type="xsd:string"> |
| 74 | + <xsd:annotation> |
| 75 | + <xsd:documentation> |
| 76 | + <![CDATA[ |
| 77 | + Specifies which SqlSessionFactory to use in the case that there is more than one in the spring context. Usually this is only needed when you have more than one datasource. |
| 78 | + ]]> |
| 79 | + </xsd:documentation> |
| 80 | + </xsd:annotation> |
| 81 | + </xsd:attribute> |
| 82 | + <xsd:attribute name="template-ref" type="xsd:string"> |
| 83 | + <xsd:annotation> |
| 84 | + <xsd:documentation> |
| 85 | + <![CDATA[ |
| 86 | + Specifies which SqlSessionTemplate to use in the case that there is more than one in the spring context. Usually this is only needed when you have more than one datasource. |
| 87 | + ]]> |
| 88 | + </xsd:documentation> |
| 89 | + </xsd:annotation> |
| 90 | + </xsd:attribute> |
| 91 | + <xsd:attribute name="name-generator" type="xsd:string"> |
| 92 | + <xsd:annotation> |
| 93 | + <xsd:documentation> |
| 94 | + <![CDATA[ |
| 95 | + The fully-qualified class name of the BeanNameGenerator to be used for naming detected components. |
| 96 | + ]]> |
| 97 | + </xsd:documentation> |
| 98 | + <xsd:appinfo> |
| 99 | + <tool:annotation> |
| 100 | + <tool:expected-type type="java.lang.Class" /> |
| 101 | + <tool:assignable-to type="org.springframework.beans.factory.support.BeanNameGenerator" /> |
| 102 | + </tool:annotation> |
| 103 | + </xsd:appinfo> |
| 104 | + </xsd:annotation> |
| 105 | + </xsd:attribute> |
| 106 | + </xsd:complexType> |
| 107 | + </xsd:element> |
108 | 108 | </xsd:schema>
|
0 commit comments