|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <!--
|
3 |
| - Copyright 2010-2013 the original author or authors. |
4 | 3 |
|
5 |
| - Licensed under the Apache License, Version 2.0 (the "License"); |
6 |
| - you may not use this file except in compliance with the License. |
7 |
| - You may obtain a copy of the License at |
| 4 | + Copyright 2010-2018 the original author or authors. |
8 | 5 |
|
9 |
| - http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | + you may not use this file except in compliance with the License. |
| 8 | + You may obtain a copy of the License at |
| 9 | +
|
| 10 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +
|
| 12 | + Unless required by applicable law or agreed to in writing, software |
| 13 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | + See the License for the specific language governing permissions and |
| 16 | + limitations under the License. |
10 | 17 |
|
11 |
| - Unless required by applicable law or agreed to in writing, software |
12 |
| - distributed under the License is distributed on an "AS IS" BASIS, |
13 |
| - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 |
| - See the License for the specific language governing permissions and |
15 |
| - limitations under the License. |
16 | 18 | -->
|
17 | 19 | <xsd:schema xmlns="http://mybatis.org/schema/mybatis-spring"
|
18 | 20 | xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
45 | 47 | <xsd:annotation>
|
46 | 48 | <xsd:documentation>
|
47 | 49 | <![CDATA[
|
48 |
| - The scanner will register all interfaces in the base package that also have the specified annotation. |
| 50 | + The scanner will register all interfaces in the base package that also have the specified interface class as a parent. |
49 | 51 | ]]>
|
50 | 52 | </xsd:documentation>
|
51 | 53 | <xsd:appinfo>
|
|
59 | 61 | <xsd:annotation>
|
60 | 62 | <xsd:documentation>
|
61 | 63 | <![CDATA[
|
62 |
| - The scanner will register all interfaces in the base package that also have the specified interface class as a parent. |
| 64 | + The scanner will register all interfaces in the base package that also have the specified annotation. |
63 | 65 | ]]>
|
64 | 66 | </xsd:documentation>
|
65 | 67 | <xsd:appinfo>
|
|
76 | 78 | <![CDATA[
|
77 | 79 | 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 | 80 | ]]>
|
79 |
| - </xsd:documentation> |
| 81 | + </xsd:documentation> |
| 82 | + <xsd:appinfo> |
| 83 | + <tool:annotation kind="ref"> |
| 84 | + <tool:expected-type type="org.apache.ibatis.session.SqlSessionFactory"/> |
| 85 | + </tool:annotation> |
| 86 | + </xsd:appinfo> |
80 | 87 | </xsd:annotation>
|
81 | 88 | </xsd:attribute>
|
82 | 89 | <xsd:attribute name="template-ref" type="xsd:string">
|
|
86 | 93 | 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 | 94 | ]]>
|
88 | 95 | </xsd:documentation>
|
| 96 | + <xsd:appinfo> |
| 97 | + <tool:annotation kind="ref"> |
| 98 | + <tool:expected-type type="org.mybatis.spring.SqlSessionTemplate"/> |
| 99 | + </tool:annotation> |
| 100 | + </xsd:appinfo> |
89 | 101 | </xsd:annotation>
|
90 | 102 | </xsd:attribute>
|
91 | 103 | <xsd:attribute name="name-generator" type="xsd:string">
|
|
0 commit comments