Merge lp:~james-page/ubuntu/oneiric/jenkins-winstone/827651 into lp:ubuntu/oneiric/jenkins-winstone
- Oneiric (11.10)
- 827651
- Merge into oneiric
Proposed by
James Page
Status: | Merged |
---|---|
Merge reported by: | James Page |
Merged at revision: | not available |
Proposed branch: | lp:~james-page/ubuntu/oneiric/jenkins-winstone/827651 |
Merge into: | lp:ubuntu/oneiric/jenkins-winstone |
Diff against target: |
21177 lines (+20803/-202) 24 files modified
.pc/applied-patches (+1/-1) .pc/use_system_servletapi.patch/pom.xml (+0/-151) debian/README.source (+3/-3) debian/changelog (+16/-0) debian/control (+0/-2) debian/copyright (+9/-0) debian/libjenkins-winstone-java.classpath (+0/-1) debian/patches/series (+1/-1) debian/patches/specification-resources.patch (+10419/-0) debian/patches/use_system_servletapi.patch (+0/-30) pom.xml (+0/-13) src/conf/javax/servlet/resources/XMLSchema.dtd (+402/-0) src/conf/javax/servlet/resources/datatypes.dtd (+203/-0) src/conf/javax/servlet/resources/j2ee_1_4.xsd (+1616/-0) src/conf/javax/servlet/resources/j2ee_web_services_client_1_1.xsd (+353/-0) src/conf/javax/servlet/resources/javaee_5.xsd (+2102/-0) src/conf/javax/servlet/resources/javaee_web_services_client_1_2.xsd (+585/-0) src/conf/javax/servlet/resources/jsp_2_0.xsd (+316/-0) src/conf/javax/servlet/resources/jsp_2_1.xsd (+349/-0) src/conf/javax/servlet/resources/web-app_2_2.dtd (+602/-0) src/conf/javax/servlet/resources/web-app_2_3.dtd (+1022/-0) src/conf/javax/servlet/resources/web-app_2_4.xsd (+1242/-0) src/conf/javax/servlet/resources/web-app_2_5.xsd (+1275/-0) src/conf/javax/servlet/resources/xml.xsd (+287/-0) |
To merge this branch: | bzr merge lp:~james-page/ubuntu/oneiric/jenkins-winstone/827651 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Development Team | Pending | ||
Review via email: mp+72024@code.launchpad.net |
Commit message
Description of the change
Patch in required Java EE specifications under CDDL/GPL-2 license to provide full offline functionality and remove dependencies on libservlet-2.5-java which does not have the full set of specifications required.
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file '.pc/applied-patches' | |||
2 | --- .pc/applied-patches 2011-06-29 12:16:17 +0000 | |||
3 | +++ .pc/applied-patches 2011-08-18 11:23:23 +0000 | |||
4 | @@ -1,2 +1,2 @@ | |||
5 | 1 | java-1.6.patch | 1 | java-1.6.patch |
7 | 2 | use_system_servletapi.patch | 2 | specification-resources.patch |
8 | 3 | 3 | ||
9 | === added directory '.pc/specification-resources.patch' | |||
10 | === added directory '.pc/specification-resources.patch/src' | |||
11 | === added directory '.pc/specification-resources.patch/src/conf' | |||
12 | === added directory '.pc/specification-resources.patch/src/conf/javax' | |||
13 | === added directory '.pc/specification-resources.patch/src/conf/javax/servlet' | |||
14 | === added directory '.pc/specification-resources.patch/src/conf/javax/servlet/resources' | |||
15 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/XMLSchema.dtd' | |||
16 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/datatypes.dtd' | |||
17 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/j2ee_1_4.xsd' | |||
18 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/j2ee_web_services_client_1_1.xsd' | |||
19 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/javaee_5.xsd' | |||
20 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/javaee_web_services_client_1_2.xsd' | |||
21 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/jsp_2_0.xsd' | |||
22 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/jsp_2_1.xsd' | |||
23 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/web-app_2_2.dtd' | |||
24 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/web-app_2_3.dtd' | |||
25 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/web-app_2_4.xsd' | |||
26 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/web-app_2_5.xsd' | |||
27 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/xml.xsd' | |||
28 | === removed directory '.pc/use_system_servletapi.patch' | |||
29 | === removed file '.pc/use_system_servletapi.patch/pom.xml' | |||
30 | --- .pc/use_system_servletapi.patch/pom.xml 2011-06-29 12:16:17 +0000 | |||
31 | +++ .pc/use_system_servletapi.patch/pom.xml 1970-01-01 00:00:00 +0000 | |||
32 | @@ -1,151 +0,0 @@ | |||
33 | 1 | <project> | ||
34 | 2 | <modelVersion>4.0.0</modelVersion> | ||
35 | 3 | <groupId>org.jenkins-ci</groupId> | ||
36 | 4 | <artifactId>winstone</artifactId> | ||
37 | 5 | <version>0.9.10-jenkins-25</version> | ||
38 | 6 | <packaging>jar</packaging> | ||
39 | 7 | |||
40 | 8 | <name>Winstone</name> | ||
41 | 9 | <url>http://winstone.sourceforge.net/</url> | ||
42 | 10 | <description>Winstone is a servlet container that was written out of a desire to provide servlet functionality without the bloat that full J2EE compliance introduces.</description> | ||
43 | 11 | |||
44 | 12 | <licenses> | ||
45 | 13 | <license> | ||
46 | 14 | <name>GNU Lesser General Public License version 2.1</name> | ||
47 | 15 | <url>http://www.gnu.org/licenses/lgpl.html</url> | ||
48 | 16 | </license> | ||
49 | 17 | <license> | ||
50 | 18 | <name>COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0</name> | ||
51 | 19 | <url>http://www.sun.com/cddl/cddl.html</url> | ||
52 | 20 | </license> | ||
53 | 21 | </licenses> | ||
54 | 22 | |||
55 | 23 | <scm> | ||
56 | 24 | <connection>scm:cvs:pserver:anonymous@winstone.cvs.sourceforge.net:/cvsroot/winstone</connection> | ||
57 | 25 | <url>http://winstone.cvs.sourceforge.net/winstone/winstone</url> | ||
58 | 26 | </scm> | ||
59 | 27 | |||
60 | 28 | <build> | ||
61 | 29 | <sourceDirectory>src/java</sourceDirectory> | ||
62 | 30 | |||
63 | 31 | <resources> | ||
64 | 32 | <resource> | ||
65 | 33 | <directory>src/conf</directory> | ||
66 | 34 | <filtering>true</filtering> | ||
67 | 35 | <includes> | ||
68 | 36 | <include>**/*.*</include> | ||
69 | 37 | </includes> | ||
70 | 38 | </resource> | ||
71 | 39 | |||
72 | 40 | <resource> | ||
73 | 41 | <directory>src/java</directory> | ||
74 | 42 | <includes> | ||
75 | 43 | <include>**/*.properties</include> | ||
76 | 44 | </includes> | ||
77 | 45 | </resource> | ||
78 | 46 | </resources> | ||
79 | 47 | |||
80 | 48 | <testSourceDirectory>src/test</testSourceDirectory> | ||
81 | 49 | |||
82 | 50 | <testResources> | ||
83 | 51 | <testResource> | ||
84 | 52 | <directory>src/test</directory> | ||
85 | 53 | <excludes> | ||
86 | 54 | <exclude>**/*.java</exclude> | ||
87 | 55 | </excludes> | ||
88 | 56 | </testResource> | ||
89 | 57 | </testResources> | ||
90 | 58 | |||
91 | 59 | <plugins> | ||
92 | 60 | <plugin> | ||
93 | 61 | <artifactId>maven-compiler-plugin</artifactId> | ||
94 | 62 | <configuration> | ||
95 | 63 | <source>1.5</source> | ||
96 | 64 | <target>1.5</target> | ||
97 | 65 | </configuration> | ||
98 | 66 | </plugin> | ||
99 | 67 | |||
100 | 68 | <plugin> | ||
101 | 69 | <artifactId>maven-antrun-plugin</artifactId> | ||
102 | 70 | <executions> | ||
103 | 71 | <execution> | ||
104 | 72 | <id>prepare-testwebapp</id> | ||
105 | 73 | <phase>process-test-classes</phase> | ||
106 | 74 | <goals> | ||
107 | 75 | <goal>run</goal> | ||
108 | 76 | </goals> | ||
109 | 77 | <configuration> | ||
110 | 78 | <tasks> | ||
111 | 79 | <copy overwrite="true" todir="${project.build.directory}"> | ||
112 | 80 | <fileset dir="${basedir}/src" includes="testwebapp/**"/> | ||
113 | 81 | </copy> | ||
114 | 82 | <copy overwrite="true" todir="${project.build.directory}/testwebapp/WEB-INF/classes"> | ||
115 | 83 | <fileset dir="${project.build.testOutputDirectory}" includes="**"/> | ||
116 | 84 | </copy> | ||
117 | 85 | </tasks> | ||
118 | 86 | </configuration> | ||
119 | 87 | </execution> | ||
120 | 88 | </executions> | ||
121 | 89 | </plugin> | ||
122 | 90 | |||
123 | 91 | <plugin> | ||
124 | 92 | <artifactId>maven-surefire-plugin</artifactId> | ||
125 | 93 | <configuration> | ||
126 | 94 | <includes> | ||
127 | 95 | <include>**/*Test.java</include> | ||
128 | 96 | </includes> | ||
129 | 97 | <excludes> | ||
130 | 98 | <exclude>**/*NaughtyTest.java</exclude> | ||
131 | 99 | <exclude>winstone/testCase/load/LoadTest.java</exclude> | ||
132 | 100 | </excludes> | ||
133 | 101 | </configuration> | ||
134 | 102 | </plugin> | ||
135 | 103 | |||
136 | 104 | <plugin> | ||
137 | 105 | <artifactId>maven-jar-plugin</artifactId> | ||
138 | 106 | <configuration> | ||
139 | 107 | <archive> | ||
140 | 108 | <manifest> | ||
141 | 109 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> | ||
142 | 110 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> | ||
143 | 111 | <mainClass>winstone.Launcher</mainClass> | ||
144 | 112 | </manifest> | ||
145 | 113 | </archive> | ||
146 | 114 | </configuration> | ||
147 | 115 | </plugin> | ||
148 | 116 | </plugins> | ||
149 | 117 | </build> | ||
150 | 118 | |||
151 | 119 | <distributionManagement> | ||
152 | 120 | <repository> | ||
153 | 121 | <id>maven.jenkins-ci.org</id> | ||
154 | 122 | <url>http://maven.jenkins-ci.org:8081/content/repositories/releases</url> | ||
155 | 123 | </repository> | ||
156 | 124 | </distributionManagement> | ||
157 | 125 | |||
158 | 126 | <repositories> | ||
159 | 127 | <repository> | ||
160 | 128 | <id>maven2-repository.dev.java.net</id> | ||
161 | 129 | <name>Java.net Repository for Maven</name> | ||
162 | 130 | <url>http://download.java.net/maven/2/</url> | ||
163 | 131 | </repository> | ||
164 | 132 | </repositories> | ||
165 | 133 | |||
166 | 134 | <dependencies> | ||
167 | 135 | <dependency> | ||
168 | 136 | <groupId>junit</groupId> | ||
169 | 137 | <artifactId>junit</artifactId> | ||
170 | 138 | <version>3.8.1</version> | ||
171 | 139 | <scope>test</scope> | ||
172 | 140 | </dependency> | ||
173 | 141 | |||
174 | 142 | <dependency> | ||
175 | 143 | <groupId>httpunit</groupId> | ||
176 | 144 | <artifactId>httpunit</artifactId> | ||
177 | 145 | <version>1.6</version> | ||
178 | 146 | <scope>test</scope> | ||
179 | 147 | </dependency> | ||
180 | 148 | </dependencies> | ||
181 | 149 | |||
182 | 150 | </project> | ||
183 | 151 | |||
184 | 152 | 0 | ||
185 | === modified file 'debian/README.source' | |||
186 | --- debian/README.source 2011-06-29 12:16:17 +0000 | |||
187 | +++ debian/README.source 2011-08-18 11:23:23 +0000 | |||
188 | @@ -21,6 +21,6 @@ | |||
189 | 21 | license appears to have been granted to the winstone project | 21 | license appears to have been granted to the winstone project |
190 | 22 | for these files. | 22 | for these files. |
191 | 23 | 23 | ||
195 | 24 | Sun Microsystems did release these files under CDDL or GPL-2; | 24 | Sun Microsystems did released these files under CDDL or GPL-2; |
196 | 25 | libservlet2.5-java provides the same files under CDDL/Apache-2.0 | 25 | these versions are patched into the source tree during package build. |
197 | 26 | so this library is used instead. | 26 | (see debian/patches/specification-resources.patch) |
198 | 27 | 27 | ||
199 | === modified file 'debian/changelog' | |||
200 | --- debian/changelog 2011-06-29 12:16:17 +0000 | |||
201 | +++ debian/changelog 2011-08-18 11:23:23 +0000 | |||
202 | @@ -1,3 +1,19 @@ | |||
203 | 1 | jenkins-winstone (0.9.10-jenkins-25+dfsg-0ubuntu2) oneiric; urgency=low | ||
204 | 2 | |||
205 | 3 | * Support offline validation of XML configuration files (LP: #827651): | ||
206 | 4 | - debian/patches/specification-resources.patch: CDDL/GPL-2 licensed | ||
207 | 5 | xsd+DTD resources for all servlet, jsp and j2ee specifications. | ||
208 | 6 | - debian/copyright: documented copyright + license for | ||
209 | 7 | specification-resources.patch. | ||
210 | 8 | - debian/control: Removed dependency on libservlet2.5-java, no longer | ||
211 | 9 | required. | ||
212 | 10 | - debian/patches/series,debian/patches/use_system_servletapi.patch: | ||
213 | 11 | Dropped patch as no longer required. | ||
214 | 12 | - debian/libjenkins-winstone-java.classpath: Dropped as all required | ||
215 | 13 | resources are now included in winstone. | ||
216 | 14 | |||
217 | 15 | -- James Page <james.page@ubuntu.com> Thu, 18 Aug 2011 09:55:33 +0100 | ||
218 | 16 | |||
219 | 1 | jenkins-winstone (0.9.10-jenkins-25+dfsg-0ubuntu1) oneiric; urgency=low | 17 | jenkins-winstone (0.9.10-jenkins-25+dfsg-0ubuntu1) oneiric; urgency=low |
220 | 2 | 18 | ||
221 | 3 | * Initial release | 19 | * Initial release |
222 | 4 | 20 | ||
223 | === modified file 'debian/control' | |||
224 | --- debian/control 2011-06-29 12:16:17 +0000 | |||
225 | +++ debian/control 2011-08-18 11:23:23 +0000 | |||
226 | @@ -16,8 +16,6 @@ | |||
227 | 16 | libhttpunit-java, | 16 | libhttpunit-java, |
228 | 17 | libmaven-antrun-plugin-java, | 17 | libmaven-antrun-plugin-java, |
229 | 18 | libmaven-javadoc-plugin-java, | 18 | libmaven-javadoc-plugin-java, |
230 | 19 | libservlet2.5-java, | ||
231 | 20 | libservlet2.5-java-doc | ||
232 | 21 | Standards-Version: 3.9.2 | 19 | Standards-Version: 3.9.2 |
233 | 22 | Homepage: http://github.com/jenkinsci/winstone | 20 | Homepage: http://github.com/jenkinsci/winstone |
234 | 23 | 21 | ||
235 | 24 | 22 | ||
236 | === modified file 'debian/copyright' | |||
237 | --- debian/copyright 2011-06-29 12:16:17 +0000 | |||
238 | +++ debian/copyright 2011-08-18 11:23:23 +0000 | |||
239 | @@ -10,6 +10,10 @@ | |||
240 | 10 | Copyright: 2011, Canonical Ltd (http://www.canonical.com/) | 10 | Copyright: 2011, Canonical Ltd (http://www.canonical.com/) |
241 | 11 | License: CDDL | 11 | License: CDDL |
242 | 12 | 12 | ||
243 | 13 | Files: debian/patches/specification-resources.patch | ||
244 | 14 | Copyright: 1999-2007, Sun Microsystems, Inc | ||
245 | 15 | License: CDDL or GPL-2 with Classpath exception | ||
246 | 16 | |||
247 | 13 | License: CDDL | 17 | License: CDDL |
248 | 14 | COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 | 18 | COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 |
249 | 15 | . | 19 | . |
250 | @@ -395,3 +399,8 @@ | |||
251 | 395 | License: LGPL-2.1 | 399 | License: LGPL-2.1 |
252 | 396 | On Debian GNU/Linux system you can find the complete text of the | 400 | On Debian GNU/Linux system you can find the complete text of the |
253 | 397 | LGPL-2.1 license in '/usr/share/common-licenses/LGPL-2.1' | 401 | LGPL-2.1 license in '/usr/share/common-licenses/LGPL-2.1' |
254 | 402 | |||
255 | 403 | License: GPL-2 | ||
256 | 404 | On Debian GNU/Linux system you can find the complete text of the | ||
257 | 405 | GPL-2 license in '/usr/share/common-licenses/GPL-2' | ||
258 | 406 | |||
259 | 398 | 407 | ||
260 | === removed file 'debian/libjenkins-winstone-java.classpath' | |||
261 | --- debian/libjenkins-winstone-java.classpath 2011-06-29 12:16:17 +0000 | |||
262 | +++ debian/libjenkins-winstone-java.classpath 1970-01-01 00:00:00 +0000 | |||
263 | @@ -1,1 +0,0 @@ | |||
264 | 1 | usr/share/java/jenkins-winstone.jar /usr/share/java/servlet-api-2.5.jar | ||
265 | 2 | 0 | ||
266 | === modified file 'debian/patches/series' | |||
267 | --- debian/patches/series 2011-06-29 12:16:17 +0000 | |||
268 | +++ debian/patches/series 2011-08-18 11:23:23 +0000 | |||
269 | @@ -1,2 +1,2 @@ | |||
270 | 1 | java-1.6.patch | 1 | java-1.6.patch |
272 | 2 | use_system_servletapi.patch | 2 | specification-resources.patch |
273 | 3 | 3 | ||
274 | === added file 'debian/patches/specification-resources.patch' | |||
275 | --- debian/patches/specification-resources.patch 1970-01-01 00:00:00 +0000 | |||
276 | +++ debian/patches/specification-resources.patch 2011-08-18 11:23:23 +0000 | |||
277 | @@ -0,0 +1,10419 @@ | |||
278 | 1 | Index: jenkins-winstone/src/conf/javax/servlet/resources/XMLSchema.dtd | ||
279 | 2 | =================================================================== | ||
280 | 3 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
281 | 4 | +++ jenkins-winstone/src/conf/javax/servlet/resources/XMLSchema.dtd 2011-08-18 09:37:53.671397840 +0100 | ||
282 | 5 | @@ -0,0 +1,402 @@ | ||
283 | 6 | +<!-- DTD for XML Schemas: Part 1: Structures | ||
284 | 7 | + Public Identifier: "-//W3C//DTD XMLSCHEMA 200102//EN" | ||
285 | 8 | + Official Location: http://www.w3.org/2001/XMLSchema.dtd --> | ||
286 | 9 | +<!-- $Id: XMLSchema.dtd,v 1.31 2001/10/24 15:50:16 ht Exp $ --> | ||
287 | 10 | +<!-- Note this DTD is NOT normative, or even definitive. --> <!--d--> | ||
288 | 11 | +<!-- prose copy in the structures REC is the definitive version --> <!--d--> | ||
289 | 12 | +<!-- (which shouldn't differ from this one except for this --> <!--d--> | ||
290 | 13 | +<!-- comment and entity expansions, but just in case) --> <!--d--> | ||
291 | 14 | +<!-- With the exception of cases with multiple namespace | ||
292 | 15 | + prefixes for the XML Schema namespace, any XML document which is | ||
293 | 16 | + not valid per this DTD given redefinitions in its internal subset of the | ||
294 | 17 | + 'p' and 's' parameter entities below appropriate to its namespace | ||
295 | 18 | + declaration of the XML Schema namespace is almost certainly not | ||
296 | 19 | + a valid schema. --> | ||
297 | 20 | + | ||
298 | 21 | +<!-- The simpleType element and its constituent parts | ||
299 | 22 | + are defined in XML Schema: Part 2: Datatypes --> | ||
300 | 23 | +<!ENTITY % xs-datatypes PUBLIC 'datatypes' 'datatypes.dtd' > | ||
301 | 24 | + | ||
302 | 25 | +<!ENTITY % p 'xs:'> <!-- can be overriden in the internal subset of a | ||
303 | 26 | + schema document to establish a different | ||
304 | 27 | + namespace prefix --> | ||
305 | 28 | +<!ENTITY % s ':xs'> <!-- if %p is defined (e.g. as foo:) then you must | ||
306 | 29 | + also define %s as the suffix for the appropriate | ||
307 | 30 | + namespace declaration (e.g. :foo) --> | ||
308 | 31 | +<!ENTITY % nds 'xmlns%s;'> | ||
309 | 32 | + | ||
310 | 33 | +<!-- Define all the element names, with optional prefix --> | ||
311 | 34 | +<!ENTITY % schema "%p;schema"> | ||
312 | 35 | +<!ENTITY % complexType "%p;complexType"> | ||
313 | 36 | +<!ENTITY % complexContent "%p;complexContent"> | ||
314 | 37 | +<!ENTITY % simpleContent "%p;simpleContent"> | ||
315 | 38 | +<!ENTITY % extension "%p;extension"> | ||
316 | 39 | +<!ENTITY % element "%p;element"> | ||
317 | 40 | +<!ENTITY % unique "%p;unique"> | ||
318 | 41 | +<!ENTITY % key "%p;key"> | ||
319 | 42 | +<!ENTITY % keyref "%p;keyref"> | ||
320 | 43 | +<!ENTITY % selector "%p;selector"> | ||
321 | 44 | +<!ENTITY % field "%p;field"> | ||
322 | 45 | +<!ENTITY % group "%p;group"> | ||
323 | 46 | +<!ENTITY % all "%p;all"> | ||
324 | 47 | +<!ENTITY % choice "%p;choice"> | ||
325 | 48 | +<!ENTITY % sequence "%p;sequence"> | ||
326 | 49 | +<!ENTITY % any "%p;any"> | ||
327 | 50 | +<!ENTITY % anyAttribute "%p;anyAttribute"> | ||
328 | 51 | +<!ENTITY % attribute "%p;attribute"> | ||
329 | 52 | +<!ENTITY % attributeGroup "%p;attributeGroup"> | ||
330 | 53 | +<!ENTITY % include "%p;include"> | ||
331 | 54 | +<!ENTITY % import "%p;import"> | ||
332 | 55 | +<!ENTITY % redefine "%p;redefine"> | ||
333 | 56 | +<!ENTITY % notation "%p;notation"> | ||
334 | 57 | + | ||
335 | 58 | +<!-- annotation elements --> | ||
336 | 59 | +<!ENTITY % annotation "%p;annotation"> | ||
337 | 60 | +<!ENTITY % appinfo "%p;appinfo"> | ||
338 | 61 | +<!ENTITY % documentation "%p;documentation"> | ||
339 | 62 | + | ||
340 | 63 | +<!-- Customisation entities for the ATTLIST of each element type. | ||
341 | 64 | + Define one of these if your schema takes advantage of the | ||
342 | 65 | + anyAttribute='##other' in the schema for schemas --> | ||
343 | 66 | + | ||
344 | 67 | +<!ENTITY % schemaAttrs ''> | ||
345 | 68 | +<!ENTITY % complexTypeAttrs ''> | ||
346 | 69 | +<!ENTITY % complexContentAttrs ''> | ||
347 | 70 | +<!ENTITY % simpleContentAttrs ''> | ||
348 | 71 | +<!ENTITY % extensionAttrs ''> | ||
349 | 72 | +<!ENTITY % elementAttrs ''> | ||
350 | 73 | +<!ENTITY % groupAttrs ''> | ||
351 | 74 | +<!ENTITY % allAttrs ''> | ||
352 | 75 | +<!ENTITY % choiceAttrs ''> | ||
353 | 76 | +<!ENTITY % sequenceAttrs ''> | ||
354 | 77 | +<!ENTITY % anyAttrs ''> | ||
355 | 78 | +<!ENTITY % anyAttributeAttrs ''> | ||
356 | 79 | +<!ENTITY % attributeAttrs ''> | ||
357 | 80 | +<!ENTITY % attributeGroupAttrs ''> | ||
358 | 81 | +<!ENTITY % uniqueAttrs ''> | ||
359 | 82 | +<!ENTITY % keyAttrs ''> | ||
360 | 83 | +<!ENTITY % keyrefAttrs ''> | ||
361 | 84 | +<!ENTITY % selectorAttrs ''> | ||
362 | 85 | +<!ENTITY % fieldAttrs ''> | ||
363 | 86 | +<!ENTITY % includeAttrs ''> | ||
364 | 87 | +<!ENTITY % importAttrs ''> | ||
365 | 88 | +<!ENTITY % redefineAttrs ''> | ||
366 | 89 | +<!ENTITY % notationAttrs ''> | ||
367 | 90 | +<!ENTITY % annotationAttrs ''> | ||
368 | 91 | +<!ENTITY % appinfoAttrs ''> | ||
369 | 92 | +<!ENTITY % documentationAttrs ''> | ||
370 | 93 | + | ||
371 | 94 | +<!ENTITY % complexDerivationSet "CDATA"> | ||
372 | 95 | + <!-- #all or space-separated list drawn from derivationChoice --> | ||
373 | 96 | +<!ENTITY % blockSet "CDATA"> | ||
374 | 97 | + <!-- #all or space-separated list drawn from | ||
375 | 98 | + derivationChoice + 'substitution' --> | ||
376 | 99 | + | ||
377 | 100 | +<!ENTITY % mgs '%all; | %choice; | %sequence;'> | ||
378 | 101 | +<!ENTITY % cs '%choice; | %sequence;'> | ||
379 | 102 | +<!ENTITY % formValues '(qualified|unqualified)'> | ||
380 | 103 | + | ||
381 | 104 | + | ||
382 | 105 | +<!ENTITY % attrDecls '((%attribute;| %attributeGroup;)*,(%anyAttribute;)?)'> | ||
383 | 106 | + | ||
384 | 107 | +<!ENTITY % particleAndAttrs '((%mgs; | %group;)?, %attrDecls;)'> | ||
385 | 108 | + | ||
386 | 109 | +<!-- This is used in part2 --> | ||
387 | 110 | +<!ENTITY % restriction1 '((%mgs; | %group;)?)'> | ||
388 | 111 | + | ||
389 | 112 | +%xs-datatypes; | ||
390 | 113 | + | ||
391 | 114 | +<!-- the duplication below is to produce an unambiguous content model | ||
392 | 115 | + which allows annotation everywhere --> | ||
393 | 116 | +<!ELEMENT %schema; ((%include; | %import; | %redefine; | %annotation;)*, | ||
394 | 117 | + ((%simpleType; | %complexType; | ||
395 | 118 | + | %element; | %attribute; | ||
396 | 119 | + | %attributeGroup; | %group; | ||
397 | 120 | + | %notation; ), | ||
398 | 121 | + (%annotation;)*)* )> | ||
399 | 122 | +<!ATTLIST %schema; | ||
400 | 123 | + targetNamespace %URIref; #IMPLIED | ||
401 | 124 | + version CDATA #IMPLIED | ||
402 | 125 | + %nds; %URIref; #FIXED 'http://www.w3.org/2001/XMLSchema' | ||
403 | 126 | + xmlns CDATA #IMPLIED | ||
404 | 127 | + finalDefault %complexDerivationSet; '' | ||
405 | 128 | + blockDefault %blockSet; '' | ||
406 | 129 | + id ID #IMPLIED | ||
407 | 130 | + elementFormDefault %formValues; 'unqualified' | ||
408 | 131 | + attributeFormDefault %formValues; 'unqualified' | ||
409 | 132 | + xml:lang CDATA #IMPLIED | ||
410 | 133 | + %schemaAttrs;> | ||
411 | 134 | +<!-- Note the xmlns declaration is NOT in the Schema for Schemas, | ||
412 | 135 | + because at the Infoset level where schemas operate, | ||
413 | 136 | + xmlns(:prefix) is NOT an attribute! --> | ||
414 | 137 | +<!-- The declaration of xmlns is a convenience for schema authors --> | ||
415 | 138 | + | ||
416 | 139 | +<!-- The id attribute here and below is for use in external references | ||
417 | 140 | + from non-schemas using simple fragment identifiers. | ||
418 | 141 | + It is NOT used for schema-to-schema reference, internal or | ||
419 | 142 | + external. --> | ||
420 | 143 | + | ||
421 | 144 | +<!-- a type is a named content type specification which allows attribute | ||
422 | 145 | + declarations--> | ||
423 | 146 | +<!-- --> | ||
424 | 147 | + | ||
425 | 148 | +<!ELEMENT %complexType; ((%annotation;)?, | ||
426 | 149 | + (%simpleContent;|%complexContent;| | ||
427 | 150 | + %particleAndAttrs;))> | ||
428 | 151 | + | ||
429 | 152 | +<!ATTLIST %complexType; | ||
430 | 153 | + name %NCName; #IMPLIED | ||
431 | 154 | + id ID #IMPLIED | ||
432 | 155 | + abstract %boolean; #IMPLIED | ||
433 | 156 | + final %complexDerivationSet; #IMPLIED | ||
434 | 157 | + block %complexDerivationSet; #IMPLIED | ||
435 | 158 | + mixed (true|false) 'false' | ||
436 | 159 | + %complexTypeAttrs;> | ||
437 | 160 | + | ||
438 | 161 | +<!-- particleAndAttrs is shorthand for a root type --> | ||
439 | 162 | +<!-- mixed is disallowed if simpleContent, overriden if complexContent | ||
440 | 163 | + has one too. --> | ||
441 | 164 | + | ||
442 | 165 | +<!-- If anyAttribute appears in one or more referenced attributeGroups | ||
443 | 166 | + and/or explicitly, the intersection of the permissions is used --> | ||
444 | 167 | + | ||
445 | 168 | +<!ELEMENT %complexContent; ((%annotation;)?, (%restriction;|%extension;))> | ||
446 | 169 | +<!ATTLIST %complexContent; | ||
447 | 170 | + mixed (true|false) #IMPLIED | ||
448 | 171 | + id ID #IMPLIED | ||
449 | 172 | + %complexContentAttrs;> | ||
450 | 173 | + | ||
451 | 174 | +<!-- restriction should use the branch defined above, not the simple | ||
452 | 175 | + one from part2; extension should use the full model --> | ||
453 | 176 | + | ||
454 | 177 | +<!ELEMENT %simpleContent; ((%annotation;)?, (%restriction;|%extension;))> | ||
455 | 178 | +<!ATTLIST %simpleContent; | ||
456 | 179 | + id ID #IMPLIED | ||
457 | 180 | + %simpleContentAttrs;> | ||
458 | 181 | + | ||
459 | 182 | +<!-- restriction should use the simple branch from part2, not the | ||
460 | 183 | + one defined above; extension should have no particle --> | ||
461 | 184 | + | ||
462 | 185 | +<!ELEMENT %extension; ((%annotation;)?, (%particleAndAttrs;))> | ||
463 | 186 | +<!ATTLIST %extension; | ||
464 | 187 | + base %QName; #REQUIRED | ||
465 | 188 | + id ID #IMPLIED | ||
466 | 189 | + %extensionAttrs;> | ||
467 | 190 | + | ||
468 | 191 | +<!-- an element is declared by either: | ||
469 | 192 | + a name and a type (either nested or referenced via the type attribute) | ||
470 | 193 | + or a ref to an existing element declaration --> | ||
471 | 194 | + | ||
472 | 195 | +<!ELEMENT %element; ((%annotation;)?, (%complexType;| %simpleType;)?, | ||
473 | 196 | + (%unique; | %key; | %keyref;)*)> | ||
474 | 197 | +<!-- simpleType or complexType only if no type|ref attribute --> | ||
475 | 198 | +<!-- ref not allowed at top level --> | ||
476 | 199 | +<!ATTLIST %element; | ||
477 | 200 | + name %NCName; #IMPLIED | ||
478 | 201 | + id ID #IMPLIED | ||
479 | 202 | + ref %QName; #IMPLIED | ||
480 | 203 | + type %QName; #IMPLIED | ||
481 | 204 | + minOccurs %nonNegativeInteger; #IMPLIED | ||
482 | 205 | + maxOccurs CDATA #IMPLIED | ||
483 | 206 | + nillable %boolean; #IMPLIED | ||
484 | 207 | + substitutionGroup %QName; #IMPLIED | ||
485 | 208 | + abstract %boolean; #IMPLIED | ||
486 | 209 | + final %complexDerivationSet; #IMPLIED | ||
487 | 210 | + block %blockSet; #IMPLIED | ||
488 | 211 | + default CDATA #IMPLIED | ||
489 | 212 | + fixed CDATA #IMPLIED | ||
490 | 213 | + form %formValues; #IMPLIED | ||
491 | 214 | + %elementAttrs;> | ||
492 | 215 | +<!-- type and ref are mutually exclusive. | ||
493 | 216 | + name and ref are mutually exclusive, one is required --> | ||
494 | 217 | +<!-- In the absence of type AND ref, type defaults to type of | ||
495 | 218 | + substitutionGroup, if any, else the ur-type, i.e. unconstrained --> | ||
496 | 219 | +<!-- default and fixed are mutually exclusive --> | ||
497 | 220 | + | ||
498 | 221 | +<!ELEMENT %group; ((%annotation;)?,(%mgs;)?)> | ||
499 | 222 | +<!ATTLIST %group; | ||
500 | 223 | + name %NCName; #IMPLIED | ||
501 | 224 | + ref %QName; #IMPLIED | ||
502 | 225 | + minOccurs %nonNegativeInteger; #IMPLIED | ||
503 | 226 | + maxOccurs CDATA #IMPLIED | ||
504 | 227 | + id ID #IMPLIED | ||
505 | 228 | + %groupAttrs;> | ||
506 | 229 | + | ||
507 | 230 | +<!ELEMENT %all; ((%annotation;)?, (%element;)*)> | ||
508 | 231 | +<!ATTLIST %all; | ||
509 | 232 | + minOccurs (1) #IMPLIED | ||
510 | 233 | + maxOccurs (1) #IMPLIED | ||
511 | 234 | + id ID #IMPLIED | ||
512 | 235 | + %allAttrs;> | ||
513 | 236 | + | ||
514 | 237 | +<!ELEMENT %choice; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)> | ||
515 | 238 | +<!ATTLIST %choice; | ||
516 | 239 | + minOccurs %nonNegativeInteger; #IMPLIED | ||
517 | 240 | + maxOccurs CDATA #IMPLIED | ||
518 | 241 | + id ID #IMPLIED | ||
519 | 242 | + %choiceAttrs;> | ||
520 | 243 | + | ||
521 | 244 | +<!ELEMENT %sequence; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)> | ||
522 | 245 | +<!ATTLIST %sequence; | ||
523 | 246 | + minOccurs %nonNegativeInteger; #IMPLIED | ||
524 | 247 | + maxOccurs CDATA #IMPLIED | ||
525 | 248 | + id ID #IMPLIED | ||
526 | 249 | + %sequenceAttrs;> | ||
527 | 250 | + | ||
528 | 251 | +<!-- an anonymous grouping in a model, or | ||
529 | 252 | + a top-level named group definition, or a reference to same --> | ||
530 | 253 | + | ||
531 | 254 | +<!-- Note that if order is 'all', group is not allowed inside. | ||
532 | 255 | + If order is 'all' THIS group must be alone (or referenced alone) at | ||
533 | 256 | + the top level of a content model --> | ||
534 | 257 | +<!-- If order is 'all', minOccurs==maxOccurs==1 on element/any inside --> | ||
535 | 258 | +<!-- Should allow minOccurs=0 inside order='all' . . . --> | ||
536 | 259 | + | ||
537 | 260 | +<!ELEMENT %any; (%annotation;)?> | ||
538 | 261 | +<!ATTLIST %any; | ||
539 | 262 | + namespace CDATA '##any' | ||
540 | 263 | + processContents (skip|lax|strict) 'strict' | ||
541 | 264 | + minOccurs %nonNegativeInteger; '1' | ||
542 | 265 | + maxOccurs CDATA '1' | ||
543 | 266 | + id ID #IMPLIED | ||
544 | 267 | + %anyAttrs;> | ||
545 | 268 | + | ||
546 | 269 | +<!-- namespace is interpreted as follows: | ||
547 | 270 | + ##any - - any non-conflicting WFXML at all | ||
548 | 271 | + | ||
549 | 272 | + ##other - - any non-conflicting WFXML from namespace other | ||
550 | 273 | + than targetNamespace | ||
551 | 274 | + | ||
552 | 275 | + ##local - - any unqualified non-conflicting WFXML/attribute | ||
553 | 276 | + one or - - any non-conflicting WFXML from | ||
554 | 277 | + more URI the listed namespaces | ||
555 | 278 | + references | ||
556 | 279 | + | ||
557 | 280 | + ##targetNamespace ##local may appear in the above list, | ||
558 | 281 | + with the obvious meaning --> | ||
559 | 282 | + | ||
560 | 283 | +<!ELEMENT %anyAttribute; (%annotation;)?> | ||
561 | 284 | +<!ATTLIST %anyAttribute; | ||
562 | 285 | + namespace CDATA '##any' | ||
563 | 286 | + processContents (skip|lax|strict) 'strict' | ||
564 | 287 | + id ID #IMPLIED | ||
565 | 288 | + %anyAttributeAttrs;> | ||
566 | 289 | +<!-- namespace is interpreted as for 'any' above --> | ||
567 | 290 | + | ||
568 | 291 | +<!-- simpleType only if no type|ref attribute --> | ||
569 | 292 | +<!-- ref not allowed at top level, name iff at top level --> | ||
570 | 293 | +<!ELEMENT %attribute; ((%annotation;)?, (%simpleType;)?)> | ||
571 | 294 | +<!ATTLIST %attribute; | ||
572 | 295 | + name %NCName; #IMPLIED | ||
573 | 296 | + id ID #IMPLIED | ||
574 | 297 | + ref %QName; #IMPLIED | ||
575 | 298 | + type %QName; #IMPLIED | ||
576 | 299 | + use (prohibited|optional|required) #IMPLIED | ||
577 | 300 | + default CDATA #IMPLIED | ||
578 | 301 | + fixed CDATA #IMPLIED | ||
579 | 302 | + form %formValues; #IMPLIED | ||
580 | 303 | + %attributeAttrs;> | ||
581 | 304 | +<!-- type and ref are mutually exclusive. | ||
582 | 305 | + name and ref are mutually exclusive, one is required --> | ||
583 | 306 | +<!-- default for use is optional when nested, none otherwise --> | ||
584 | 307 | +<!-- default and fixed are mutually exclusive --> | ||
585 | 308 | +<!-- type attr and simpleType content are mutually exclusive --> | ||
586 | 309 | + | ||
587 | 310 | +<!-- an attributeGroup is a named collection of attribute decls, or a | ||
588 | 311 | + reference thereto --> | ||
589 | 312 | +<!ELEMENT %attributeGroup; ((%annotation;)?, | ||
590 | 313 | + (%attribute; | %attributeGroup;)*, | ||
591 | 314 | + (%anyAttribute;)?) > | ||
592 | 315 | +<!ATTLIST %attributeGroup; | ||
593 | 316 | + name %NCName; #IMPLIED | ||
594 | 317 | + id ID #IMPLIED | ||
595 | 318 | + ref %QName; #IMPLIED | ||
596 | 319 | + %attributeGroupAttrs;> | ||
597 | 320 | + | ||
598 | 321 | +<!-- ref iff no content, no name. ref iff not top level --> | ||
599 | 322 | + | ||
600 | 323 | +<!-- better reference mechanisms --> | ||
601 | 324 | +<!ELEMENT %unique; ((%annotation;)?, %selector;, (%field;)+)> | ||
602 | 325 | +<!ATTLIST %unique; | ||
603 | 326 | + name %NCName; #REQUIRED | ||
604 | 327 | + id ID #IMPLIED | ||
605 | 328 | + %uniqueAttrs;> | ||
606 | 329 | + | ||
607 | 330 | +<!ELEMENT %key; ((%annotation;)?, %selector;, (%field;)+)> | ||
608 | 331 | +<!ATTLIST %key; | ||
609 | 332 | + name %NCName; #REQUIRED | ||
610 | 333 | + id ID #IMPLIED | ||
611 | 334 | + %keyAttrs;> | ||
612 | 335 | + | ||
613 | 336 | +<!ELEMENT %keyref; ((%annotation;)?, %selector;, (%field;)+)> | ||
614 | 337 | +<!ATTLIST %keyref; | ||
615 | 338 | + name %NCName; #REQUIRED | ||
616 | 339 | + refer %QName; #REQUIRED | ||
617 | 340 | + id ID #IMPLIED | ||
618 | 341 | + %keyrefAttrs;> | ||
619 | 342 | + | ||
620 | 343 | +<!ELEMENT %selector; ((%annotation;)?)> | ||
621 | 344 | +<!ATTLIST %selector; | ||
622 | 345 | + xpath %XPathExpr; #REQUIRED | ||
623 | 346 | + id ID #IMPLIED | ||
624 | 347 | + %selectorAttrs;> | ||
625 | 348 | +<!ELEMENT %field; ((%annotation;)?)> | ||
626 | 349 | +<!ATTLIST %field; | ||
627 | 350 | + xpath %XPathExpr; #REQUIRED | ||
628 | 351 | + id ID #IMPLIED | ||
629 | 352 | + %fieldAttrs;> | ||
630 | 353 | + | ||
631 | 354 | +<!-- Schema combination mechanisms --> | ||
632 | 355 | +<!ELEMENT %include; (%annotation;)?> | ||
633 | 356 | +<!ATTLIST %include; | ||
634 | 357 | + schemaLocation %URIref; #REQUIRED | ||
635 | 358 | + id ID #IMPLIED | ||
636 | 359 | + %includeAttrs;> | ||
637 | 360 | + | ||
638 | 361 | +<!ELEMENT %import; (%annotation;)?> | ||
639 | 362 | +<!ATTLIST %import; | ||
640 | 363 | + namespace %URIref; #IMPLIED | ||
641 | 364 | + schemaLocation %URIref; #IMPLIED | ||
642 | 365 | + id ID #IMPLIED | ||
643 | 366 | + %importAttrs;> | ||
644 | 367 | + | ||
645 | 368 | +<!ELEMENT %redefine; (%annotation; | %simpleType; | %complexType; | | ||
646 | 369 | + %attributeGroup; | %group;)*> | ||
647 | 370 | +<!ATTLIST %redefine; | ||
648 | 371 | + schemaLocation %URIref; #REQUIRED | ||
649 | 372 | + id ID #IMPLIED | ||
650 | 373 | + %redefineAttrs;> | ||
651 | 374 | + | ||
652 | 375 | +<!ELEMENT %notation; (%annotation;)?> | ||
653 | 376 | +<!ATTLIST %notation; | ||
654 | 377 | + name %NCName; #REQUIRED | ||
655 | 378 | + id ID #IMPLIED | ||
656 | 379 | + public CDATA #REQUIRED | ||
657 | 380 | + system %URIref; #IMPLIED | ||
658 | 381 | + %notationAttrs;> | ||
659 | 382 | + | ||
660 | 383 | +<!-- Annotation is either application information or documentation --> | ||
661 | 384 | +<!-- By having these here they are available for datatypes as well | ||
662 | 385 | + as all the structures elements --> | ||
663 | 386 | + | ||
664 | 387 | +<!ELEMENT %annotation; (%appinfo; | %documentation;)*> | ||
665 | 388 | +<!ATTLIST %annotation; %annotationAttrs;> | ||
666 | 389 | + | ||
667 | 390 | +<!-- User must define annotation elements in internal subset for this | ||
668 | 391 | + to work --> | ||
669 | 392 | +<!ELEMENT %appinfo; ANY> <!-- too restrictive --> | ||
670 | 393 | +<!ATTLIST %appinfo; | ||
671 | 394 | + source %URIref; #IMPLIED | ||
672 | 395 | + id ID #IMPLIED | ||
673 | 396 | + %appinfoAttrs;> | ||
674 | 397 | +<!ELEMENT %documentation; ANY> <!-- too restrictive --> | ||
675 | 398 | +<!ATTLIST %documentation; | ||
676 | 399 | + source %URIref; #IMPLIED | ||
677 | 400 | + id ID #IMPLIED | ||
678 | 401 | + xml:lang CDATA #IMPLIED | ||
679 | 402 | + %documentationAttrs;> | ||
680 | 403 | + | ||
681 | 404 | +<!NOTATION XMLSchemaStructures PUBLIC | ||
682 | 405 | + 'structures' 'http://www.w3.org/2001/XMLSchema.xsd' > | ||
683 | 406 | +<!NOTATION XML PUBLIC | ||
684 | 407 | + 'REC-xml-1998-0210' 'http://www.w3.org/TR/1998/REC-xml-19980210' > | ||
685 | 408 | Index: jenkins-winstone/src/conf/javax/servlet/resources/datatypes.dtd | ||
686 | 409 | =================================================================== | ||
687 | 410 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
688 | 411 | +++ jenkins-winstone/src/conf/javax/servlet/resources/datatypes.dtd 2011-08-18 09:38:09.181383207 +0100 | ||
689 | 412 | @@ -0,0 +1,203 @@ | ||
690 | 413 | +<!-- | ||
691 | 414 | + DTD for XML Schemas: Part 2: Datatypes | ||
692 | 415 | + $Id: datatypes.dtd,v 1.23 2001/03/16 17:36:30 ht Exp $ | ||
693 | 416 | + Note this DTD is NOT normative, or even definitive. - - the | ||
694 | 417 | + prose copy in the datatypes REC is the definitive version | ||
695 | 418 | + (which shouldn't differ from this one except for this comment | ||
696 | 419 | + and entity expansions, but just in case) | ||
697 | 420 | + --> | ||
698 | 421 | + | ||
699 | 422 | +<!-- | ||
700 | 423 | + This DTD cannot be used on its own, it is intended | ||
701 | 424 | + only for incorporation in XMLSchema.dtd, q.v. | ||
702 | 425 | + --> | ||
703 | 426 | + | ||
704 | 427 | +<!-- Define all the element names, with optional prefix --> | ||
705 | 428 | +<!ENTITY % simpleType "%p;simpleType"> | ||
706 | 429 | +<!ENTITY % restriction "%p;restriction"> | ||
707 | 430 | +<!ENTITY % list "%p;list"> | ||
708 | 431 | +<!ENTITY % union "%p;union"> | ||
709 | 432 | +<!ENTITY % maxExclusive "%p;maxExclusive"> | ||
710 | 433 | +<!ENTITY % minExclusive "%p;minExclusive"> | ||
711 | 434 | +<!ENTITY % maxInclusive "%p;maxInclusive"> | ||
712 | 435 | +<!ENTITY % minInclusive "%p;minInclusive"> | ||
713 | 436 | +<!ENTITY % totalDigits "%p;totalDigits"> | ||
714 | 437 | +<!ENTITY % fractionDigits "%p;fractionDigits"> | ||
715 | 438 | +<!ENTITY % length "%p;length"> | ||
716 | 439 | +<!ENTITY % minLength "%p;minLength"> | ||
717 | 440 | +<!ENTITY % maxLength "%p;maxLength"> | ||
718 | 441 | +<!ENTITY % enumeration "%p;enumeration"> | ||
719 | 442 | +<!ENTITY % whiteSpace "%p;whiteSpace"> | ||
720 | 443 | +<!ENTITY % pattern "%p;pattern"> | ||
721 | 444 | + | ||
722 | 445 | +<!-- | ||
723 | 446 | + Customisation entities for the ATTLIST of each element | ||
724 | 447 | + type. Define one of these if your schema takes advantage | ||
725 | 448 | + of the anyAttribute='##other' in the schema for schemas | ||
726 | 449 | + --> | ||
727 | 450 | + | ||
728 | 451 | +<!ENTITY % simpleTypeAttrs ""> | ||
729 | 452 | +<!ENTITY % restrictionAttrs ""> | ||
730 | 453 | +<!ENTITY % listAttrs ""> | ||
731 | 454 | +<!ENTITY % unionAttrs ""> | ||
732 | 455 | +<!ENTITY % maxExclusiveAttrs ""> | ||
733 | 456 | +<!ENTITY % minExclusiveAttrs ""> | ||
734 | 457 | +<!ENTITY % maxInclusiveAttrs ""> | ||
735 | 458 | +<!ENTITY % minInclusiveAttrs ""> | ||
736 | 459 | +<!ENTITY % totalDigitsAttrs ""> | ||
737 | 460 | +<!ENTITY % fractionDigitsAttrs ""> | ||
738 | 461 | +<!ENTITY % lengthAttrs ""> | ||
739 | 462 | +<!ENTITY % minLengthAttrs ""> | ||
740 | 463 | +<!ENTITY % maxLengthAttrs ""> | ||
741 | 464 | +<!ENTITY % enumerationAttrs ""> | ||
742 | 465 | +<!ENTITY % whiteSpaceAttrs ""> | ||
743 | 466 | +<!ENTITY % patternAttrs ""> | ||
744 | 467 | + | ||
745 | 468 | +<!-- Define some entities for informative use as attribute | ||
746 | 469 | + types --> | ||
747 | 470 | +<!ENTITY % URIref "CDATA"> | ||
748 | 471 | +<!ENTITY % XPathExpr "CDATA"> | ||
749 | 472 | +<!ENTITY % QName "NMTOKEN"> | ||
750 | 473 | +<!ENTITY % QNames "NMTOKENS"> | ||
751 | 474 | +<!ENTITY % NCName "NMTOKEN"> | ||
752 | 475 | +<!ENTITY % nonNegativeInteger "NMTOKEN"> | ||
753 | 476 | +<!ENTITY % boolean "(true|false)"> | ||
754 | 477 | +<!ENTITY % simpleDerivationSet "CDATA"> | ||
755 | 478 | +<!-- | ||
756 | 479 | + #all or space-separated list drawn from derivationChoice | ||
757 | 480 | + --> | ||
758 | 481 | + | ||
759 | 482 | +<!-- | ||
760 | 483 | + Note that the use of 'facet' below is less restrictive | ||
761 | 484 | + than is really intended: There should in fact be no | ||
762 | 485 | + more than one of each of minInclusive, minExclusive, | ||
763 | 486 | + maxInclusive, maxExclusive, totalDigits, fractionDigits, | ||
764 | 487 | + length, maxLength, minLength within datatype, | ||
765 | 488 | + and the min- and max- variants of Inclusive and Exclusive | ||
766 | 489 | + are mutually exclusive. On the other hand, pattern and | ||
767 | 490 | + enumeration may repeat. | ||
768 | 491 | + --> | ||
769 | 492 | +<!ENTITY % minBound "(%minInclusive; | %minExclusive;)"> | ||
770 | 493 | +<!ENTITY % maxBound "(%maxInclusive; | %maxExclusive;)"> | ||
771 | 494 | +<!ENTITY % bounds "%minBound; | %maxBound;"> | ||
772 | 495 | +<!ENTITY % numeric "%totalDigits; | %fractionDigits;"> | ||
773 | 496 | +<!ENTITY % ordered "%bounds; | %numeric;"> | ||
774 | 497 | +<!ENTITY % unordered | ||
775 | 498 | + "%pattern; | %enumeration; | %whiteSpace; | %length; | | ||
776 | 499 | + %maxLength; | %minLength;"> | ||
777 | 500 | +<!ENTITY % facet "%ordered; | %unordered;"> | ||
778 | 501 | +<!ENTITY % facetAttr | ||
779 | 502 | + "value CDATA #REQUIRED | ||
780 | 503 | + id ID #IMPLIED"> | ||
781 | 504 | +<!ENTITY % fixedAttr "fixed %boolean; #IMPLIED"> | ||
782 | 505 | +<!ENTITY % facetModel "(%annotation;)?"> | ||
783 | 506 | +<!ELEMENT %simpleType; | ||
784 | 507 | + ((%annotation;)?, (%restriction; | %list; | %union;))> | ||
785 | 508 | +<!ATTLIST %simpleType; | ||
786 | 509 | + name %NCName; #IMPLIED | ||
787 | 510 | + final %simpleDerivationSet; #IMPLIED | ||
788 | 511 | + id ID #IMPLIED | ||
789 | 512 | + %simpleTypeAttrs;> | ||
790 | 513 | +<!-- name is required at top level --> | ||
791 | 514 | +<!ELEMENT %restriction; ((%annotation;)?, | ||
792 | 515 | + (%restriction1; | | ||
793 | 516 | + ((%simpleType;)?,(%facet;)*)), | ||
794 | 517 | + (%attrDecls;))> | ||
795 | 518 | +<!ATTLIST %restriction; | ||
796 | 519 | + base %QName; #IMPLIED | ||
797 | 520 | + id ID #IMPLIED | ||
798 | 521 | + %restrictionAttrs;> | ||
799 | 522 | +<!-- | ||
800 | 523 | + base and simpleType child are mutually exclusive, | ||
801 | 524 | + one is required. | ||
802 | 525 | + | ||
803 | 526 | + restriction is shared between simpleType and | ||
804 | 527 | + simpleContent and complexContent (in XMLSchema.xsd). | ||
805 | 528 | + restriction1 is for the latter cases, when this | ||
806 | 529 | + is restricting a complex type, as is attrDecls. | ||
807 | 530 | + --> | ||
808 | 531 | +<!ELEMENT %list; ((%annotation;)?,(%simpleType;)?)> | ||
809 | 532 | +<!ATTLIST %list; | ||
810 | 533 | + itemType %QName; #IMPLIED | ||
811 | 534 | + id ID #IMPLIED | ||
812 | 535 | + %listAttrs;> | ||
813 | 536 | +<!-- | ||
814 | 537 | + itemType and simpleType child are mutually exclusive, | ||
815 | 538 | + one is required | ||
816 | 539 | + --> | ||
817 | 540 | +<!ELEMENT %union; ((%annotation;)?,(%simpleType;)*)> | ||
818 | 541 | +<!ATTLIST %union; | ||
819 | 542 | + id ID #IMPLIED | ||
820 | 543 | + memberTypes %QNames; #IMPLIED | ||
821 | 544 | + %unionAttrs;> | ||
822 | 545 | +<!-- | ||
823 | 546 | + At least one item in memberTypes or one simpleType | ||
824 | 547 | + child is required | ||
825 | 548 | + --> | ||
826 | 549 | + | ||
827 | 550 | +<!ELEMENT %maxExclusive; %facetModel;> | ||
828 | 551 | +<!ATTLIST %maxExclusive; | ||
829 | 552 | + %facetAttr; | ||
830 | 553 | + %fixedAttr; | ||
831 | 554 | + %maxExclusiveAttrs;> | ||
832 | 555 | +<!ELEMENT %minExclusive; %facetModel;> | ||
833 | 556 | +<!ATTLIST %minExclusive; | ||
834 | 557 | + %facetAttr; | ||
835 | 558 | + %fixedAttr; | ||
836 | 559 | + %minExclusiveAttrs;> | ||
837 | 560 | + | ||
838 | 561 | +<!ELEMENT %maxInclusive; %facetModel;> | ||
839 | 562 | +<!ATTLIST %maxInclusive; | ||
840 | 563 | + %facetAttr; | ||
841 | 564 | + %fixedAttr; | ||
842 | 565 | + %maxInclusiveAttrs;> | ||
843 | 566 | +<!ELEMENT %minInclusive; %facetModel;> | ||
844 | 567 | +<!ATTLIST %minInclusive; | ||
845 | 568 | + %facetAttr; | ||
846 | 569 | + %fixedAttr; | ||
847 | 570 | + %minInclusiveAttrs;> | ||
848 | 571 | + | ||
849 | 572 | +<!ELEMENT %totalDigits; %facetModel;> | ||
850 | 573 | +<!ATTLIST %totalDigits; | ||
851 | 574 | + %facetAttr; | ||
852 | 575 | + %fixedAttr; | ||
853 | 576 | + %totalDigitsAttrs;> | ||
854 | 577 | +<!ELEMENT %fractionDigits; %facetModel;> | ||
855 | 578 | +<!ATTLIST %fractionDigits; | ||
856 | 579 | + %facetAttr; | ||
857 | 580 | + %fixedAttr; | ||
858 | 581 | + %fractionDigitsAttrs;> | ||
859 | 582 | + | ||
860 | 583 | +<!ELEMENT %length; %facetModel;> | ||
861 | 584 | +<!ATTLIST %length; | ||
862 | 585 | + %facetAttr; | ||
863 | 586 | + %fixedAttr; | ||
864 | 587 | + %lengthAttrs;> | ||
865 | 588 | +<!ELEMENT %minLength; %facetModel;> | ||
866 | 589 | +<!ATTLIST %minLength; | ||
867 | 590 | + %facetAttr; | ||
868 | 591 | + %fixedAttr; | ||
869 | 592 | + %minLengthAttrs;> | ||
870 | 593 | +<!ELEMENT %maxLength; %facetModel;> | ||
871 | 594 | +<!ATTLIST %maxLength; | ||
872 | 595 | + %facetAttr; | ||
873 | 596 | + %fixedAttr; | ||
874 | 597 | + %maxLengthAttrs;> | ||
875 | 598 | + | ||
876 | 599 | +<!-- This one can be repeated --> | ||
877 | 600 | +<!ELEMENT %enumeration; %facetModel;> | ||
878 | 601 | +<!ATTLIST %enumeration; | ||
879 | 602 | + %facetAttr; | ||
880 | 603 | + %enumerationAttrs;> | ||
881 | 604 | + | ||
882 | 605 | +<!ELEMENT %whiteSpace; %facetModel;> | ||
883 | 606 | +<!ATTLIST %whiteSpace; | ||
884 | 607 | + %facetAttr; | ||
885 | 608 | + %fixedAttr; | ||
886 | 609 | + %whiteSpaceAttrs;> | ||
887 | 610 | + | ||
888 | 611 | +<!-- This one can be repeated --> | ||
889 | 612 | +<!ELEMENT %pattern; %facetModel;> | ||
890 | 613 | +<!ATTLIST %pattern; | ||
891 | 614 | + %facetAttr; | ||
892 | 615 | + %patternAttrs;> | ||
893 | 616 | Index: jenkins-winstone/src/conf/javax/servlet/resources/j2ee_1_4.xsd | ||
894 | 617 | =================================================================== | ||
895 | 618 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
896 | 619 | +++ jenkins-winstone/src/conf/javax/servlet/resources/j2ee_1_4.xsd 2011-08-18 09:34:02.141615523 +0100 | ||
897 | 620 | @@ -0,0 +1,1616 @@ | ||
898 | 621 | +<?xml version="1.0" encoding="UTF-8"?> | ||
899 | 622 | +<xsd:schema | ||
900 | 623 | + targetNamespace="http://java.sun.com/xml/ns/j2ee" | ||
901 | 624 | + xmlns:j2ee="http://java.sun.com/xml/ns/j2ee" | ||
902 | 625 | + xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
903 | 626 | + elementFormDefault="qualified" | ||
904 | 627 | + attributeFormDefault="unqualified" | ||
905 | 628 | + version="1.4"> | ||
906 | 629 | + <xsd:annotation> | ||
907 | 630 | + <xsd:documentation> | ||
908 | 631 | + @(#)j2ee_1_4.xsds 1.43 03/09/16 | ||
909 | 632 | + </xsd:documentation> | ||
910 | 633 | + </xsd:annotation> | ||
911 | 634 | + | ||
912 | 635 | + <xsd:annotation> | ||
913 | 636 | + <xsd:documentation> | ||
914 | 637 | + | ||
915 | 638 | + DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. | ||
916 | 639 | + | ||
917 | 640 | + Copyright 2003-2007 Sun Microsystems, Inc. All rights reserved. | ||
918 | 641 | + | ||
919 | 642 | + The contents of this file are subject to the terms of either the | ||
920 | 643 | + GNU General Public License Version 2 only ("GPL") or the Common | ||
921 | 644 | + Development and Distribution License("CDDL") (collectively, the | ||
922 | 645 | + "License"). You may not use this file except in compliance with | ||
923 | 646 | + the License. You can obtain a copy of the License at | ||
924 | 647 | + https://glassfish.dev.java.net/public/CDDL+GPL.html or | ||
925 | 648 | + glassfish/bootstrap/legal/LICENSE.txt. See the License for the | ||
926 | 649 | + specific language governing permissions and limitations under the | ||
927 | 650 | + License. | ||
928 | 651 | + | ||
929 | 652 | + When distributing the software, include this License Header | ||
930 | 653 | + Notice in each file and include the License file at | ||
931 | 654 | + glassfish/bootstrap/legal/LICENSE.txt. Sun designates this | ||
932 | 655 | + particular file as subject to the "Classpath" exception as | ||
933 | 656 | + provided by Sun in the GPL Version 2 section of the License file | ||
934 | 657 | + that accompanied this code. If applicable, add the following | ||
935 | 658 | + below the License Header, with the fields enclosed by brackets [] | ||
936 | 659 | + replaced by your own identifying information: | ||
937 | 660 | + "Portions Copyrighted [year] [name of copyright owner]" | ||
938 | 661 | + | ||
939 | 662 | + Contributor(s): | ||
940 | 663 | + | ||
941 | 664 | + If you wish your version of this file to be governed by only the | ||
942 | 665 | + CDDL or only the GPL Version 2, indicate your decision by adding | ||
943 | 666 | + "[Contributor] elects to include this software in this | ||
944 | 667 | + distribution under the [CDDL or GPL Version 2] license." If you | ||
945 | 668 | + don't indicate a single choice of license, a recipient has the | ||
946 | 669 | + option to distribute your version of this file under either the | ||
947 | 670 | + CDDL, the GPL Version 2 or to extend the choice of license to its | ||
948 | 671 | + licensees as provided above. However, if you add GPL Version 2 | ||
949 | 672 | + code and therefore, elected the GPL Version 2 license, then the | ||
950 | 673 | + option applies only if the new code is made subject to such | ||
951 | 674 | + option by the copyright holder. | ||
952 | 675 | + | ||
953 | 676 | + </xsd:documentation> | ||
954 | 677 | + </xsd:annotation> | ||
955 | 678 | + | ||
956 | 679 | +<xsd:annotation> | ||
957 | 680 | +<xsd:documentation> | ||
958 | 681 | + | ||
959 | 682 | +The following definitions that appear in the common | ||
960 | 683 | +shareable schema(s) of J2EE deployment descriptors should be | ||
961 | 684 | +interpreted with respect to the context they are included: | ||
962 | 685 | + | ||
963 | 686 | +Deployment Component may indicate one of the following: | ||
964 | 687 | + j2ee application; | ||
965 | 688 | + application client; | ||
966 | 689 | + web application; | ||
967 | 690 | + enterprise bean; | ||
968 | 691 | + resource adapter; | ||
969 | 692 | + | ||
970 | 693 | +Deployment File may indicate one of the following: | ||
971 | 694 | + ear file; | ||
972 | 695 | + war file; | ||
973 | 696 | + jar file; | ||
974 | 697 | + rar file; | ||
975 | 698 | + | ||
976 | 699 | +</xsd:documentation> | ||
977 | 700 | +</xsd:annotation> | ||
978 | 701 | + | ||
979 | 702 | + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" | ||
980 | 703 | + schemaLocation="http://www.w3.org/2001/xml.xsd"/> | ||
981 | 704 | + | ||
982 | 705 | + <xsd:include schemaLocation= | ||
983 | 706 | + "http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd"/> | ||
984 | 707 | + | ||
985 | 708 | + | ||
986 | 709 | +<!-- **************************************************** --> | ||
987 | 710 | + | ||
988 | 711 | + <xsd:group name="descriptionGroup"> | ||
989 | 712 | + <xsd:annotation> | ||
990 | 713 | + <xsd:documentation> | ||
991 | 714 | + | ||
992 | 715 | + This group keeps the usage of the contained description related | ||
993 | 716 | + elements consistent across J2EE deployment descriptors. | ||
994 | 717 | + | ||
995 | 718 | + All elements may occur multiple times with different languages, | ||
996 | 719 | + to support localization of the content. | ||
997 | 720 | + | ||
998 | 721 | + </xsd:documentation> | ||
999 | 722 | + </xsd:annotation> | ||
1000 | 723 | + <xsd:sequence> | ||
1001 | 724 | + <xsd:element name="description" | ||
1002 | 725 | + type="j2ee:descriptionType" | ||
1003 | 726 | + minOccurs="0" | ||
1004 | 727 | + maxOccurs="unbounded"/> | ||
1005 | 728 | + <xsd:element name="display-name" | ||
1006 | 729 | + type="j2ee:display-nameType" | ||
1007 | 730 | + minOccurs="0" | ||
1008 | 731 | + maxOccurs="unbounded"/> | ||
1009 | 732 | + <xsd:element name="icon" | ||
1010 | 733 | + type="j2ee:iconType" | ||
1011 | 734 | + minOccurs="0" | ||
1012 | 735 | + maxOccurs="unbounded"/> | ||
1013 | 736 | + </xsd:sequence> | ||
1014 | 737 | + </xsd:group> | ||
1015 | 738 | + | ||
1016 | 739 | +<!-- **************************************************** --> | ||
1017 | 740 | + | ||
1018 | 741 | + <xsd:complexType name="descriptionType"> | ||
1019 | 742 | + <xsd:annotation> | ||
1020 | 743 | + <xsd:documentation> | ||
1021 | 744 | + | ||
1022 | 745 | + The description type is used by a description element to | ||
1023 | 746 | + provide text describing the parent element. The elements | ||
1024 | 747 | + that use this type should include any information that the | ||
1025 | 748 | + Deployment Component's Deployment File file producer wants | ||
1026 | 749 | + to provide to the consumer of the Deployment Component's | ||
1027 | 750 | + Deployment File (i.e., to the Deployer). Typically, the | ||
1028 | 751 | + tools used by such a Deployment File consumer will display | ||
1029 | 752 | + the description when processing the parent element that | ||
1030 | 753 | + contains the description. | ||
1031 | 754 | + | ||
1032 | 755 | + The lang attribute defines the language that the | ||
1033 | 756 | + description is provided in. The default value is "en" (English). | ||
1034 | 757 | + | ||
1035 | 758 | + </xsd:documentation> | ||
1036 | 759 | + </xsd:annotation> | ||
1037 | 760 | + <xsd:simpleContent> | ||
1038 | 761 | + <xsd:extension base="j2ee:xsdStringType"> | ||
1039 | 762 | + <xsd:attribute ref="xml:lang"/> | ||
1040 | 763 | + </xsd:extension> | ||
1041 | 764 | + </xsd:simpleContent> | ||
1042 | 765 | + </xsd:complexType> | ||
1043 | 766 | + | ||
1044 | 767 | +<!-- **************************************************** --> | ||
1045 | 768 | + | ||
1046 | 769 | + <xsd:simpleType name="dewey-versionType"> | ||
1047 | 770 | + <xsd:annotation> | ||
1048 | 771 | + <xsd:documentation> | ||
1049 | 772 | + | ||
1050 | 773 | + This type defines a dewey decimal which is used | ||
1051 | 774 | + to describe versions of documents. | ||
1052 | 775 | + | ||
1053 | 776 | + </xsd:documentation> | ||
1054 | 777 | + </xsd:annotation> | ||
1055 | 778 | + | ||
1056 | 779 | + <xsd:restriction base="xsd:decimal"> | ||
1057 | 780 | + <xsd:whiteSpace value="collapse"/> | ||
1058 | 781 | + </xsd:restriction> | ||
1059 | 782 | + | ||
1060 | 783 | + </xsd:simpleType> | ||
1061 | 784 | + | ||
1062 | 785 | +<!-- **************************************************** --> | ||
1063 | 786 | + | ||
1064 | 787 | + <xsd:complexType name="display-nameType"> | ||
1065 | 788 | + <xsd:annotation> | ||
1066 | 789 | + <xsd:documentation> | ||
1067 | 790 | + <![CDATA[ | ||
1068 | 791 | + | ||
1069 | 792 | + The display-name type contains a short name that is intended | ||
1070 | 793 | + to be displayed by tools. It is used by display-name | ||
1071 | 794 | + elements. The display name need not be unique. | ||
1072 | 795 | + | ||
1073 | 796 | + Example: | ||
1074 | 797 | + | ||
1075 | 798 | + ... | ||
1076 | 799 | + <display-name xml:lang="en">Employee Self Service</display-name> | ||
1077 | 800 | + | ||
1078 | 801 | + The value of the xml:lang attribute is "en" (English) by default. | ||
1079 | 802 | + | ||
1080 | 803 | + ]]> | ||
1081 | 804 | + </xsd:documentation> | ||
1082 | 805 | + </xsd:annotation> | ||
1083 | 806 | + <xsd:simpleContent> | ||
1084 | 807 | + <xsd:extension base="j2ee:string"> | ||
1085 | 808 | + <xsd:attribute ref="xml:lang"/> | ||
1086 | 809 | + </xsd:extension> | ||
1087 | 810 | + </xsd:simpleContent> | ||
1088 | 811 | + </xsd:complexType> | ||
1089 | 812 | + | ||
1090 | 813 | +<!-- **************************************************** --> | ||
1091 | 814 | + | ||
1092 | 815 | + <xsd:complexType name="ejb-linkType"> | ||
1093 | 816 | + <xsd:annotation> | ||
1094 | 817 | + <xsd:documentation> | ||
1095 | 818 | + <![CDATA[ | ||
1096 | 819 | + | ||
1097 | 820 | + The ejb-linkType is used by ejb-link | ||
1098 | 821 | + elements in the ejb-ref or ejb-local-ref elements to specify | ||
1099 | 822 | + that an EJB reference is linked to enterprise bean. | ||
1100 | 823 | + | ||
1101 | 824 | + The value of the ejb-link element must be the ejb-name of an | ||
1102 | 825 | + enterprise bean in the same ejb-jar file or in another ejb-jar | ||
1103 | 826 | + file in the same J2EE application unit. | ||
1104 | 827 | + | ||
1105 | 828 | + Alternatively, the name in the ejb-link element may be | ||
1106 | 829 | + composed of a path name specifying the ejb-jar containing the | ||
1107 | 830 | + referenced enterprise bean with the ejb-name of the target | ||
1108 | 831 | + bean appended and separated from the path name by "#". The | ||
1109 | 832 | + path name is relative to the Deployment File containing | ||
1110 | 833 | + Deployment Component that is referencing the enterprise | ||
1111 | 834 | + bean. This allows multiple enterprise beans with the same | ||
1112 | 835 | + ejb-name to be uniquely identified. | ||
1113 | 836 | + | ||
1114 | 837 | + Examples: | ||
1115 | 838 | + | ||
1116 | 839 | + <ejb-link>EmployeeRecord</ejb-link> | ||
1117 | 840 | + | ||
1118 | 841 | + <ejb-link>../products/product.jar#ProductEJB</ejb-link> | ||
1119 | 842 | + | ||
1120 | 843 | + ]]> | ||
1121 | 844 | + </xsd:documentation> | ||
1122 | 845 | + </xsd:annotation> | ||
1123 | 846 | + <xsd:simpleContent> | ||
1124 | 847 | + <xsd:restriction base="j2ee:string"/> | ||
1125 | 848 | + </xsd:simpleContent> | ||
1126 | 849 | + </xsd:complexType> | ||
1127 | 850 | + | ||
1128 | 851 | +<!-- **************************************************** --> | ||
1129 | 852 | + | ||
1130 | 853 | + <xsd:complexType name="ejb-local-refType"> | ||
1131 | 854 | + <xsd:annotation> | ||
1132 | 855 | + <xsd:documentation> | ||
1133 | 856 | + | ||
1134 | 857 | + The ejb-local-refType is used by ejb-local-ref elements for | ||
1135 | 858 | + the declaration of a reference to an enterprise bean's local | ||
1136 | 859 | + home. The declaration consists of: | ||
1137 | 860 | + | ||
1138 | 861 | + - an optional description | ||
1139 | 862 | + - the EJB reference name used in the code of the Deployment | ||
1140 | 863 | + Component that's referencing the enterprise bean | ||
1141 | 864 | + - the expected type of the referenced enterprise bean | ||
1142 | 865 | + - the expected local home and local interfaces of the | ||
1143 | 866 | + referenced enterprise bean | ||
1144 | 867 | + - optional ejb-link information, used to specify the | ||
1145 | 868 | + referenced enterprise bean | ||
1146 | 869 | + | ||
1147 | 870 | + </xsd:documentation> | ||
1148 | 871 | + </xsd:annotation> | ||
1149 | 872 | + | ||
1150 | 873 | + <xsd:sequence> | ||
1151 | 874 | + <xsd:element name="description" | ||
1152 | 875 | + type="j2ee:descriptionType" | ||
1153 | 876 | + minOccurs="0" | ||
1154 | 877 | + maxOccurs="unbounded"/> | ||
1155 | 878 | + <xsd:element name="ejb-ref-name" | ||
1156 | 879 | + type="j2ee:ejb-ref-nameType"/> | ||
1157 | 880 | + <xsd:element name="ejb-ref-type" | ||
1158 | 881 | + type="j2ee:ejb-ref-typeType"/> | ||
1159 | 882 | + <xsd:element name="local-home" | ||
1160 | 883 | + type="j2ee:local-homeType"/> | ||
1161 | 884 | + <xsd:element name="local" | ||
1162 | 885 | + type="j2ee:localType"/> | ||
1163 | 886 | + <xsd:element name="ejb-link" | ||
1164 | 887 | + type="j2ee:ejb-linkType" | ||
1165 | 888 | + minOccurs="0"/> | ||
1166 | 889 | + </xsd:sequence> | ||
1167 | 890 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
1168 | 891 | + </xsd:complexType> | ||
1169 | 892 | + | ||
1170 | 893 | +<!-- **************************************************** --> | ||
1171 | 894 | + | ||
1172 | 895 | + <xsd:complexType name="ejb-ref-nameType"> | ||
1173 | 896 | + <xsd:annotation> | ||
1174 | 897 | + <xsd:documentation> | ||
1175 | 898 | + <![CDATA[ | ||
1176 | 899 | + | ||
1177 | 900 | + The ejb-ref-name element contains the name of an EJB | ||
1178 | 901 | + reference. The EJB reference is an entry in the | ||
1179 | 902 | + Deployment Component's environment and is relative to the | ||
1180 | 903 | + java:comp/env context. The name must be unique within the | ||
1181 | 904 | + Deployment Component. | ||
1182 | 905 | + | ||
1183 | 906 | + It is recommended that name is prefixed with "ejb/". | ||
1184 | 907 | + | ||
1185 | 908 | + Example: | ||
1186 | 909 | + | ||
1187 | 910 | + <ejb-ref-name>ejb/Payroll</ejb-ref-name> | ||
1188 | 911 | + | ||
1189 | 912 | + ]]> | ||
1190 | 913 | + </xsd:documentation> | ||
1191 | 914 | + </xsd:annotation> | ||
1192 | 915 | + <xsd:simpleContent> | ||
1193 | 916 | + <xsd:restriction base="j2ee:jndi-nameType"/> | ||
1194 | 917 | + </xsd:simpleContent> | ||
1195 | 918 | + </xsd:complexType> | ||
1196 | 919 | + | ||
1197 | 920 | +<!-- **************************************************** --> | ||
1198 | 921 | + | ||
1199 | 922 | + <xsd:complexType name="ejb-ref-typeType"> | ||
1200 | 923 | + <xsd:annotation> | ||
1201 | 924 | + <xsd:documentation> | ||
1202 | 925 | + | ||
1203 | 926 | + The ejb-ref-typeType contains the expected type of the | ||
1204 | 927 | + referenced enterprise bean. | ||
1205 | 928 | + | ||
1206 | 929 | + The ejb-ref-type designates a value | ||
1207 | 930 | + that must be one of the following: | ||
1208 | 931 | + | ||
1209 | 932 | + Entity | ||
1210 | 933 | + Session | ||
1211 | 934 | + | ||
1212 | 935 | + </xsd:documentation> | ||
1213 | 936 | + </xsd:annotation> | ||
1214 | 937 | + <xsd:simpleContent> | ||
1215 | 938 | + <xsd:restriction base="j2ee:string"> | ||
1216 | 939 | + <xsd:enumeration value="Entity"/> | ||
1217 | 940 | + <xsd:enumeration value="Session"/> | ||
1218 | 941 | + </xsd:restriction> | ||
1219 | 942 | + </xsd:simpleContent> | ||
1220 | 943 | + </xsd:complexType> | ||
1221 | 944 | + | ||
1222 | 945 | +<!-- **************************************************** --> | ||
1223 | 946 | + | ||
1224 | 947 | + <xsd:complexType name="ejb-refType"> | ||
1225 | 948 | + <xsd:annotation> | ||
1226 | 949 | + <xsd:documentation> | ||
1227 | 950 | + | ||
1228 | 951 | + The ejb-refType is used by ejb-ref elements for the | ||
1229 | 952 | + declaration of a reference to an enterprise bean's home. The | ||
1230 | 953 | + declaration consists of: | ||
1231 | 954 | + | ||
1232 | 955 | + - an optional description | ||
1233 | 956 | + - the EJB reference name used in the code of | ||
1234 | 957 | + the Deployment Component that's referencing the enterprise | ||
1235 | 958 | + bean | ||
1236 | 959 | + - the expected type of the referenced enterprise bean | ||
1237 | 960 | + - the expected home and remote interfaces of the referenced | ||
1238 | 961 | + enterprise bean | ||
1239 | 962 | + - optional ejb-link information, used to specify the | ||
1240 | 963 | + referenced enterprise bean | ||
1241 | 964 | + | ||
1242 | 965 | + </xsd:documentation> | ||
1243 | 966 | + </xsd:annotation> | ||
1244 | 967 | + | ||
1245 | 968 | + <xsd:sequence> | ||
1246 | 969 | + <xsd:element name="description" | ||
1247 | 970 | + type="j2ee:descriptionType" | ||
1248 | 971 | + minOccurs="0" | ||
1249 | 972 | + maxOccurs="unbounded"/> | ||
1250 | 973 | + <xsd:element name="ejb-ref-name" | ||
1251 | 974 | + type="j2ee:ejb-ref-nameType"/> | ||
1252 | 975 | + <xsd:element name="ejb-ref-type" | ||
1253 | 976 | + type="j2ee:ejb-ref-typeType"/> | ||
1254 | 977 | + | ||
1255 | 978 | + <xsd:element name="home" | ||
1256 | 979 | + type="j2ee:homeType"/> | ||
1257 | 980 | + <xsd:element name="remote" | ||
1258 | 981 | + type="j2ee:remoteType"/> | ||
1259 | 982 | + <xsd:element name="ejb-link" | ||
1260 | 983 | + type="j2ee:ejb-linkType" | ||
1261 | 984 | + minOccurs="0"/> | ||
1262 | 985 | + </xsd:sequence> | ||
1263 | 986 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
1264 | 987 | + </xsd:complexType> | ||
1265 | 988 | + | ||
1266 | 989 | +<!-- **************************************************** --> | ||
1267 | 990 | + | ||
1268 | 991 | + <xsd:complexType name="emptyType"> | ||
1269 | 992 | + <xsd:annotation> | ||
1270 | 993 | + <xsd:documentation> | ||
1271 | 994 | + | ||
1272 | 995 | + This type is used to designate an empty | ||
1273 | 996 | + element when used. | ||
1274 | 997 | + | ||
1275 | 998 | + </xsd:documentation> | ||
1276 | 999 | + </xsd:annotation> | ||
1277 | 1000 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
1278 | 1001 | + </xsd:complexType> | ||
1279 | 1002 | + | ||
1280 | 1003 | +<!-- **************************************************** --> | ||
1281 | 1004 | + | ||
1282 | 1005 | + <xsd:complexType name="env-entry-type-valuesType"> | ||
1283 | 1006 | + <xsd:annotation> | ||
1284 | 1007 | + <xsd:documentation> | ||
1285 | 1008 | + <![CDATA[ | ||
1286 | 1009 | + | ||
1287 | 1010 | + This type contains the fully-qualified Java type of the | ||
1288 | 1011 | + environment entry value that is expected by the | ||
1289 | 1012 | + application's code. | ||
1290 | 1013 | + | ||
1291 | 1014 | + The following are the legal values of env-entry-type-valuesType: | ||
1292 | 1015 | + | ||
1293 | 1016 | + java.lang.Boolean | ||
1294 | 1017 | + java.lang.Byte | ||
1295 | 1018 | + java.lang.Character | ||
1296 | 1019 | + java.lang.String | ||
1297 | 1020 | + java.lang.Short | ||
1298 | 1021 | + java.lang.Integer | ||
1299 | 1022 | + java.lang.Long | ||
1300 | 1023 | + java.lang.Float | ||
1301 | 1024 | + java.lang.Double | ||
1302 | 1025 | + | ||
1303 | 1026 | + Example: | ||
1304 | 1027 | + | ||
1305 | 1028 | + <env-entry-type>java.lang.Boolean</env-entry-type> | ||
1306 | 1029 | + | ||
1307 | 1030 | + ]]> | ||
1308 | 1031 | + </xsd:documentation> | ||
1309 | 1032 | + </xsd:annotation> | ||
1310 | 1033 | + <xsd:simpleContent> | ||
1311 | 1034 | + <xsd:restriction base="j2ee:string"> | ||
1312 | 1035 | + <xsd:enumeration value="java.lang.Boolean"/> | ||
1313 | 1036 | + <xsd:enumeration value="java.lang.Byte"/> | ||
1314 | 1037 | + <xsd:enumeration value="java.lang.Character"/> | ||
1315 | 1038 | + <xsd:enumeration value="java.lang.String"/> | ||
1316 | 1039 | + <xsd:enumeration value="java.lang.Short"/> | ||
1317 | 1040 | + <xsd:enumeration value="java.lang.Integer"/> | ||
1318 | 1041 | + <xsd:enumeration value="java.lang.Long"/> | ||
1319 | 1042 | + <xsd:enumeration value="java.lang.Float"/> | ||
1320 | 1043 | + <xsd:enumeration value="java.lang.Double"/> | ||
1321 | 1044 | + </xsd:restriction> | ||
1322 | 1045 | + </xsd:simpleContent> | ||
1323 | 1046 | + </xsd:complexType> | ||
1324 | 1047 | + | ||
1325 | 1048 | +<!-- **************************************************** --> | ||
1326 | 1049 | + | ||
1327 | 1050 | + <xsd:complexType name="env-entryType"> | ||
1328 | 1051 | + <xsd:annotation> | ||
1329 | 1052 | + <xsd:documentation> | ||
1330 | 1053 | + | ||
1331 | 1054 | + The env-entryType is used to declare an application's | ||
1332 | 1055 | + environment entry. The declaration consists of an optional | ||
1333 | 1056 | + description, the name of the environment entry, and an | ||
1334 | 1057 | + optional value. If a value is not specified, one must be | ||
1335 | 1058 | + supplied during deployment. | ||
1336 | 1059 | + | ||
1337 | 1060 | + It is used by env-entry elements. | ||
1338 | 1061 | + | ||
1339 | 1062 | + </xsd:documentation> | ||
1340 | 1063 | + </xsd:annotation> | ||
1341 | 1064 | + | ||
1342 | 1065 | + <xsd:sequence> | ||
1343 | 1066 | + <xsd:element name="description" | ||
1344 | 1067 | + type="j2ee:descriptionType" | ||
1345 | 1068 | + minOccurs="0" | ||
1346 | 1069 | + maxOccurs="unbounded"/> | ||
1347 | 1070 | + <xsd:element name="env-entry-name" | ||
1348 | 1071 | + type="j2ee:jndi-nameType"> | ||
1349 | 1072 | + <xsd:annotation> | ||
1350 | 1073 | + <xsd:documentation> | ||
1351 | 1074 | + <![CDATA[ | ||
1352 | 1075 | + | ||
1353 | 1076 | + The env-entry-name element contains the name of a | ||
1354 | 1077 | + Deployment Component's environment entry. The name | ||
1355 | 1078 | + is a JNDI name relative to the java:comp/env | ||
1356 | 1079 | + context. The name must be unique within a | ||
1357 | 1080 | + Deployment Component. The uniqueness | ||
1358 | 1081 | + constraints must be defined within the declared | ||
1359 | 1082 | + context. | ||
1360 | 1083 | + | ||
1361 | 1084 | + Example: | ||
1362 | 1085 | + | ||
1363 | 1086 | + <env-entry-name>minAmount</env-entry-name> | ||
1364 | 1087 | + | ||
1365 | 1088 | + ]]> | ||
1366 | 1089 | + </xsd:documentation> | ||
1367 | 1090 | + </xsd:annotation> | ||
1368 | 1091 | + </xsd:element> | ||
1369 | 1092 | + | ||
1370 | 1093 | + <xsd:element name="env-entry-type" | ||
1371 | 1094 | + type="j2ee:env-entry-type-valuesType"/> | ||
1372 | 1095 | + | ||
1373 | 1096 | + <xsd:element name="env-entry-value" | ||
1374 | 1097 | + type="j2ee:xsdStringType" | ||
1375 | 1098 | + minOccurs="0"> | ||
1376 | 1099 | + <xsd:annotation> | ||
1377 | 1100 | + <xsd:documentation> | ||
1378 | 1101 | + <![CDATA[ | ||
1379 | 1102 | + | ||
1380 | 1103 | + The env-entry-value designates the value of a | ||
1381 | 1104 | + Deployment Component's environment entry. The value | ||
1382 | 1105 | + must be a String that is valid for the | ||
1383 | 1106 | + constructor of the specified type that takes a | ||
1384 | 1107 | + single String parameter, or for java.lang.Character, | ||
1385 | 1108 | + a single character. | ||
1386 | 1109 | + | ||
1387 | 1110 | + Example: | ||
1388 | 1111 | + | ||
1389 | 1112 | + <env-entry-value>100.00</env-entry-value> | ||
1390 | 1113 | + | ||
1391 | 1114 | + ]]> | ||
1392 | 1115 | + </xsd:documentation> | ||
1393 | 1116 | + </xsd:annotation> | ||
1394 | 1117 | + </xsd:element> | ||
1395 | 1118 | + | ||
1396 | 1119 | + </xsd:sequence> | ||
1397 | 1120 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
1398 | 1121 | + </xsd:complexType> | ||
1399 | 1122 | + | ||
1400 | 1123 | +<!-- **************************************************** --> | ||
1401 | 1124 | + | ||
1402 | 1125 | + <xsd:complexType name="fully-qualified-classType"> | ||
1403 | 1126 | + <xsd:annotation> | ||
1404 | 1127 | + <xsd:documentation> | ||
1405 | 1128 | + | ||
1406 | 1129 | + The elements that use this type designate the name of a | ||
1407 | 1130 | + Java class or interface. The name is in the form of a | ||
1408 | 1131 | + "binary name", as defined in the JLS. This is the form | ||
1409 | 1132 | + of name used in Class.forName(). Tools that need the | ||
1410 | 1133 | + canonical name (the name used in source code) will need | ||
1411 | 1134 | + to convert this binary name to the canonical name. | ||
1412 | 1135 | + | ||
1413 | 1136 | + </xsd:documentation> | ||
1414 | 1137 | + </xsd:annotation> | ||
1415 | 1138 | + <xsd:simpleContent> | ||
1416 | 1139 | + <xsd:restriction base="j2ee:string"/> | ||
1417 | 1140 | + </xsd:simpleContent> | ||
1418 | 1141 | + </xsd:complexType> | ||
1419 | 1142 | + | ||
1420 | 1143 | +<!-- **************************************************** --> | ||
1421 | 1144 | + | ||
1422 | 1145 | + <xsd:complexType name="generic-booleanType"> | ||
1423 | 1146 | + <xsd:annotation> | ||
1424 | 1147 | + <xsd:documentation> | ||
1425 | 1148 | + | ||
1426 | 1149 | + This type defines four different values which can designate | ||
1427 | 1150 | + boolean values. This includes values yes and no which are | ||
1428 | 1151 | + not designated by xsd:boolean | ||
1429 | 1152 | + | ||
1430 | 1153 | + </xsd:documentation> | ||
1431 | 1154 | + </xsd:annotation> | ||
1432 | 1155 | + <xsd:simpleContent> | ||
1433 | 1156 | + <xsd:restriction base="j2ee:string"> | ||
1434 | 1157 | + <xsd:enumeration value="true"/> | ||
1435 | 1158 | + <xsd:enumeration value="false"/> | ||
1436 | 1159 | + <xsd:enumeration value="yes"/> | ||
1437 | 1160 | + <xsd:enumeration value="no"/> | ||
1438 | 1161 | + </xsd:restriction> | ||
1439 | 1162 | + </xsd:simpleContent> | ||
1440 | 1163 | + </xsd:complexType> | ||
1441 | 1164 | + | ||
1442 | 1165 | +<!-- **************************************************** --> | ||
1443 | 1166 | + | ||
1444 | 1167 | + <xsd:complexType name="homeType"> | ||
1445 | 1168 | + <xsd:annotation> | ||
1446 | 1169 | + <xsd:documentation> | ||
1447 | 1170 | + <![CDATA[ | ||
1448 | 1171 | + | ||
1449 | 1172 | + The homeType defines the fully-qualified name of | ||
1450 | 1173 | + an enterprise bean's home interface. | ||
1451 | 1174 | + | ||
1452 | 1175 | + Example: | ||
1453 | 1176 | + | ||
1454 | 1177 | + <home>com.aardvark.payroll.PayrollHome</home> | ||
1455 | 1178 | + | ||
1456 | 1179 | + ]]> | ||
1457 | 1180 | + </xsd:documentation> | ||
1458 | 1181 | + </xsd:annotation> | ||
1459 | 1182 | + <xsd:simpleContent> | ||
1460 | 1183 | + <xsd:restriction base="j2ee:fully-qualified-classType"/> | ||
1461 | 1184 | + </xsd:simpleContent> | ||
1462 | 1185 | + </xsd:complexType> | ||
1463 | 1186 | + | ||
1464 | 1187 | +<!-- **************************************************** --> | ||
1465 | 1188 | + | ||
1466 | 1189 | + <xsd:complexType name="iconType"> | ||
1467 | 1190 | + <xsd:annotation> | ||
1468 | 1191 | + <xsd:documentation> | ||
1469 | 1192 | + | ||
1470 | 1193 | + The icon type contains small-icon and large-icon elements | ||
1471 | 1194 | + that specify the file names for small and large GIF or | ||
1472 | 1195 | + JPEG icon images used to represent the parent element in a | ||
1473 | 1196 | + GUI tool. | ||
1474 | 1197 | + | ||
1475 | 1198 | + The xml:lang attribute defines the language that the | ||
1476 | 1199 | + icon file names are provided in. Its value is "en" (English) | ||
1477 | 1200 | + by default. | ||
1478 | 1201 | + | ||
1479 | 1202 | + </xsd:documentation> | ||
1480 | 1203 | + </xsd:annotation> | ||
1481 | 1204 | + | ||
1482 | 1205 | + <xsd:sequence> | ||
1483 | 1206 | + <xsd:element name="small-icon" type="j2ee:pathType" | ||
1484 | 1207 | + minOccurs="0"> | ||
1485 | 1208 | + <xsd:annotation> | ||
1486 | 1209 | + <xsd:documentation> | ||
1487 | 1210 | + <![CDATA[ | ||
1488 | 1211 | + | ||
1489 | 1212 | + The small-icon element contains the name of a file | ||
1490 | 1213 | + containing a small (16 x 16) icon image. The file | ||
1491 | 1214 | + name is a relative path within the Deployment | ||
1492 | 1215 | + Component's Deployment File. | ||
1493 | 1216 | + | ||
1494 | 1217 | + The image may be either in the JPEG or GIF format. | ||
1495 | 1218 | + The icon can be used by tools. | ||
1496 | 1219 | + | ||
1497 | 1220 | + Example: | ||
1498 | 1221 | + | ||
1499 | 1222 | + <small-icon>employee-service-icon16x16.jpg</small-icon> | ||
1500 | 1223 | + | ||
1501 | 1224 | + ]]> | ||
1502 | 1225 | + </xsd:documentation> | ||
1503 | 1226 | + </xsd:annotation> | ||
1504 | 1227 | + </xsd:element> | ||
1505 | 1228 | + <xsd:element name="large-icon" type="j2ee:pathType" | ||
1506 | 1229 | + minOccurs="0"> | ||
1507 | 1230 | + <xsd:annotation> | ||
1508 | 1231 | + <xsd:documentation> | ||
1509 | 1232 | + <![CDATA[ | ||
1510 | 1233 | + | ||
1511 | 1234 | + The large-icon element contains the name of a file | ||
1512 | 1235 | + containing a large | ||
1513 | 1236 | + (32 x 32) icon image. The file name is a relative | ||
1514 | 1237 | + path within the Deployment Component's Deployment | ||
1515 | 1238 | + File. | ||
1516 | 1239 | + | ||
1517 | 1240 | + The image may be either in the JPEG or GIF format. | ||
1518 | 1241 | + The icon can be used by tools. | ||
1519 | 1242 | + | ||
1520 | 1243 | + Example: | ||
1521 | 1244 | + | ||
1522 | 1245 | + <large-icon>employee-service-icon32x32.jpg</large-icon> | ||
1523 | 1246 | + | ||
1524 | 1247 | + ]]> | ||
1525 | 1248 | + </xsd:documentation> | ||
1526 | 1249 | + </xsd:annotation> | ||
1527 | 1250 | + </xsd:element> | ||
1528 | 1251 | + | ||
1529 | 1252 | + </xsd:sequence> | ||
1530 | 1253 | + | ||
1531 | 1254 | + <xsd:attribute ref="xml:lang"/> | ||
1532 | 1255 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
1533 | 1256 | + | ||
1534 | 1257 | + </xsd:complexType> | ||
1535 | 1258 | + | ||
1536 | 1259 | +<!-- **************************************************** --> | ||
1537 | 1260 | + | ||
1538 | 1261 | + <xsd:complexType name="java-identifierType"> | ||
1539 | 1262 | + <xsd:annotation> | ||
1540 | 1263 | + <xsd:documentation> | ||
1541 | 1264 | + | ||
1542 | 1265 | + The java-identifierType defines a Java identifier. | ||
1543 | 1266 | + The users of this type should further verify that | ||
1544 | 1267 | + the content does not contain Java reserved keywords. | ||
1545 | 1268 | + | ||
1546 | 1269 | + </xsd:documentation> | ||
1547 | 1270 | + </xsd:annotation> | ||
1548 | 1271 | + <xsd:simpleContent> | ||
1549 | 1272 | + <xsd:restriction base="j2ee:string"> | ||
1550 | 1273 | + <xsd:pattern value="($|_|\p{L})(\p{L}|\p{Nd}|_|$)*"/> | ||
1551 | 1274 | + </xsd:restriction> | ||
1552 | 1275 | + </xsd:simpleContent> | ||
1553 | 1276 | + </xsd:complexType> | ||
1554 | 1277 | + | ||
1555 | 1278 | +<!-- **************************************************** --> | ||
1556 | 1279 | + | ||
1557 | 1280 | + <xsd:complexType name="java-typeType"> | ||
1558 | 1281 | + <xsd:annotation> | ||
1559 | 1282 | + <xsd:documentation> | ||
1560 | 1283 | + | ||
1561 | 1284 | + This is a generic type that designates a Java primitive | ||
1562 | 1285 | + type or a fully qualified name of a Java interface/type, | ||
1563 | 1286 | + or an array of such types. | ||
1564 | 1287 | + | ||
1565 | 1288 | + </xsd:documentation> | ||
1566 | 1289 | + </xsd:annotation> | ||
1567 | 1290 | + <xsd:simpleContent> | ||
1568 | 1291 | + <xsd:restriction base="j2ee:string"> | ||
1569 | 1292 | + <xsd:pattern value="[^\p{Z}]*"/> | ||
1570 | 1293 | + </xsd:restriction> | ||
1571 | 1294 | + </xsd:simpleContent> | ||
1572 | 1295 | + </xsd:complexType> | ||
1573 | 1296 | + | ||
1574 | 1297 | +<!-- **************************************************** --> | ||
1575 | 1298 | + | ||
1576 | 1299 | + <xsd:complexType name="jndi-nameType"> | ||
1577 | 1300 | + <xsd:annotation> | ||
1578 | 1301 | + <xsd:documentation> | ||
1579 | 1302 | + | ||
1580 | 1303 | + The jndi-nameType type designates a JNDI name in the | ||
1581 | 1304 | + Deployment Component's environment and is relative to the | ||
1582 | 1305 | + java:comp/env context. A JNDI name must be unique within the | ||
1583 | 1306 | + Deployment Component. | ||
1584 | 1307 | + | ||
1585 | 1308 | + </xsd:documentation> | ||
1586 | 1309 | + </xsd:annotation> | ||
1587 | 1310 | + <xsd:simpleContent> | ||
1588 | 1311 | + <xsd:restriction base="j2ee:string"/> | ||
1589 | 1312 | + </xsd:simpleContent> | ||
1590 | 1313 | + </xsd:complexType> | ||
1591 | 1314 | + | ||
1592 | 1315 | +<!-- **************************************************** --> | ||
1593 | 1316 | + | ||
1594 | 1317 | + <xsd:group name="jndiEnvironmentRefsGroup"> | ||
1595 | 1318 | + <xsd:annotation> | ||
1596 | 1319 | + <xsd:documentation> | ||
1597 | 1320 | + | ||
1598 | 1321 | + This group keeps the usage of the contained JNDI environment | ||
1599 | 1322 | + reference elements consistent across J2EE deployment descriptors. | ||
1600 | 1323 | + | ||
1601 | 1324 | + </xsd:documentation> | ||
1602 | 1325 | + </xsd:annotation> | ||
1603 | 1326 | + <xsd:sequence> | ||
1604 | 1327 | + <xsd:element name="env-entry" | ||
1605 | 1328 | + type="j2ee:env-entryType" | ||
1606 | 1329 | + minOccurs="0" maxOccurs="unbounded"/> | ||
1607 | 1330 | + <xsd:element name="ejb-ref" | ||
1608 | 1331 | + type="j2ee:ejb-refType" | ||
1609 | 1332 | + minOccurs="0" maxOccurs="unbounded"/> | ||
1610 | 1333 | + <xsd:element name="ejb-local-ref" | ||
1611 | 1334 | + type="j2ee:ejb-local-refType" | ||
1612 | 1335 | + minOccurs="0" maxOccurs="unbounded"/> | ||
1613 | 1336 | + <xsd:group ref="j2ee:service-refGroup"/> | ||
1614 | 1337 | + <xsd:element name="resource-ref" | ||
1615 | 1338 | + type="j2ee:resource-refType" | ||
1616 | 1339 | + minOccurs="0" maxOccurs="unbounded"/> | ||
1617 | 1340 | + <xsd:element name="resource-env-ref" | ||
1618 | 1341 | + type="j2ee:resource-env-refType" | ||
1619 | 1342 | + minOccurs="0" maxOccurs="unbounded"/> | ||
1620 | 1343 | + <xsd:element name="message-destination-ref" | ||
1621 | 1344 | + type="j2ee:message-destination-refType" | ||
1622 | 1345 | + minOccurs="0" maxOccurs="unbounded"/> | ||
1623 | 1346 | + </xsd:sequence> | ||
1624 | 1347 | + </xsd:group> | ||
1625 | 1348 | + | ||
1626 | 1349 | +<!-- **************************************************** --> | ||
1627 | 1350 | + | ||
1628 | 1351 | + <xsd:complexType name="listenerType"> | ||
1629 | 1352 | + <xsd:annotation> | ||
1630 | 1353 | + <xsd:documentation> | ||
1631 | 1354 | + | ||
1632 | 1355 | + The listenerType indicates the deployment properties for a web | ||
1633 | 1356 | + application listener bean. | ||
1634 | 1357 | + | ||
1635 | 1358 | + </xsd:documentation> | ||
1636 | 1359 | + </xsd:annotation> | ||
1637 | 1360 | + | ||
1638 | 1361 | + <xsd:sequence> | ||
1639 | 1362 | + <xsd:group ref="j2ee:descriptionGroup"/> | ||
1640 | 1363 | + <xsd:element name="listener-class" | ||
1641 | 1364 | + type="j2ee:fully-qualified-classType"> | ||
1642 | 1365 | + <xsd:annotation> | ||
1643 | 1366 | + <xsd:documentation> | ||
1644 | 1367 | + | ||
1645 | 1368 | + The listener-class element declares a class in the | ||
1646 | 1369 | + application must be registered as a web | ||
1647 | 1370 | + application listener bean. The value is the fully | ||
1648 | 1371 | + qualified classname of the listener class. | ||
1649 | 1372 | + | ||
1650 | 1373 | + </xsd:documentation> | ||
1651 | 1374 | + </xsd:annotation> | ||
1652 | 1375 | + </xsd:element> | ||
1653 | 1376 | + </xsd:sequence> | ||
1654 | 1377 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
1655 | 1378 | + </xsd:complexType> | ||
1656 | 1379 | + | ||
1657 | 1380 | +<!-- **************************************************** --> | ||
1658 | 1381 | + | ||
1659 | 1382 | + <xsd:complexType name="local-homeType"> | ||
1660 | 1383 | + <xsd:annotation> | ||
1661 | 1384 | + <xsd:documentation> | ||
1662 | 1385 | + | ||
1663 | 1386 | + The local-homeType defines the fully-qualified | ||
1664 | 1387 | + name of an enterprise bean's local home interface. | ||
1665 | 1388 | + | ||
1666 | 1389 | + </xsd:documentation> | ||
1667 | 1390 | + </xsd:annotation> | ||
1668 | 1391 | + <xsd:simpleContent> | ||
1669 | 1392 | + <xsd:restriction base="j2ee:fully-qualified-classType"/> | ||
1670 | 1393 | + </xsd:simpleContent> | ||
1671 | 1394 | + </xsd:complexType> | ||
1672 | 1395 | + | ||
1673 | 1396 | +<!-- **************************************************** --> | ||
1674 | 1397 | + | ||
1675 | 1398 | + <xsd:complexType name="localType"> | ||
1676 | 1399 | + <xsd:annotation> | ||
1677 | 1400 | + <xsd:documentation> | ||
1678 | 1401 | + | ||
1679 | 1402 | + The localType defines the fully-qualified name of an | ||
1680 | 1403 | + enterprise bean's local interface. | ||
1681 | 1404 | + | ||
1682 | 1405 | + </xsd:documentation> | ||
1683 | 1406 | + </xsd:annotation> | ||
1684 | 1407 | + <xsd:simpleContent> | ||
1685 | 1408 | + <xsd:restriction base="j2ee:fully-qualified-classType"/> | ||
1686 | 1409 | + </xsd:simpleContent> | ||
1687 | 1410 | + </xsd:complexType> | ||
1688 | 1411 | + | ||
1689 | 1412 | +<!-- **************************************************** --> | ||
1690 | 1413 | + | ||
1691 | 1414 | + <xsd:complexType name="message-destination-linkType"> | ||
1692 | 1415 | + <xsd:annotation> | ||
1693 | 1416 | + <xsd:documentation> | ||
1694 | 1417 | + | ||
1695 | 1418 | + The message-destination-linkType is used to link a message | ||
1696 | 1419 | + destination reference or message-driven bean to a message | ||
1697 | 1420 | + destination. | ||
1698 | 1421 | + | ||
1699 | 1422 | + The Assembler sets the value to reflect the flow of messages | ||
1700 | 1423 | + between producers and consumers in the application. | ||
1701 | 1424 | + | ||
1702 | 1425 | + The value must be the message-destination-name of a message | ||
1703 | 1426 | + destination in the same Deployment File or in another | ||
1704 | 1427 | + Deployment File in the same J2EE application unit. | ||
1705 | 1428 | + | ||
1706 | 1429 | + Alternatively, the value may be composed of a path name | ||
1707 | 1430 | + specifying a Deployment File containing the referenced | ||
1708 | 1431 | + message destination with the message-destination-name of the | ||
1709 | 1432 | + destination appended and separated from the path name by | ||
1710 | 1433 | + "#". The path name is relative to the Deployment File | ||
1711 | 1434 | + containing Deployment Component that is referencing the | ||
1712 | 1435 | + message destination. This allows multiple message | ||
1713 | 1436 | + destinations with the same name to be uniquely identified. | ||
1714 | 1437 | + | ||
1715 | 1438 | + </xsd:documentation> | ||
1716 | 1439 | + </xsd:annotation> | ||
1717 | 1440 | + <xsd:simpleContent> | ||
1718 | 1441 | + <xsd:restriction base="j2ee:string"/> | ||
1719 | 1442 | + </xsd:simpleContent> | ||
1720 | 1443 | + </xsd:complexType> | ||
1721 | 1444 | + | ||
1722 | 1445 | +<!-- **************************************************** --> | ||
1723 | 1446 | + | ||
1724 | 1447 | + <xsd:complexType name="message-destination-refType"> | ||
1725 | 1448 | + <xsd:annotation> | ||
1726 | 1449 | + <xsd:documentation> | ||
1727 | 1450 | + <![CDATA[ | ||
1728 | 1451 | + | ||
1729 | 1452 | + The message-destination-ref element contains a declaration | ||
1730 | 1453 | + of Deployment Component's reference to a message destination | ||
1731 | 1454 | + associated with a resource in Deployment Component's | ||
1732 | 1455 | + environment. It consists of: | ||
1733 | 1456 | + | ||
1734 | 1457 | + - an optional description | ||
1735 | 1458 | + - the message destination reference name | ||
1736 | 1459 | + - the message destination type | ||
1737 | 1460 | + - a specification as to whether the | ||
1738 | 1461 | + destination is used for | ||
1739 | 1462 | + consuming or producing messages, or both | ||
1740 | 1463 | + - a link to the message destination | ||
1741 | 1464 | + | ||
1742 | 1465 | + Examples: | ||
1743 | 1466 | + | ||
1744 | 1467 | + <message-destination-ref> | ||
1745 | 1468 | + <message-destination-ref-name>jms/StockQueue | ||
1746 | 1469 | + </message-destination-ref-name> | ||
1747 | 1470 | + <message-destination-type>javax.jms.Queue | ||
1748 | 1471 | + </message-destination-type> | ||
1749 | 1472 | + <message-destination-usage>Consumes | ||
1750 | 1473 | + </message-destination-usage> | ||
1751 | 1474 | + <message-destination-link>CorporateStocks | ||
1752 | 1475 | + </message-destination-link> | ||
1753 | 1476 | + </message-destination-ref> | ||
1754 | 1477 | + | ||
1755 | 1478 | + ]]> | ||
1756 | 1479 | + </xsd:documentation> | ||
1757 | 1480 | + </xsd:annotation> | ||
1758 | 1481 | + <xsd:sequence> | ||
1759 | 1482 | + <xsd:element name="description" | ||
1760 | 1483 | + type="j2ee:descriptionType" | ||
1761 | 1484 | + minOccurs="0" | ||
1762 | 1485 | + maxOccurs="unbounded"/> | ||
1763 | 1486 | + <xsd:element name="message-destination-ref-name" | ||
1764 | 1487 | + type="j2ee:jndi-nameType"> | ||
1765 | 1488 | + <xsd:annotation> | ||
1766 | 1489 | + <xsd:documentation> | ||
1767 | 1490 | + | ||
1768 | 1491 | + The message-destination-ref-name element specifies | ||
1769 | 1492 | + the name of a message destination reference; its | ||
1770 | 1493 | + value is the environment entry name used in | ||
1771 | 1494 | + Deployment Component code. The name is a JNDI name | ||
1772 | 1495 | + relative to the java:comp/env context and must be | ||
1773 | 1496 | + unique within an ejb-jar (for enterprise beans) or a | ||
1774 | 1497 | + Deployment File (for others). | ||
1775 | 1498 | + | ||
1776 | 1499 | + </xsd:documentation> | ||
1777 | 1500 | + </xsd:annotation> | ||
1778 | 1501 | + </xsd:element> | ||
1779 | 1502 | + <xsd:element name="message-destination-type" | ||
1780 | 1503 | + type="j2ee:message-destination-typeType"/> | ||
1781 | 1504 | + <xsd:element name="message-destination-usage" | ||
1782 | 1505 | + type="j2ee:message-destination-usageType"/> | ||
1783 | 1506 | + <xsd:element name="message-destination-link" | ||
1784 | 1507 | + type="j2ee:message-destination-linkType" | ||
1785 | 1508 | + minOccurs="0"/> | ||
1786 | 1509 | + </xsd:sequence> | ||
1787 | 1510 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
1788 | 1511 | + | ||
1789 | 1512 | + </xsd:complexType> | ||
1790 | 1513 | + | ||
1791 | 1514 | +<!-- **************************************************** --> | ||
1792 | 1515 | + | ||
1793 | 1516 | + <xsd:complexType name="message-destination-typeType"> | ||
1794 | 1517 | + <xsd:annotation> | ||
1795 | 1518 | + <xsd:documentation> | ||
1796 | 1519 | + <![CDATA[ | ||
1797 | 1520 | + | ||
1798 | 1521 | + The message-destination-typeType specifies the type of | ||
1799 | 1522 | + the destination. The type is specified by the Java interface | ||
1800 | 1523 | + expected to be implemented by the destination. | ||
1801 | 1524 | + | ||
1802 | 1525 | + Example: | ||
1803 | 1526 | + | ||
1804 | 1527 | + <message-destination-type>javax.jms.Queue | ||
1805 | 1528 | + </message-destination-type> | ||
1806 | 1529 | + | ||
1807 | 1530 | + ]]> | ||
1808 | 1531 | + </xsd:documentation> | ||
1809 | 1532 | + </xsd:annotation> | ||
1810 | 1533 | + <xsd:simpleContent> | ||
1811 | 1534 | + <xsd:restriction base="j2ee:fully-qualified-classType"/> | ||
1812 | 1535 | + </xsd:simpleContent> | ||
1813 | 1536 | + </xsd:complexType> | ||
1814 | 1537 | + | ||
1815 | 1538 | +<!-- **************************************************** --> | ||
1816 | 1539 | + | ||
1817 | 1540 | + <xsd:complexType name="message-destination-usageType"> | ||
1818 | 1541 | + <xsd:annotation> | ||
1819 | 1542 | + <xsd:documentation> | ||
1820 | 1543 | + | ||
1821 | 1544 | + The message-destination-usageType specifies the use of the | ||
1822 | 1545 | + message destination indicated by the reference. The value | ||
1823 | 1546 | + indicates whether messages are consumed from the message | ||
1824 | 1547 | + destination, produced for the destination, or both. The | ||
1825 | 1548 | + Assembler makes use of this information in linking producers | ||
1826 | 1549 | + of a destination with its consumers. | ||
1827 | 1550 | + | ||
1828 | 1551 | + The value of the message-destination-usage element must be | ||
1829 | 1552 | + one of the following: | ||
1830 | 1553 | + Consumes | ||
1831 | 1554 | + Produces | ||
1832 | 1555 | + ConsumesProduces | ||
1833 | 1556 | + | ||
1834 | 1557 | + </xsd:documentation> | ||
1835 | 1558 | + </xsd:annotation> | ||
1836 | 1559 | + <xsd:simpleContent> | ||
1837 | 1560 | + <xsd:restriction base="j2ee:string"> | ||
1838 | 1561 | + <xsd:enumeration value="Consumes"/> | ||
1839 | 1562 | + <xsd:enumeration value="Produces"/> | ||
1840 | 1563 | + <xsd:enumeration value="ConsumesProduces"/> | ||
1841 | 1564 | + </xsd:restriction> | ||
1842 | 1565 | + </xsd:simpleContent> | ||
1843 | 1566 | + </xsd:complexType> | ||
1844 | 1567 | + | ||
1845 | 1568 | +<!-- **************************************************** --> | ||
1846 | 1569 | + | ||
1847 | 1570 | + <xsd:complexType name="message-destinationType"> | ||
1848 | 1571 | + <xsd:annotation> | ||
1849 | 1572 | + <xsd:documentation> | ||
1850 | 1573 | + <![CDATA[ | ||
1851 | 1574 | + | ||
1852 | 1575 | + The message-destinationType specifies a message | ||
1853 | 1576 | + destination. The logical destination described by this | ||
1854 | 1577 | + element is mapped to a physical destination by the Deployer. | ||
1855 | 1578 | + | ||
1856 | 1579 | + The message destination element contains: | ||
1857 | 1580 | + | ||
1858 | 1581 | + - an optional description | ||
1859 | 1582 | + - an optional display-name | ||
1860 | 1583 | + - an optional icon | ||
1861 | 1584 | + - a message destination name which must be unique | ||
1862 | 1585 | + among message destination names within the same | ||
1863 | 1586 | + Deployment File. | ||
1864 | 1587 | + | ||
1865 | 1588 | + Example: | ||
1866 | 1589 | + | ||
1867 | 1590 | + <message-destination> | ||
1868 | 1591 | + <message-destination-name>CorporateStocks | ||
1869 | 1592 | + </message-destination-name> | ||
1870 | 1593 | + </message-destination> | ||
1871 | 1594 | + | ||
1872 | 1595 | + ]]> | ||
1873 | 1596 | + </xsd:documentation> | ||
1874 | 1597 | + </xsd:annotation> | ||
1875 | 1598 | + <xsd:sequence> | ||
1876 | 1599 | + <xsd:group ref="j2ee:descriptionGroup"/> | ||
1877 | 1600 | + <xsd:element name="message-destination-name" | ||
1878 | 1601 | + type="j2ee:string"> | ||
1879 | 1602 | + <xsd:annotation> | ||
1880 | 1603 | + <xsd:documentation> | ||
1881 | 1604 | + | ||
1882 | 1605 | + The message-destination-name element specifies a | ||
1883 | 1606 | + name for a message destination. This name must be | ||
1884 | 1607 | + unique among the names of message destinations | ||
1885 | 1608 | + within the Deployment File. | ||
1886 | 1609 | + | ||
1887 | 1610 | + </xsd:documentation> | ||
1888 | 1611 | + </xsd:annotation> | ||
1889 | 1612 | + </xsd:element> | ||
1890 | 1613 | + </xsd:sequence> | ||
1891 | 1614 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
1892 | 1615 | + </xsd:complexType> | ||
1893 | 1616 | + | ||
1894 | 1617 | +<!-- **************************************************** --> | ||
1895 | 1618 | + | ||
1896 | 1619 | + <xsd:complexType name="param-valueType"> | ||
1897 | 1620 | + <xsd:annotation> | ||
1898 | 1621 | + <xsd:documentation> | ||
1899 | 1622 | + | ||
1900 | 1623 | + This type is a general type that can be used to declare | ||
1901 | 1624 | + parameter/value lists. | ||
1902 | 1625 | + | ||
1903 | 1626 | + </xsd:documentation> | ||
1904 | 1627 | + </xsd:annotation> | ||
1905 | 1628 | + | ||
1906 | 1629 | + <xsd:sequence> | ||
1907 | 1630 | + <xsd:element name="description" | ||
1908 | 1631 | + type="j2ee:descriptionType" | ||
1909 | 1632 | + minOccurs="0" | ||
1910 | 1633 | + maxOccurs="unbounded"/> | ||
1911 | 1634 | + <xsd:element name="param-name" | ||
1912 | 1635 | + type="j2ee:string"> | ||
1913 | 1636 | + <xsd:annotation> | ||
1914 | 1637 | + <xsd:documentation> | ||
1915 | 1638 | + | ||
1916 | 1639 | + The param-name element contains the name of a | ||
1917 | 1640 | + parameter. | ||
1918 | 1641 | + | ||
1919 | 1642 | + </xsd:documentation> | ||
1920 | 1643 | + </xsd:annotation> | ||
1921 | 1644 | + </xsd:element> | ||
1922 | 1645 | + | ||
1923 | 1646 | + <xsd:element name="param-value" | ||
1924 | 1647 | + type="j2ee:xsdStringType"> | ||
1925 | 1648 | + <xsd:annotation> | ||
1926 | 1649 | + <xsd:documentation> | ||
1927 | 1650 | + | ||
1928 | 1651 | + The param-value element contains the value of a | ||
1929 | 1652 | + parameter. | ||
1930 | 1653 | + | ||
1931 | 1654 | + </xsd:documentation> | ||
1932 | 1655 | + </xsd:annotation> | ||
1933 | 1656 | + </xsd:element> | ||
1934 | 1657 | + </xsd:sequence> | ||
1935 | 1658 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
1936 | 1659 | + </xsd:complexType> | ||
1937 | 1660 | + | ||
1938 | 1661 | +<!-- **************************************************** --> | ||
1939 | 1662 | + | ||
1940 | 1663 | + <xsd:complexType name="pathType"> | ||
1941 | 1664 | + <xsd:annotation> | ||
1942 | 1665 | + <xsd:documentation> | ||
1943 | 1666 | + | ||
1944 | 1667 | + The elements that use this type designate either a relative | ||
1945 | 1668 | + path or an absolute path starting with a "/". | ||
1946 | 1669 | + | ||
1947 | 1670 | + In elements that specify a pathname to a file within the | ||
1948 | 1671 | + same Deployment File, relative filenames (i.e., those not | ||
1949 | 1672 | + starting with "/") are considered relative to the root of | ||
1950 | 1673 | + the Deployment File's namespace. Absolute filenames (i.e., | ||
1951 | 1674 | + those starting with "/") also specify names in the root of | ||
1952 | 1675 | + the Deployment File's namespace. In general, relative names | ||
1953 | 1676 | + are preferred. The exception is .war files where absolute | ||
1954 | 1677 | + names are preferred for consistency with the Servlet API. | ||
1955 | 1678 | + | ||
1956 | 1679 | + </xsd:documentation> | ||
1957 | 1680 | + </xsd:annotation> | ||
1958 | 1681 | + <xsd:simpleContent> | ||
1959 | 1682 | + <xsd:restriction base="j2ee:string"/> | ||
1960 | 1683 | + </xsd:simpleContent> | ||
1961 | 1684 | + </xsd:complexType> | ||
1962 | 1685 | + | ||
1963 | 1686 | +<!-- **************************************************** --> | ||
1964 | 1687 | + | ||
1965 | 1688 | + <xsd:complexType name="remoteType"> | ||
1966 | 1689 | + <xsd:annotation> | ||
1967 | 1690 | + <xsd:documentation> | ||
1968 | 1691 | + <![CDATA[ | ||
1969 | 1692 | + | ||
1970 | 1693 | + The remote element contains the fully-qualified name | ||
1971 | 1694 | + of the enterprise bean's remote interface. | ||
1972 | 1695 | + | ||
1973 | 1696 | + Example: | ||
1974 | 1697 | + | ||
1975 | 1698 | + <remote>com.wombat.empl.EmployeeService</remote> | ||
1976 | 1699 | + | ||
1977 | 1700 | + ]]> | ||
1978 | 1701 | + </xsd:documentation> | ||
1979 | 1702 | + </xsd:annotation> | ||
1980 | 1703 | + <xsd:simpleContent> | ||
1981 | 1704 | + <xsd:restriction base="j2ee:fully-qualified-classType"/> | ||
1982 | 1705 | + </xsd:simpleContent> | ||
1983 | 1706 | + </xsd:complexType> | ||
1984 | 1707 | + | ||
1985 | 1708 | +<!-- **************************************************** --> | ||
1986 | 1709 | + | ||
1987 | 1710 | + <xsd:complexType name="res-authType"> | ||
1988 | 1711 | + <xsd:annotation> | ||
1989 | 1712 | + <xsd:documentation> | ||
1990 | 1713 | + | ||
1991 | 1714 | + The res-authType specifies whether the Deployment Component | ||
1992 | 1715 | + code signs on programmatically to the resource manager, or | ||
1993 | 1716 | + whether the Container will sign on to the resource manager | ||
1994 | 1717 | + on behalf of the Deployment Component. In the latter case, | ||
1995 | 1718 | + the Container uses information that is supplied by the | ||
1996 | 1719 | + Deployer. | ||
1997 | 1720 | + | ||
1998 | 1721 | + The value must be one of the two following: | ||
1999 | 1722 | + | ||
2000 | 1723 | + Application | ||
2001 | 1724 | + Container | ||
2002 | 1725 | + | ||
2003 | 1726 | + </xsd:documentation> | ||
2004 | 1727 | + </xsd:annotation> | ||
2005 | 1728 | + <xsd:simpleContent> | ||
2006 | 1729 | + <xsd:restriction base="j2ee:string"> | ||
2007 | 1730 | + <xsd:enumeration value="Application"/> | ||
2008 | 1731 | + <xsd:enumeration value="Container"/> | ||
2009 | 1732 | + </xsd:restriction> | ||
2010 | 1733 | + </xsd:simpleContent> | ||
2011 | 1734 | + </xsd:complexType> | ||
2012 | 1735 | + | ||
2013 | 1736 | +<!-- **************************************************** --> | ||
2014 | 1737 | + | ||
2015 | 1738 | + <xsd:complexType name="res-sharing-scopeType"> | ||
2016 | 1739 | + <xsd:annotation> | ||
2017 | 1740 | + <xsd:documentation> | ||
2018 | 1741 | + | ||
2019 | 1742 | + The res-sharing-scope type specifies whether connections | ||
2020 | 1743 | + obtained through the given resource manager connection | ||
2021 | 1744 | + factory reference can be shared. The value, if specified, | ||
2022 | 1745 | + must be one of the two following: | ||
2023 | 1746 | + | ||
2024 | 1747 | + Shareable | ||
2025 | 1748 | + Unshareable | ||
2026 | 1749 | + | ||
2027 | 1750 | + The default value is Shareable. | ||
2028 | 1751 | + | ||
2029 | 1752 | + </xsd:documentation> | ||
2030 | 1753 | + </xsd:annotation> | ||
2031 | 1754 | + <xsd:simpleContent> | ||
2032 | 1755 | + <xsd:restriction base="j2ee:string"> | ||
2033 | 1756 | + <xsd:enumeration value="Shareable"/> | ||
2034 | 1757 | + <xsd:enumeration value="Unshareable"/> | ||
2035 | 1758 | + </xsd:restriction> | ||
2036 | 1759 | + </xsd:simpleContent> | ||
2037 | 1760 | + </xsd:complexType> | ||
2038 | 1761 | + | ||
2039 | 1762 | +<!-- **************************************************** --> | ||
2040 | 1763 | + | ||
2041 | 1764 | + <xsd:complexType name="resource-env-refType"> | ||
2042 | 1765 | + <xsd:annotation> | ||
2043 | 1766 | + <xsd:documentation> | ||
2044 | 1767 | + <![CDATA[ | ||
2045 | 1768 | + | ||
2046 | 1769 | + The resource-env-refType is used to define | ||
2047 | 1770 | + resource-env-type elements. It contains a declaration of a | ||
2048 | 1771 | + Deployment Component's reference to an administered object | ||
2049 | 1772 | + associated with a resource in the Deployment Component's | ||
2050 | 1773 | + environment. It consists of an optional description, the | ||
2051 | 1774 | + resource environment reference name, and an indication of | ||
2052 | 1775 | + the resource environment reference type expected by the | ||
2053 | 1776 | + Deployment Component code. | ||
2054 | 1777 | + | ||
2055 | 1778 | + Example: | ||
2056 | 1779 | + | ||
2057 | 1780 | + <resource-env-ref> | ||
2058 | 1781 | + <resource-env-ref-name>jms/StockQueue | ||
2059 | 1782 | + </resource-env-ref-name> | ||
2060 | 1783 | + <resource-env-ref-type>javax.jms.Queue | ||
2061 | 1784 | + </resource-env-ref-type> | ||
2062 | 1785 | + </resource-env-ref> | ||
2063 | 1786 | + | ||
2064 | 1787 | + ]]> | ||
2065 | 1788 | + </xsd:documentation> | ||
2066 | 1789 | + </xsd:annotation> | ||
2067 | 1790 | + | ||
2068 | 1791 | + <xsd:sequence> | ||
2069 | 1792 | + <xsd:element name="description" | ||
2070 | 1793 | + type="j2ee:descriptionType" | ||
2071 | 1794 | + minOccurs="0" | ||
2072 | 1795 | + maxOccurs="unbounded"/> | ||
2073 | 1796 | + <xsd:element name="resource-env-ref-name" | ||
2074 | 1797 | + type="j2ee:jndi-nameType"> | ||
2075 | 1798 | + <xsd:annotation> | ||
2076 | 1799 | + <xsd:documentation> | ||
2077 | 1800 | + | ||
2078 | 1801 | + The resource-env-ref-name element specifies the name | ||
2079 | 1802 | + of a resource environment reference; its value is | ||
2080 | 1803 | + the environment entry name used in | ||
2081 | 1804 | + the Deployment Component code. The name is a JNDI | ||
2082 | 1805 | + name relative to the java:comp/env context and must | ||
2083 | 1806 | + be unique within a Deployment Component. | ||
2084 | 1807 | + | ||
2085 | 1808 | + </xsd:documentation> | ||
2086 | 1809 | + </xsd:annotation> | ||
2087 | 1810 | + </xsd:element> | ||
2088 | 1811 | + | ||
2089 | 1812 | + <xsd:element name="resource-env-ref-type" | ||
2090 | 1813 | + type="j2ee:fully-qualified-classType"> | ||
2091 | 1814 | + <xsd:annotation> | ||
2092 | 1815 | + <xsd:documentation> | ||
2093 | 1816 | + | ||
2094 | 1817 | + The resource-env-ref-type element specifies the type | ||
2095 | 1818 | + of a resource environment reference. It is the | ||
2096 | 1819 | + fully qualified name of a Java language class or | ||
2097 | 1820 | + interface. | ||
2098 | 1821 | + | ||
2099 | 1822 | + </xsd:documentation> | ||
2100 | 1823 | + </xsd:annotation> | ||
2101 | 1824 | + </xsd:element> | ||
2102 | 1825 | + | ||
2103 | 1826 | + </xsd:sequence> | ||
2104 | 1827 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2105 | 1828 | + </xsd:complexType> | ||
2106 | 1829 | + | ||
2107 | 1830 | +<!-- **************************************************** --> | ||
2108 | 1831 | + | ||
2109 | 1832 | + <xsd:complexType name="resource-refType"> | ||
2110 | 1833 | + <xsd:annotation> | ||
2111 | 1834 | + <xsd:documentation> | ||
2112 | 1835 | + <![CDATA[ | ||
2113 | 1836 | + | ||
2114 | 1837 | + The resource-refType contains a declaration of a | ||
2115 | 1838 | + Deployment Component's reference to an external resource. It | ||
2116 | 1839 | + consists of an optional description, the resource manager | ||
2117 | 1840 | + connection factory reference name, the indication of the | ||
2118 | 1841 | + resource manager connection factory type expected by the | ||
2119 | 1842 | + Deployment Component code, the type of authentication | ||
2120 | 1843 | + (Application or Container), and an optional specification of | ||
2121 | 1844 | + the shareability of connections obtained from the resource | ||
2122 | 1845 | + (Shareable or Unshareable). | ||
2123 | 1846 | + | ||
2124 | 1847 | + Example: | ||
2125 | 1848 | + | ||
2126 | 1849 | + <resource-ref> | ||
2127 | 1850 | + <res-ref-name>jdbc/EmployeeAppDB</res-ref-name> | ||
2128 | 1851 | + <res-type>javax.sql.DataSource</res-type> | ||
2129 | 1852 | + <res-auth>Container</res-auth> | ||
2130 | 1853 | + <res-sharing-scope>Shareable</res-sharing-scope> | ||
2131 | 1854 | + </resource-ref> | ||
2132 | 1855 | + | ||
2133 | 1856 | + ]]> | ||
2134 | 1857 | + </xsd:documentation> | ||
2135 | 1858 | + </xsd:annotation> | ||
2136 | 1859 | + | ||
2137 | 1860 | + <xsd:sequence> | ||
2138 | 1861 | + <xsd:element name="description" | ||
2139 | 1862 | + type="j2ee:descriptionType" | ||
2140 | 1863 | + minOccurs="0" | ||
2141 | 1864 | + maxOccurs="unbounded"/> | ||
2142 | 1865 | + <xsd:element name="res-ref-name" | ||
2143 | 1866 | + type="j2ee:jndi-nameType"> | ||
2144 | 1867 | + <xsd:annotation> | ||
2145 | 1868 | + <xsd:documentation> | ||
2146 | 1869 | + | ||
2147 | 1870 | + The res-ref-name element specifies the name of a | ||
2148 | 1871 | + resource manager connection factory reference. | ||
2149 | 1872 | + The name is a JNDI name relative to the | ||
2150 | 1873 | + java:comp/env context. | ||
2151 | 1874 | + The name must be unique within a Deployment File. | ||
2152 | 1875 | + | ||
2153 | 1876 | + </xsd:documentation> | ||
2154 | 1877 | + </xsd:annotation> | ||
2155 | 1878 | + </xsd:element> | ||
2156 | 1879 | + | ||
2157 | 1880 | + <xsd:element name="res-type" | ||
2158 | 1881 | + type="j2ee:fully-qualified-classType"> | ||
2159 | 1882 | + <xsd:annotation> | ||
2160 | 1883 | + <xsd:documentation> | ||
2161 | 1884 | + | ||
2162 | 1885 | + The res-type element specifies the type of the data | ||
2163 | 1886 | + source. The type is specified by the fully qualified | ||
2164 | 1887 | + Java language class or interface | ||
2165 | 1888 | + expected to be implemented by the data source. | ||
2166 | 1889 | + | ||
2167 | 1890 | + </xsd:documentation> | ||
2168 | 1891 | + </xsd:annotation> | ||
2169 | 1892 | + </xsd:element> | ||
2170 | 1893 | + | ||
2171 | 1894 | + <xsd:element name="res-auth" | ||
2172 | 1895 | + type="j2ee:res-authType"/> | ||
2173 | 1896 | + | ||
2174 | 1897 | + <xsd:element name="res-sharing-scope" | ||
2175 | 1898 | + type="j2ee:res-sharing-scopeType" | ||
2176 | 1899 | + minOccurs="0"/> | ||
2177 | 1900 | + </xsd:sequence> | ||
2178 | 1901 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2179 | 1902 | + </xsd:complexType> | ||
2180 | 1903 | + | ||
2181 | 1904 | +<!-- **************************************************** --> | ||
2182 | 1905 | + | ||
2183 | 1906 | + <xsd:complexType name="role-nameType"> | ||
2184 | 1907 | + <xsd:annotation> | ||
2185 | 1908 | + <xsd:documentation> | ||
2186 | 1909 | + | ||
2187 | 1910 | + The role-nameType designates the name of a security role. | ||
2188 | 1911 | + | ||
2189 | 1912 | + The name must conform to the lexical rules for a token. | ||
2190 | 1913 | + | ||
2191 | 1914 | + </xsd:documentation> | ||
2192 | 1915 | + </xsd:annotation> | ||
2193 | 1916 | + | ||
2194 | 1917 | + <xsd:simpleContent> | ||
2195 | 1918 | + <xsd:restriction base="j2ee:string"/> | ||
2196 | 1919 | + </xsd:simpleContent> | ||
2197 | 1920 | + </xsd:complexType> | ||
2198 | 1921 | + | ||
2199 | 1922 | +<!-- **************************************************** --> | ||
2200 | 1923 | + | ||
2201 | 1924 | + <xsd:complexType name="run-asType"> | ||
2202 | 1925 | + <xsd:annotation> | ||
2203 | 1926 | + <xsd:documentation> | ||
2204 | 1927 | + | ||
2205 | 1928 | + The run-asType specifies the run-as identity to be | ||
2206 | 1929 | + used for the execution of a component. It contains an | ||
2207 | 1930 | + optional description, and the name of a security role. | ||
2208 | 1931 | + | ||
2209 | 1932 | + </xsd:documentation> | ||
2210 | 1933 | + </xsd:annotation> | ||
2211 | 1934 | + | ||
2212 | 1935 | + <xsd:sequence> | ||
2213 | 1936 | + <xsd:element name="description" | ||
2214 | 1937 | + type="j2ee:descriptionType" | ||
2215 | 1938 | + minOccurs="0" | ||
2216 | 1939 | + maxOccurs="unbounded"/> | ||
2217 | 1940 | + <xsd:element name="role-name" | ||
2218 | 1941 | + type="j2ee:role-nameType"/> | ||
2219 | 1942 | + </xsd:sequence> | ||
2220 | 1943 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2221 | 1944 | + </xsd:complexType> | ||
2222 | 1945 | + | ||
2223 | 1946 | +<!-- **************************************************** --> | ||
2224 | 1947 | + | ||
2225 | 1948 | + <xsd:complexType name="security-role-refType"> | ||
2226 | 1949 | + <xsd:annotation> | ||
2227 | 1950 | + <xsd:documentation> | ||
2228 | 1951 | + | ||
2229 | 1952 | + The security-role-refType contains the declaration of a | ||
2230 | 1953 | + security role reference in a component's or a | ||
2231 | 1954 | + Deployment Component's code. The declaration consists of an | ||
2232 | 1955 | + optional description, the security role name used in the | ||
2233 | 1956 | + code, and an optional link to a security role. If the | ||
2234 | 1957 | + security role is not specified, the Deployer must choose an | ||
2235 | 1958 | + appropriate security role. | ||
2236 | 1959 | + | ||
2237 | 1960 | + </xsd:documentation> | ||
2238 | 1961 | + </xsd:annotation> | ||
2239 | 1962 | + | ||
2240 | 1963 | + <xsd:sequence> | ||
2241 | 1964 | + <xsd:element name="description" | ||
2242 | 1965 | + type="j2ee:descriptionType" | ||
2243 | 1966 | + minOccurs="0" | ||
2244 | 1967 | + maxOccurs="unbounded"/> | ||
2245 | 1968 | + <xsd:element name="role-name" | ||
2246 | 1969 | + type="j2ee:role-nameType"> | ||
2247 | 1970 | + <xsd:annotation> | ||
2248 | 1971 | + <xsd:documentation> | ||
2249 | 1972 | + | ||
2250 | 1973 | + The value of the role-name element must be the String used | ||
2251 | 1974 | + as the parameter to the | ||
2252 | 1975 | + EJBContext.isCallerInRole(String roleName) method or the | ||
2253 | 1976 | + HttpServletRequest.isUserInRole(String role) method. | ||
2254 | 1977 | + | ||
2255 | 1978 | + </xsd:documentation> | ||
2256 | 1979 | + </xsd:annotation> | ||
2257 | 1980 | + </xsd:element> | ||
2258 | 1981 | + | ||
2259 | 1982 | + <xsd:element name="role-link" | ||
2260 | 1983 | + type="j2ee:role-nameType" | ||
2261 | 1984 | + minOccurs="0"> | ||
2262 | 1985 | + <xsd:annotation> | ||
2263 | 1986 | + <xsd:documentation> | ||
2264 | 1987 | + | ||
2265 | 1988 | + The role-link element is a reference to a defined | ||
2266 | 1989 | + security role. The role-link element must contain | ||
2267 | 1990 | + the name of one of the security roles defined in the | ||
2268 | 1991 | + security-role elements. | ||
2269 | 1992 | + | ||
2270 | 1993 | + </xsd:documentation> | ||
2271 | 1994 | + </xsd:annotation> | ||
2272 | 1995 | + </xsd:element> | ||
2273 | 1996 | + </xsd:sequence> | ||
2274 | 1997 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2275 | 1998 | + </xsd:complexType> | ||
2276 | 1999 | + | ||
2277 | 2000 | +<!-- **************************************************** --> | ||
2278 | 2001 | + | ||
2279 | 2002 | + <xsd:complexType name="security-roleType"> | ||
2280 | 2003 | + <xsd:annotation> | ||
2281 | 2004 | + <xsd:documentation> | ||
2282 | 2005 | + <![CDATA[ | ||
2283 | 2006 | + | ||
2284 | 2007 | + The security-roleType contains the definition of a security | ||
2285 | 2008 | + role. The definition consists of an optional description of the | ||
2286 | 2009 | + security role, and the security role name. | ||
2287 | 2010 | + | ||
2288 | 2011 | + Example: | ||
2289 | 2012 | + | ||
2290 | 2013 | + <security-role> | ||
2291 | 2014 | + <description> | ||
2292 | 2015 | + This role includes all employees who are authorized | ||
2293 | 2016 | + to access the employee service application. | ||
2294 | 2017 | + </description> | ||
2295 | 2018 | + <role-name>employee</role-name> | ||
2296 | 2019 | + </security-role> | ||
2297 | 2020 | + | ||
2298 | 2021 | + ]]> | ||
2299 | 2022 | + </xsd:documentation> | ||
2300 | 2023 | + </xsd:annotation> | ||
2301 | 2024 | + | ||
2302 | 2025 | + <xsd:sequence> | ||
2303 | 2026 | + <xsd:element name="description" | ||
2304 | 2027 | + type="j2ee:descriptionType" | ||
2305 | 2028 | + minOccurs="0" | ||
2306 | 2029 | + maxOccurs="unbounded"/> | ||
2307 | 2030 | + <xsd:element name="role-name" | ||
2308 | 2031 | + type="j2ee:role-nameType"/> | ||
2309 | 2032 | + </xsd:sequence> | ||
2310 | 2033 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2311 | 2034 | + </xsd:complexType> | ||
2312 | 2035 | + | ||
2313 | 2036 | +<!-- **************************************************** --> | ||
2314 | 2037 | + | ||
2315 | 2038 | + <xsd:complexType name="string"> | ||
2316 | 2039 | + <xsd:annotation> | ||
2317 | 2040 | + <xsd:documentation> | ||
2318 | 2041 | + | ||
2319 | 2042 | + This is a special string datatype that is defined by J2EE as | ||
2320 | 2043 | + a base type for defining collapsed strings. When schemas | ||
2321 | 2044 | + require trailing/leading space elimination as well as | ||
2322 | 2045 | + collapsing the existing whitespace, this base type may be | ||
2323 | 2046 | + used. | ||
2324 | 2047 | + | ||
2325 | 2048 | + </xsd:documentation> | ||
2326 | 2049 | + </xsd:annotation> | ||
2327 | 2050 | + <xsd:simpleContent> | ||
2328 | 2051 | + <xsd:extension base="xsd:token"> | ||
2329 | 2052 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2330 | 2053 | + </xsd:extension> | ||
2331 | 2054 | + </xsd:simpleContent> | ||
2332 | 2055 | + </xsd:complexType> | ||
2333 | 2056 | + | ||
2334 | 2057 | +<!-- **************************************************** --> | ||
2335 | 2058 | + | ||
2336 | 2059 | + <xsd:complexType name="true-falseType"> | ||
2337 | 2060 | + <xsd:annotation> | ||
2338 | 2061 | + <xsd:documentation> | ||
2339 | 2062 | + | ||
2340 | 2063 | + This simple type designates a boolean with only two | ||
2341 | 2064 | + permissible values | ||
2342 | 2065 | + | ||
2343 | 2066 | + - true | ||
2344 | 2067 | + - false | ||
2345 | 2068 | + | ||
2346 | 2069 | + </xsd:documentation> | ||
2347 | 2070 | + </xsd:annotation> | ||
2348 | 2071 | + <xsd:simpleContent> | ||
2349 | 2072 | + <xsd:restriction base="j2ee:xsdBooleanType"> | ||
2350 | 2073 | + <xsd:pattern value="(true|false)"/> | ||
2351 | 2074 | + </xsd:restriction> | ||
2352 | 2075 | + </xsd:simpleContent> | ||
2353 | 2076 | + </xsd:complexType> | ||
2354 | 2077 | + | ||
2355 | 2078 | +<!-- **************************************************** --> | ||
2356 | 2079 | + | ||
2357 | 2080 | + <xsd:complexType name="url-patternType"> | ||
2358 | 2081 | + <xsd:annotation> | ||
2359 | 2082 | + <xsd:documentation> | ||
2360 | 2083 | + | ||
2361 | 2084 | + The url-patternType contains the url pattern of the mapping. | ||
2362 | 2085 | + It must follow the rules specified in Section 11.2 of the | ||
2363 | 2086 | + Servlet API Specification. This pattern is assumed to be in | ||
2364 | 2087 | + URL-decoded form and must not contain CR(#xD) or LF(#xA). | ||
2365 | 2088 | + If it contains those characters, the container must inform | ||
2366 | 2089 | + the developer with a descriptive error message. | ||
2367 | 2090 | + The container must preserve all characters including whitespaces. | ||
2368 | 2091 | + | ||
2369 | 2092 | + </xsd:documentation> | ||
2370 | 2093 | + </xsd:annotation> | ||
2371 | 2094 | + <xsd:simpleContent> | ||
2372 | 2095 | + <xsd:extension base="xsd:string"/> | ||
2373 | 2096 | + </xsd:simpleContent> | ||
2374 | 2097 | + </xsd:complexType> | ||
2375 | 2098 | + | ||
2376 | 2099 | +<!-- **************************************************** --> | ||
2377 | 2100 | + | ||
2378 | 2101 | + <xsd:complexType name="xsdAnyURIType"> | ||
2379 | 2102 | + <xsd:annotation> | ||
2380 | 2103 | + <xsd:documentation> | ||
2381 | 2104 | + | ||
2382 | 2105 | + This type adds an "id" attribute to xsd:anyURI. | ||
2383 | 2106 | + | ||
2384 | 2107 | + </xsd:documentation> | ||
2385 | 2108 | + </xsd:annotation> | ||
2386 | 2109 | + <xsd:simpleContent> | ||
2387 | 2110 | + <xsd:extension base="xsd:anyURI"> | ||
2388 | 2111 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2389 | 2112 | + </xsd:extension> | ||
2390 | 2113 | + </xsd:simpleContent> | ||
2391 | 2114 | + </xsd:complexType> | ||
2392 | 2115 | + | ||
2393 | 2116 | +<!-- **************************************************** --> | ||
2394 | 2117 | + | ||
2395 | 2118 | + <xsd:complexType name="xsdBooleanType"> | ||
2396 | 2119 | + <xsd:annotation> | ||
2397 | 2120 | + <xsd:documentation> | ||
2398 | 2121 | + | ||
2399 | 2122 | + This type adds an "id" attribute to xsd:boolean. | ||
2400 | 2123 | + | ||
2401 | 2124 | + </xsd:documentation> | ||
2402 | 2125 | + </xsd:annotation> | ||
2403 | 2126 | + <xsd:simpleContent> | ||
2404 | 2127 | + <xsd:extension base="xsd:boolean"> | ||
2405 | 2128 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2406 | 2129 | + </xsd:extension> | ||
2407 | 2130 | + </xsd:simpleContent> | ||
2408 | 2131 | + </xsd:complexType> | ||
2409 | 2132 | + | ||
2410 | 2133 | +<!-- **************************************************** --> | ||
2411 | 2134 | + | ||
2412 | 2135 | + <xsd:complexType name="xsdIntegerType"> | ||
2413 | 2136 | + <xsd:annotation> | ||
2414 | 2137 | + <xsd:documentation> | ||
2415 | 2138 | + | ||
2416 | 2139 | + This type adds an "id" attribute to xsd:integer. | ||
2417 | 2140 | + | ||
2418 | 2141 | + </xsd:documentation> | ||
2419 | 2142 | + </xsd:annotation> | ||
2420 | 2143 | + <xsd:simpleContent> | ||
2421 | 2144 | + <xsd:extension base="xsd:integer"> | ||
2422 | 2145 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2423 | 2146 | + </xsd:extension> | ||
2424 | 2147 | + </xsd:simpleContent> | ||
2425 | 2148 | + </xsd:complexType> | ||
2426 | 2149 | + | ||
2427 | 2150 | +<!-- **************************************************** --> | ||
2428 | 2151 | + | ||
2429 | 2152 | + <xsd:complexType name="xsdNMTOKENType"> | ||
2430 | 2153 | + <xsd:annotation> | ||
2431 | 2154 | + <xsd:documentation> | ||
2432 | 2155 | + | ||
2433 | 2156 | + This type adds an "id" attribute to xsd:NMTOKEN. | ||
2434 | 2157 | + | ||
2435 | 2158 | + </xsd:documentation> | ||
2436 | 2159 | + </xsd:annotation> | ||
2437 | 2160 | + <xsd:simpleContent> | ||
2438 | 2161 | + <xsd:extension base="xsd:NMTOKEN"> | ||
2439 | 2162 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2440 | 2163 | + </xsd:extension> | ||
2441 | 2164 | + </xsd:simpleContent> | ||
2442 | 2165 | + </xsd:complexType> | ||
2443 | 2166 | + | ||
2444 | 2167 | +<!-- **************************************************** --> | ||
2445 | 2168 | + | ||
2446 | 2169 | + <xsd:complexType name="xsdNonNegativeIntegerType"> | ||
2447 | 2170 | + <xsd:annotation> | ||
2448 | 2171 | + <xsd:documentation> | ||
2449 | 2172 | + | ||
2450 | 2173 | + This type adds an "id" attribute to xsd:nonNegativeInteger. | ||
2451 | 2174 | + | ||
2452 | 2175 | + </xsd:documentation> | ||
2453 | 2176 | + </xsd:annotation> | ||
2454 | 2177 | + <xsd:simpleContent> | ||
2455 | 2178 | + <xsd:extension base="xsd:nonNegativeInteger"> | ||
2456 | 2179 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2457 | 2180 | + </xsd:extension> | ||
2458 | 2181 | + </xsd:simpleContent> | ||
2459 | 2182 | + </xsd:complexType> | ||
2460 | 2183 | + | ||
2461 | 2184 | +<!-- **************************************************** --> | ||
2462 | 2185 | + | ||
2463 | 2186 | + <xsd:complexType name="xsdPositiveIntegerType"> | ||
2464 | 2187 | + <xsd:annotation> | ||
2465 | 2188 | + <xsd:documentation> | ||
2466 | 2189 | + | ||
2467 | 2190 | + This type adds an "id" attribute to xsd:positiveInteger. | ||
2468 | 2191 | + | ||
2469 | 2192 | + </xsd:documentation> | ||
2470 | 2193 | + </xsd:annotation> | ||
2471 | 2194 | + <xsd:simpleContent> | ||
2472 | 2195 | + <xsd:extension base="xsd:positiveInteger"> | ||
2473 | 2196 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2474 | 2197 | + </xsd:extension> | ||
2475 | 2198 | + </xsd:simpleContent> | ||
2476 | 2199 | + </xsd:complexType> | ||
2477 | 2200 | + | ||
2478 | 2201 | +<!-- **************************************************** --> | ||
2479 | 2202 | + | ||
2480 | 2203 | + <xsd:complexType name="xsdQNameType"> | ||
2481 | 2204 | + <xsd:annotation> | ||
2482 | 2205 | + <xsd:documentation> | ||
2483 | 2206 | + | ||
2484 | 2207 | + This type adds an "id" attribute to xsd:QName. | ||
2485 | 2208 | + | ||
2486 | 2209 | + </xsd:documentation> | ||
2487 | 2210 | + </xsd:annotation> | ||
2488 | 2211 | + <xsd:simpleContent> | ||
2489 | 2212 | + <xsd:extension base="xsd:QName"> | ||
2490 | 2213 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2491 | 2214 | + </xsd:extension> | ||
2492 | 2215 | + </xsd:simpleContent> | ||
2493 | 2216 | + </xsd:complexType> | ||
2494 | 2217 | + | ||
2495 | 2218 | +<!-- **************************************************** --> | ||
2496 | 2219 | + | ||
2497 | 2220 | + <xsd:complexType name="xsdStringType"> | ||
2498 | 2221 | + <xsd:annotation> | ||
2499 | 2222 | + <xsd:documentation> | ||
2500 | 2223 | + | ||
2501 | 2224 | + This type adds an "id" attribute to xsd:string. | ||
2502 | 2225 | + | ||
2503 | 2226 | + </xsd:documentation> | ||
2504 | 2227 | + </xsd:annotation> | ||
2505 | 2228 | + <xsd:simpleContent> | ||
2506 | 2229 | + <xsd:extension base="xsd:string"> | ||
2507 | 2230 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2508 | 2231 | + </xsd:extension> | ||
2509 | 2232 | + </xsd:simpleContent> | ||
2510 | 2233 | + </xsd:complexType> | ||
2511 | 2234 | + | ||
2512 | 2235 | +</xsd:schema> | ||
2513 | 2236 | + | ||
2514 | 2237 | Index: jenkins-winstone/src/conf/javax/servlet/resources/j2ee_web_services_client_1_1.xsd | ||
2515 | 2238 | =================================================================== | ||
2516 | 2239 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
2517 | 2240 | +++ jenkins-winstone/src/conf/javax/servlet/resources/j2ee_web_services_client_1_1.xsd 2011-08-18 09:34:14.231604192 +0100 | ||
2518 | 2241 | @@ -0,0 +1,353 @@ | ||
2519 | 2242 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2520 | 2243 | +<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" | ||
2521 | 2244 | + targetNamespace="http://java.sun.com/xml/ns/j2ee" | ||
2522 | 2245 | + xmlns:j2ee="http://java.sun.com/xml/ns/j2ee" | ||
2523 | 2246 | + xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
2524 | 2247 | + elementFormDefault="qualified" | ||
2525 | 2248 | + attributeFormDefault="unqualified" | ||
2526 | 2249 | + version="1.1"> | ||
2527 | 2250 | + <xsd:annotation> | ||
2528 | 2251 | + <xsd:documentation> | ||
2529 | 2252 | + @(#)j2ee_web_services_client_1_1.xsds 1.10 02/11/03 | ||
2530 | 2253 | + </xsd:documentation> | ||
2531 | 2254 | + </xsd:annotation> | ||
2532 | 2255 | + | ||
2533 | 2256 | + <xsd:annotation> | ||
2534 | 2257 | + <xsd:documentation> | ||
2535 | 2258 | + | ||
2536 | 2259 | + DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. | ||
2537 | 2260 | + | ||
2538 | 2261 | + Copyright 2003-2007 Sun Microsystems, Inc. All rights reserved. | ||
2539 | 2262 | + | ||
2540 | 2263 | + The contents of this file are subject to the terms of either the | ||
2541 | 2264 | + GNU General Public License Version 2 only ("GPL") or the Common | ||
2542 | 2265 | + Development and Distribution License("CDDL") (collectively, the | ||
2543 | 2266 | + "License"). You may not use this file except in compliance with | ||
2544 | 2267 | + the License. You can obtain a copy of the License at | ||
2545 | 2268 | + https://glassfish.dev.java.net/public/CDDL+GPL.html or | ||
2546 | 2269 | + glassfish/bootstrap/legal/LICENSE.txt. See the License for the | ||
2547 | 2270 | + specific language governing permissions and limitations under the | ||
2548 | 2271 | + License. | ||
2549 | 2272 | + | ||
2550 | 2273 | + When distributing the software, include this License Header | ||
2551 | 2274 | + Notice in each file and include the License file at | ||
2552 | 2275 | + glassfish/bootstrap/legal/LICENSE.txt. Sun designates this | ||
2553 | 2276 | + particular file as subject to the "Classpath" exception as | ||
2554 | 2277 | + provided by Sun in the GPL Version 2 section of the License file | ||
2555 | 2278 | + that accompanied this code. If applicable, add the following | ||
2556 | 2279 | + below the License Header, with the fields enclosed by brackets [] | ||
2557 | 2280 | + replaced by your own identifying information: | ||
2558 | 2281 | + "Portions Copyrighted [year] [name of copyright owner]" | ||
2559 | 2282 | + | ||
2560 | 2283 | + Contributor(s): | ||
2561 | 2284 | + | ||
2562 | 2285 | + If you wish your version of this file to be governed by only the | ||
2563 | 2286 | + CDDL or only the GPL Version 2, indicate your decision by adding | ||
2564 | 2287 | + "[Contributor] elects to include this software in this | ||
2565 | 2288 | + distribution under the [CDDL or GPL Version 2] license." If you | ||
2566 | 2289 | + don't indicate a single choice of license, a recipient has the | ||
2567 | 2290 | + option to distribute your version of this file under either the | ||
2568 | 2291 | + CDDL, the GPL Version 2 or to extend the choice of license to its | ||
2569 | 2292 | + licensees as provided above. However, if you add GPL Version 2 | ||
2570 | 2293 | + code and therefore, elected the GPL Version 2 license, then the | ||
2571 | 2294 | + option applies only if the new code is made subject to such | ||
2572 | 2295 | + option by the copyright holder. | ||
2573 | 2296 | + | ||
2574 | 2297 | + </xsd:documentation> | ||
2575 | 2298 | + </xsd:annotation> | ||
2576 | 2299 | + | ||
2577 | 2300 | + <xsd:annotation> | ||
2578 | 2301 | + <xsd:documentation> | ||
2579 | 2302 | + | ||
2580 | 2303 | + (C) Copyright International Business Machines Corporation 2002 | ||
2581 | 2304 | + | ||
2582 | 2305 | + </xsd:documentation> | ||
2583 | 2306 | + </xsd:annotation> | ||
2584 | 2307 | + | ||
2585 | 2308 | + | ||
2586 | 2309 | +<!-- **************************************************** --> | ||
2587 | 2310 | + | ||
2588 | 2311 | + <xsd:complexType name="port-component-refType"> | ||
2589 | 2312 | + <xsd:annotation> | ||
2590 | 2313 | + <xsd:documentation> | ||
2591 | 2314 | + | ||
2592 | 2315 | + The port-component-ref element declares a client dependency | ||
2593 | 2316 | + on the container for resolving a Service Endpoint Interface | ||
2594 | 2317 | + to a WSDL port. It optionally associates the Service Endpoint | ||
2595 | 2318 | + Interface with a particular port-component. This is only used | ||
2596 | 2319 | + by the container for a Service.getPort(Class) method call. | ||
2597 | 2320 | + | ||
2598 | 2321 | + </xsd:documentation> | ||
2599 | 2322 | + </xsd:annotation> | ||
2600 | 2323 | + | ||
2601 | 2324 | + <xsd:sequence> | ||
2602 | 2325 | + <xsd:element name="service-endpoint-interface" | ||
2603 | 2326 | + type="j2ee:fully-qualified-classType"> | ||
2604 | 2327 | + <xsd:annotation> | ||
2605 | 2328 | + <xsd:documentation> | ||
2606 | 2329 | + | ||
2607 | 2330 | + The service-endpoint-interface element defines a fully qualified | ||
2608 | 2331 | + Java class that represents the Service Endpoint Interface of a | ||
2609 | 2332 | + WSDL port. | ||
2610 | 2333 | + | ||
2611 | 2334 | + </xsd:documentation> | ||
2612 | 2335 | + </xsd:annotation> | ||
2613 | 2336 | + </xsd:element> | ||
2614 | 2337 | + | ||
2615 | 2338 | + <xsd:element name="port-component-link" | ||
2616 | 2339 | + type="j2ee:string" | ||
2617 | 2340 | + minOccurs="0" maxOccurs="1"> | ||
2618 | 2341 | + <xsd:annotation> | ||
2619 | 2342 | + <xsd:documentation> | ||
2620 | 2343 | + | ||
2621 | 2344 | + The port-component-link element links a port-component-ref | ||
2622 | 2345 | + to a specific port-component required to be made available | ||
2623 | 2346 | + by a service reference. | ||
2624 | 2347 | + | ||
2625 | 2348 | + The value of a port-component-link must be the | ||
2626 | 2349 | + port-component-name of a port-component in the same module | ||
2627 | 2350 | + or another module in the same application unit. The syntax | ||
2628 | 2351 | + for specification follows the syntax defined for ejb-link | ||
2629 | 2352 | + in the EJB 2.0 specification. | ||
2630 | 2353 | + | ||
2631 | 2354 | + </xsd:documentation> | ||
2632 | 2355 | + </xsd:annotation> | ||
2633 | 2356 | + </xsd:element> | ||
2634 | 2357 | + </xsd:sequence> | ||
2635 | 2358 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2636 | 2359 | + </xsd:complexType> | ||
2637 | 2360 | + | ||
2638 | 2361 | +<!-- **************************************************** --> | ||
2639 | 2362 | + | ||
2640 | 2363 | + <xsd:group name="service-refGroup"> | ||
2641 | 2364 | + <xsd:sequence> | ||
2642 | 2365 | + <xsd:element name="service-ref" | ||
2643 | 2366 | + type="j2ee:service-refType" | ||
2644 | 2367 | + minOccurs="0" maxOccurs="unbounded"> | ||
2645 | 2368 | + <xsd:key name="service-ref_handler-name-key"> | ||
2646 | 2369 | + <xsd:annotation> | ||
2647 | 2370 | + <xsd:documentation> | ||
2648 | 2371 | + | ||
2649 | 2372 | + Defines the name of the handler. The name must be unique | ||
2650 | 2373 | + within the module. | ||
2651 | 2374 | + | ||
2652 | 2375 | + </xsd:documentation> | ||
2653 | 2376 | + </xsd:annotation> | ||
2654 | 2377 | + <xsd:selector xpath="j2ee:handler"/> | ||
2655 | 2378 | + <xsd:field xpath="j2ee:handler-name"/> | ||
2656 | 2379 | + </xsd:key> | ||
2657 | 2380 | + </xsd:element> | ||
2658 | 2381 | + </xsd:sequence> | ||
2659 | 2382 | + </xsd:group> | ||
2660 | 2383 | + | ||
2661 | 2384 | +<!-- **************************************************** --> | ||
2662 | 2385 | + | ||
2663 | 2386 | + <xsd:complexType name="service-refType"> | ||
2664 | 2387 | + <xsd:annotation> | ||
2665 | 2388 | + <xsd:documentation> | ||
2666 | 2389 | + | ||
2667 | 2390 | + The service-ref element declares a reference to a Web | ||
2668 | 2391 | + service. It contains optional description, display name and | ||
2669 | 2392 | + icons, a declaration of the required Service interface, | ||
2670 | 2393 | + an optional WSDL document location, an optional set | ||
2671 | 2394 | + of JAX-RPC mappings, an optional QName for the service element, | ||
2672 | 2395 | + an optional set of Service Endpoint Interfaces to be resolved | ||
2673 | 2396 | + by the container to a WSDL port, and an optional set of handlers. | ||
2674 | 2397 | + | ||
2675 | 2398 | + </xsd:documentation> | ||
2676 | 2399 | + </xsd:annotation> | ||
2677 | 2400 | + | ||
2678 | 2401 | + <xsd:sequence> | ||
2679 | 2402 | + <xsd:group ref="j2ee:descriptionGroup"/> | ||
2680 | 2403 | + <xsd:element name="service-ref-name" | ||
2681 | 2404 | + type="j2ee:jndi-nameType"> | ||
2682 | 2405 | + <xsd:annotation> | ||
2683 | 2406 | + <xsd:documentation> | ||
2684 | 2407 | + | ||
2685 | 2408 | + The service-ref-name element declares logical name that the | ||
2686 | 2409 | + components in the module use to look up the Web service. It | ||
2687 | 2410 | + is recommended that all service reference names start with | ||
2688 | 2411 | + "service/". | ||
2689 | 2412 | + | ||
2690 | 2413 | + </xsd:documentation> | ||
2691 | 2414 | + </xsd:annotation> | ||
2692 | 2415 | + </xsd:element> | ||
2693 | 2416 | + | ||
2694 | 2417 | + <xsd:element name="service-interface" | ||
2695 | 2418 | + type="j2ee:fully-qualified-classType"> | ||
2696 | 2419 | + <xsd:annotation> | ||
2697 | 2420 | + <xsd:documentation> | ||
2698 | 2421 | + | ||
2699 | 2422 | + The service-interface element declares the fully qualified class | ||
2700 | 2423 | + name of the JAX-RPC Service interface the client depends on. | ||
2701 | 2424 | + In most cases the value will be javax.xml.rpc.Service. A JAX-RPC | ||
2702 | 2425 | + generated Service Interface class may also be specified. | ||
2703 | 2426 | + | ||
2704 | 2427 | + </xsd:documentation> | ||
2705 | 2428 | + </xsd:annotation> | ||
2706 | 2429 | + </xsd:element> | ||
2707 | 2430 | + | ||
2708 | 2431 | + <xsd:element name="wsdl-file" | ||
2709 | 2432 | + type="j2ee:xsdAnyURIType" | ||
2710 | 2433 | + minOccurs="0" maxOccurs="1"> | ||
2711 | 2434 | + <xsd:annotation> | ||
2712 | 2435 | + <xsd:documentation> | ||
2713 | 2436 | + | ||
2714 | 2437 | + The wsdl-file element contains the URI location of a WSDL | ||
2715 | 2438 | + file. The location is relative to the root of the module. | ||
2716 | 2439 | + | ||
2717 | 2440 | + </xsd:documentation> | ||
2718 | 2441 | + </xsd:annotation> | ||
2719 | 2442 | + </xsd:element> | ||
2720 | 2443 | + | ||
2721 | 2444 | + <xsd:element name="jaxrpc-mapping-file" | ||
2722 | 2445 | + type="j2ee:pathType" | ||
2723 | 2446 | + minOccurs="0" maxOccurs="1"> | ||
2724 | 2447 | + <xsd:annotation> | ||
2725 | 2448 | + <xsd:documentation> | ||
2726 | 2449 | + | ||
2727 | 2450 | + The jaxrpc-mapping-file element contains the name of a file that | ||
2728 | 2451 | + describes the JAX-RPC mapping between the Java interaces used by | ||
2729 | 2452 | + the application and the WSDL description in the wsdl-file. The | ||
2730 | 2453 | + file name is a relative path within the module file. | ||
2731 | 2454 | + | ||
2732 | 2455 | + </xsd:documentation> | ||
2733 | 2456 | + </xsd:annotation> | ||
2734 | 2457 | + </xsd:element> | ||
2735 | 2458 | + | ||
2736 | 2459 | + <xsd:element name="service-qname" | ||
2737 | 2460 | + type="j2ee:xsdQNameType" | ||
2738 | 2461 | + minOccurs="0" maxOccurs="1"> | ||
2739 | 2462 | + <xsd:annotation> | ||
2740 | 2463 | + <xsd:documentation> | ||
2741 | 2464 | + | ||
2742 | 2465 | + The service-qname element declares the specific WSDL service | ||
2743 | 2466 | + element that is being refered to. It is not specified if no | ||
2744 | 2467 | + wsdl-file is declared. | ||
2745 | 2468 | + | ||
2746 | 2469 | + </xsd:documentation> | ||
2747 | 2470 | + </xsd:annotation> | ||
2748 | 2471 | + </xsd:element> | ||
2749 | 2472 | + | ||
2750 | 2473 | + <xsd:element name="port-component-ref" | ||
2751 | 2474 | + type="j2ee:port-component-refType" | ||
2752 | 2475 | + minOccurs="0" maxOccurs="unbounded"> | ||
2753 | 2476 | + <xsd:annotation> | ||
2754 | 2477 | + <xsd:documentation> | ||
2755 | 2478 | + | ||
2756 | 2479 | + The port-component-ref element declares a client dependency | ||
2757 | 2480 | + on the container for resolving a Service Endpoint Interface | ||
2758 | 2481 | + to a WSDL port. It optionally associates the Service Endpoint | ||
2759 | 2482 | + Interface with a particular port-component. This is only used | ||
2760 | 2483 | + by the container for a Service.getPort(Class) method call. | ||
2761 | 2484 | + | ||
2762 | 2485 | + </xsd:documentation> | ||
2763 | 2486 | + </xsd:annotation> | ||
2764 | 2487 | + </xsd:element> | ||
2765 | 2488 | + | ||
2766 | 2489 | + <xsd:element name="handler" | ||
2767 | 2490 | + type="j2ee:service-ref_handlerType" | ||
2768 | 2491 | + minOccurs="0" maxOccurs="unbounded"> | ||
2769 | 2492 | + <xsd:annotation> | ||
2770 | 2493 | + <xsd:documentation> | ||
2771 | 2494 | + | ||
2772 | 2495 | + Declares the handler for a port-component. Handlers can | ||
2773 | 2496 | + access the init-param name/value pairs using the | ||
2774 | 2497 | + HandlerInfo interface. If port-name is not specified, the | ||
2775 | 2498 | + handler is assumed to be associated with all ports of the | ||
2776 | 2499 | + service. | ||
2777 | 2500 | + | ||
2778 | 2501 | + </xsd:documentation> | ||
2779 | 2502 | + </xsd:annotation> | ||
2780 | 2503 | + </xsd:element> | ||
2781 | 2504 | + </xsd:sequence> | ||
2782 | 2505 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2783 | 2506 | + </xsd:complexType> | ||
2784 | 2507 | + | ||
2785 | 2508 | +<!-- **************************************************** --> | ||
2786 | 2509 | + | ||
2787 | 2510 | + <xsd:complexType name="service-ref_handlerType"> | ||
2788 | 2511 | + <xsd:annotation> | ||
2789 | 2512 | + <xsd:documentation> | ||
2790 | 2513 | + | ||
2791 | 2514 | + Declares the handler for a port-component. Handlers can access the | ||
2792 | 2515 | + init-param name/value pairs using the HandlerInfo interface. If | ||
2793 | 2516 | + port-name is not specified, the handler is assumed to be associated | ||
2794 | 2517 | + with all ports of the service. | ||
2795 | 2518 | + | ||
2796 | 2519 | + Used in: service-ref | ||
2797 | 2520 | + | ||
2798 | 2521 | + </xsd:documentation> | ||
2799 | 2522 | + </xsd:annotation> | ||
2800 | 2523 | + <xsd:sequence> | ||
2801 | 2524 | + <xsd:group ref="j2ee:descriptionGroup"/> | ||
2802 | 2525 | + <xsd:element name="handler-name" | ||
2803 | 2526 | + type="j2ee:string"> | ||
2804 | 2527 | + <xsd:annotation> | ||
2805 | 2528 | + <xsd:documentation> | ||
2806 | 2529 | + | ||
2807 | 2530 | + Defines the name of the handler. The name must be unique | ||
2808 | 2531 | + within the module. | ||
2809 | 2532 | + | ||
2810 | 2533 | + </xsd:documentation> | ||
2811 | 2534 | + </xsd:annotation> | ||
2812 | 2535 | + </xsd:element> | ||
2813 | 2536 | + <xsd:element name="handler-class" | ||
2814 | 2537 | + type="j2ee:fully-qualified-classType"> | ||
2815 | 2538 | + <xsd:annotation> | ||
2816 | 2539 | + <xsd:documentation> | ||
2817 | 2540 | + | ||
2818 | 2541 | + Defines a fully qualified class name for the handler | ||
2819 | 2542 | + implementation. | ||
2820 | 2543 | + | ||
2821 | 2544 | + </xsd:documentation> | ||
2822 | 2545 | + </xsd:annotation> | ||
2823 | 2546 | + </xsd:element> | ||
2824 | 2547 | + <xsd:element name="init-param" | ||
2825 | 2548 | + type="j2ee:param-valueType" | ||
2826 | 2549 | + minOccurs="0" maxOccurs="unbounded"/> | ||
2827 | 2550 | + | ||
2828 | 2551 | + <xsd:element name="soap-header" | ||
2829 | 2552 | + type="j2ee:xsdQNameType" | ||
2830 | 2553 | + minOccurs="0" maxOccurs="unbounded"> | ||
2831 | 2554 | + <xsd:annotation> | ||
2832 | 2555 | + <xsd:documentation> | ||
2833 | 2556 | + | ||
2834 | 2557 | + Defines the QName of a SOAP header that will be processed | ||
2835 | 2558 | + by the handler. | ||
2836 | 2559 | + | ||
2837 | 2560 | + </xsd:documentation> | ||
2838 | 2561 | + </xsd:annotation> | ||
2839 | 2562 | + </xsd:element> | ||
2840 | 2563 | + | ||
2841 | 2564 | + <xsd:element name="soap-role" | ||
2842 | 2565 | + type="j2ee:string" | ||
2843 | 2566 | + minOccurs="0" maxOccurs="unbounded"> | ||
2844 | 2567 | + <xsd:annotation> | ||
2845 | 2568 | + <xsd:documentation> | ||
2846 | 2569 | + | ||
2847 | 2570 | + The soap-role element contains a SOAP actor definition that | ||
2848 | 2571 | + the Handler will play as a role. | ||
2849 | 2572 | + | ||
2850 | 2573 | + </xsd:documentation> | ||
2851 | 2574 | + </xsd:annotation> | ||
2852 | 2575 | + </xsd:element> | ||
2853 | 2576 | + | ||
2854 | 2577 | + <xsd:element name="port-name" | ||
2855 | 2578 | + type="j2ee:string" | ||
2856 | 2579 | + minOccurs="0" maxOccurs="unbounded"> | ||
2857 | 2580 | + <xsd:annotation> | ||
2858 | 2581 | + <xsd:documentation> | ||
2859 | 2582 | + | ||
2860 | 2583 | + The port-name element defines the WSDL port-name that a | ||
2861 | 2584 | + handler should be associated with. | ||
2862 | 2585 | + | ||
2863 | 2586 | + </xsd:documentation> | ||
2864 | 2587 | + </xsd:annotation> | ||
2865 | 2588 | + </xsd:element> | ||
2866 | 2589 | + </xsd:sequence> | ||
2867 | 2590 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
2868 | 2591 | + </xsd:complexType> | ||
2869 | 2592 | + | ||
2870 | 2593 | +</xsd:schema> | ||
2871 | 2594 | + | ||
2872 | 2595 | Index: jenkins-winstone/src/conf/javax/servlet/resources/javaee_5.xsd | ||
2873 | 2596 | =================================================================== | ||
2874 | 2597 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
2875 | 2598 | +++ jenkins-winstone/src/conf/javax/servlet/resources/javaee_5.xsd 2011-08-18 09:36:03.641501467 +0100 | ||
2876 | 2599 | @@ -0,0 +1,2102 @@ | ||
2877 | 2600 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2878 | 2601 | +<xsd:schema | ||
2879 | 2602 | + targetNamespace="http://java.sun.com/xml/ns/javaee" | ||
2880 | 2603 | + xmlns:javaee="http://java.sun.com/xml/ns/javaee" | ||
2881 | 2604 | + xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
2882 | 2605 | + elementFormDefault="qualified" | ||
2883 | 2606 | + attributeFormDefault="unqualified" | ||
2884 | 2607 | + version="5"> | ||
2885 | 2608 | + <xsd:annotation> | ||
2886 | 2609 | + <xsd:documentation> | ||
2887 | 2610 | + @(#)javaee_5.xsds 1.65 06/02/17 | ||
2888 | 2611 | + </xsd:documentation> | ||
2889 | 2612 | + </xsd:annotation> | ||
2890 | 2613 | + | ||
2891 | 2614 | + <xsd:annotation> | ||
2892 | 2615 | + <xsd:documentation> | ||
2893 | 2616 | + | ||
2894 | 2617 | + DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. | ||
2895 | 2618 | + | ||
2896 | 2619 | + Copyright 2003-2007 Sun Microsystems, Inc. All rights reserved. | ||
2897 | 2620 | + | ||
2898 | 2621 | + The contents of this file are subject to the terms of either the | ||
2899 | 2622 | + GNU General Public License Version 2 only ("GPL") or the Common | ||
2900 | 2623 | + Development and Distribution License("CDDL") (collectively, the | ||
2901 | 2624 | + "License"). You may not use this file except in compliance with | ||
2902 | 2625 | + the License. You can obtain a copy of the License at | ||
2903 | 2626 | + https://glassfish.dev.java.net/public/CDDL+GPL.html or | ||
2904 | 2627 | + glassfish/bootstrap/legal/LICENSE.txt. See the License for the | ||
2905 | 2628 | + specific language governing permissions and limitations under the | ||
2906 | 2629 | + License. | ||
2907 | 2630 | + | ||
2908 | 2631 | + When distributing the software, include this License Header | ||
2909 | 2632 | + Notice in each file and include the License file at | ||
2910 | 2633 | + glassfish/bootstrap/legal/LICENSE.txt. Sun designates this | ||
2911 | 2634 | + particular file as subject to the "Classpath" exception as | ||
2912 | 2635 | + provided by Sun in the GPL Version 2 section of the License file | ||
2913 | 2636 | + that accompanied this code. If applicable, add the following | ||
2914 | 2637 | + below the License Header, with the fields enclosed by brackets [] | ||
2915 | 2638 | + replaced by your own identifying information: | ||
2916 | 2639 | + "Portions Copyrighted [year] [name of copyright owner]" | ||
2917 | 2640 | + | ||
2918 | 2641 | + Contributor(s): | ||
2919 | 2642 | + | ||
2920 | 2643 | + If you wish your version of this file to be governed by only the | ||
2921 | 2644 | + CDDL or only the GPL Version 2, indicate your decision by adding | ||
2922 | 2645 | + "[Contributor] elects to include this software in this | ||
2923 | 2646 | + distribution under the [CDDL or GPL Version 2] license." If you | ||
2924 | 2647 | + don't indicate a single choice of license, a recipient has the | ||
2925 | 2648 | + option to distribute your version of this file under either the | ||
2926 | 2649 | + CDDL, the GPL Version 2 or to extend the choice of license to its | ||
2927 | 2650 | + licensees as provided above. However, if you add GPL Version 2 | ||
2928 | 2651 | + code and therefore, elected the GPL Version 2 license, then the | ||
2929 | 2652 | + option applies only if the new code is made subject to such | ||
2930 | 2653 | + option by the copyright holder. | ||
2931 | 2654 | + | ||
2932 | 2655 | + </xsd:documentation> | ||
2933 | 2656 | + </xsd:annotation> | ||
2934 | 2657 | + | ||
2935 | 2658 | +<xsd:annotation> | ||
2936 | 2659 | +<xsd:documentation> | ||
2937 | 2660 | + | ||
2938 | 2661 | +The following definitions that appear in the common | ||
2939 | 2662 | +shareable schema(s) of J2EE deployment descriptors should be | ||
2940 | 2663 | +interpreted with respect to the context they are included: | ||
2941 | 2664 | + | ||
2942 | 2665 | +Deployment Component may indicate one of the following: | ||
2943 | 2666 | + j2ee application; | ||
2944 | 2667 | + application client; | ||
2945 | 2668 | + web application; | ||
2946 | 2669 | + enterprise bean; | ||
2947 | 2670 | + resource adapter; | ||
2948 | 2671 | + | ||
2949 | 2672 | +Deployment File may indicate one of the following: | ||
2950 | 2673 | + ear file; | ||
2951 | 2674 | + war file; | ||
2952 | 2675 | + jar file; | ||
2953 | 2676 | + rar file; | ||
2954 | 2677 | + | ||
2955 | 2678 | +</xsd:documentation> | ||
2956 | 2679 | +</xsd:annotation> | ||
2957 | 2680 | + | ||
2958 | 2681 | + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" | ||
2959 | 2682 | + schemaLocation="http://www.w3.org/2001/xml.xsd"/> | ||
2960 | 2683 | + | ||
2961 | 2684 | + <xsd:include schemaLocation="javaee_web_services_client_1_2.xsd"/> | ||
2962 | 2685 | + | ||
2963 | 2686 | + | ||
2964 | 2687 | +<!-- **************************************************** --> | ||
2965 | 2688 | + | ||
2966 | 2689 | + <xsd:group name="descriptionGroup"> | ||
2967 | 2690 | + <xsd:annotation> | ||
2968 | 2691 | + <xsd:documentation> | ||
2969 | 2692 | + | ||
2970 | 2693 | + This group keeps the usage of the contained description related | ||
2971 | 2694 | + elements consistent across Java EE deployment descriptors. | ||
2972 | 2695 | + | ||
2973 | 2696 | + All elements may occur multiple times with different languages, | ||
2974 | 2697 | + to support localization of the content. | ||
2975 | 2698 | + | ||
2976 | 2699 | + </xsd:documentation> | ||
2977 | 2700 | + </xsd:annotation> | ||
2978 | 2701 | + <xsd:sequence> | ||
2979 | 2702 | + <xsd:element name="description" | ||
2980 | 2703 | + type="javaee:descriptionType" | ||
2981 | 2704 | + minOccurs="0" | ||
2982 | 2705 | + maxOccurs="unbounded"/> | ||
2983 | 2706 | + <xsd:element name="display-name" | ||
2984 | 2707 | + type="javaee:display-nameType" | ||
2985 | 2708 | + minOccurs="0" | ||
2986 | 2709 | + maxOccurs="unbounded"/> | ||
2987 | 2710 | + <xsd:element name="icon" | ||
2988 | 2711 | + type="javaee:iconType" | ||
2989 | 2712 | + minOccurs="0" | ||
2990 | 2713 | + maxOccurs="unbounded"/> | ||
2991 | 2714 | + </xsd:sequence> | ||
2992 | 2715 | + </xsd:group> | ||
2993 | 2716 | + | ||
2994 | 2717 | +<!-- **************************************************** --> | ||
2995 | 2718 | + | ||
2996 | 2719 | + <xsd:complexType name="descriptionType"> | ||
2997 | 2720 | + <xsd:annotation> | ||
2998 | 2721 | + <xsd:documentation> | ||
2999 | 2722 | + | ||
3000 | 2723 | + The description type is used by a description element to | ||
3001 | 2724 | + provide text describing the parent element. The elements | ||
3002 | 2725 | + that use this type should include any information that the | ||
3003 | 2726 | + Deployment Component's Deployment File file producer wants | ||
3004 | 2727 | + to provide to the consumer of the Deployment Component's | ||
3005 | 2728 | + Deployment File (i.e., to the Deployer). Typically, the | ||
3006 | 2729 | + tools used by such a Deployment File consumer will display | ||
3007 | 2730 | + the description when processing the parent element that | ||
3008 | 2731 | + contains the description. | ||
3009 | 2732 | + | ||
3010 | 2733 | + The lang attribute defines the language that the | ||
3011 | 2734 | + description is provided in. The default value is "en" (English). | ||
3012 | 2735 | + | ||
3013 | 2736 | + </xsd:documentation> | ||
3014 | 2737 | + </xsd:annotation> | ||
3015 | 2738 | + <xsd:simpleContent> | ||
3016 | 2739 | + <xsd:extension base="javaee:xsdStringType"> | ||
3017 | 2740 | + <xsd:attribute ref="xml:lang"/> | ||
3018 | 2741 | + </xsd:extension> | ||
3019 | 2742 | + </xsd:simpleContent> | ||
3020 | 2743 | + </xsd:complexType> | ||
3021 | 2744 | + | ||
3022 | 2745 | +<!-- **************************************************** --> | ||
3023 | 2746 | + | ||
3024 | 2747 | + <xsd:simpleType name="dewey-versionType"> | ||
3025 | 2748 | + <xsd:annotation> | ||
3026 | 2749 | + <xsd:documentation> | ||
3027 | 2750 | + | ||
3028 | 2751 | + This type defines a dewey decimal that is used | ||
3029 | 2752 | + to describe versions of documents. | ||
3030 | 2753 | + | ||
3031 | 2754 | + </xsd:documentation> | ||
3032 | 2755 | + </xsd:annotation> | ||
3033 | 2756 | + | ||
3034 | 2757 | + <xsd:restriction base="xsd:token"> | ||
3035 | 2758 | + <xsd:pattern value="\.?[0-9]+(\.[0-9]+)*"/> | ||
3036 | 2759 | + </xsd:restriction> | ||
3037 | 2760 | + </xsd:simpleType> | ||
3038 | 2761 | + | ||
3039 | 2762 | +<!-- **************************************************** --> | ||
3040 | 2763 | + | ||
3041 | 2764 | + <xsd:complexType name="display-nameType"> | ||
3042 | 2765 | + <xsd:annotation> | ||
3043 | 2766 | + <xsd:documentation> | ||
3044 | 2767 | + <![CDATA[ | ||
3045 | 2768 | + | ||
3046 | 2769 | + The display-name type contains a short name that is intended | ||
3047 | 2770 | + to be displayed by tools. It is used by display-name | ||
3048 | 2771 | + elements. The display name need not be unique. | ||
3049 | 2772 | + | ||
3050 | 2773 | + Example: | ||
3051 | 2774 | + | ||
3052 | 2775 | + ... | ||
3053 | 2776 | + <display-name xml:lang="en"> | ||
3054 | 2777 | + Employee Self Service | ||
3055 | 2778 | + </display-name> | ||
3056 | 2779 | + | ||
3057 | 2780 | + The value of the xml:lang attribute is "en" (English) by default. | ||
3058 | 2781 | + | ||
3059 | 2782 | + ]]> | ||
3060 | 2783 | + </xsd:documentation> | ||
3061 | 2784 | + </xsd:annotation> | ||
3062 | 2785 | + <xsd:simpleContent> | ||
3063 | 2786 | + <xsd:extension base="javaee:string"> | ||
3064 | 2787 | + <xsd:attribute ref="xml:lang"/> | ||
3065 | 2788 | + </xsd:extension> | ||
3066 | 2789 | + </xsd:simpleContent> | ||
3067 | 2790 | + </xsd:complexType> | ||
3068 | 2791 | + | ||
3069 | 2792 | +<!-- **************************************************** --> | ||
3070 | 2793 | + | ||
3071 | 2794 | + <xsd:complexType name="ejb-linkType"> | ||
3072 | 2795 | + <xsd:annotation> | ||
3073 | 2796 | + <xsd:documentation> | ||
3074 | 2797 | + <![CDATA[ | ||
3075 | 2798 | + | ||
3076 | 2799 | + The ejb-linkType is used by ejb-link | ||
3077 | 2800 | + elements in the ejb-ref or ejb-local-ref elements to specify | ||
3078 | 2801 | + that an EJB reference is linked to enterprise bean. | ||
3079 | 2802 | + | ||
3080 | 2803 | + The value of the ejb-link element must be the ejb-name of an | ||
3081 | 2804 | + enterprise bean in the same ejb-jar file or in another ejb-jar | ||
3082 | 2805 | + file in the same Java EE application unit. | ||
3083 | 2806 | + | ||
3084 | 2807 | + Alternatively, the name in the ejb-link element may be | ||
3085 | 2808 | + composed of a path name specifying the ejb-jar containing the | ||
3086 | 2809 | + referenced enterprise bean with the ejb-name of the target | ||
3087 | 2810 | + bean appended and separated from the path name by "#". The | ||
3088 | 2811 | + path name is relative to the Deployment File containing | ||
3089 | 2812 | + Deployment Component that is referencing the enterprise | ||
3090 | 2813 | + bean. This allows multiple enterprise beans with the same | ||
3091 | 2814 | + ejb-name to be uniquely identified. | ||
3092 | 2815 | + | ||
3093 | 2816 | + Examples: | ||
3094 | 2817 | + | ||
3095 | 2818 | + <ejb-link>EmployeeRecord</ejb-link> | ||
3096 | 2819 | + | ||
3097 | 2820 | + <ejb-link>../products/product.jar#ProductEJB</ejb-link> | ||
3098 | 2821 | + | ||
3099 | 2822 | + ]]> | ||
3100 | 2823 | + </xsd:documentation> | ||
3101 | 2824 | + </xsd:annotation> | ||
3102 | 2825 | + <xsd:simpleContent> | ||
3103 | 2826 | + <xsd:restriction base="javaee:string"/> | ||
3104 | 2827 | + </xsd:simpleContent> | ||
3105 | 2828 | + </xsd:complexType> | ||
3106 | 2829 | + | ||
3107 | 2830 | +<!-- **************************************************** --> | ||
3108 | 2831 | + | ||
3109 | 2832 | + <xsd:complexType name="ejb-local-refType"> | ||
3110 | 2833 | + <xsd:annotation> | ||
3111 | 2834 | + <xsd:documentation> | ||
3112 | 2835 | + | ||
3113 | 2836 | + The ejb-local-refType is used by ejb-local-ref elements for | ||
3114 | 2837 | + the declaration of a reference to an enterprise bean's local | ||
3115 | 2838 | + home or to the local business interface of a 3.0 bean. | ||
3116 | 2839 | + The declaration consists of: | ||
3117 | 2840 | + | ||
3118 | 2841 | + - an optional description | ||
3119 | 2842 | + - the EJB reference name used in the code of the Deployment | ||
3120 | 2843 | + Component that's referencing the enterprise bean. | ||
3121 | 2844 | + - the optional expected type of the referenced enterprise bean | ||
3122 | 2845 | + - the optional expected local interface of the referenced | ||
3123 | 2846 | + enterprise bean or the local business interface of the | ||
3124 | 2847 | + referenced enterprise bean. | ||
3125 | 2848 | + - the optional expected local home interface of the referenced | ||
3126 | 2849 | + enterprise bean. Not applicable if this ejb-local-ref refers | ||
3127 | 2850 | + to the local business interface of a 3.0 bean. | ||
3128 | 2851 | + - optional ejb-link information, used to specify the | ||
3129 | 2852 | + referenced enterprise bean | ||
3130 | 2853 | + - optional elements to define injection of the named enterprise | ||
3131 | 2854 | + bean into a component field or property. | ||
3132 | 2855 | + | ||
3133 | 2856 | + </xsd:documentation> | ||
3134 | 2857 | + </xsd:annotation> | ||
3135 | 2858 | + | ||
3136 | 2859 | + <xsd:sequence> | ||
3137 | 2860 | + <xsd:element name="description" | ||
3138 | 2861 | + type="javaee:descriptionType" | ||
3139 | 2862 | + minOccurs="0" | ||
3140 | 2863 | + maxOccurs="unbounded"/> | ||
3141 | 2864 | + <xsd:element name="ejb-ref-name" | ||
3142 | 2865 | + type="javaee:ejb-ref-nameType"/> | ||
3143 | 2866 | + <xsd:element name="ejb-ref-type" | ||
3144 | 2867 | + type="javaee:ejb-ref-typeType" | ||
3145 | 2868 | + minOccurs="0"/> | ||
3146 | 2869 | + <xsd:element name="local-home" | ||
3147 | 2870 | + type="javaee:local-homeType" | ||
3148 | 2871 | + minOccurs="0"/> | ||
3149 | 2872 | + <xsd:element name="local" | ||
3150 | 2873 | + type="javaee:localType" | ||
3151 | 2874 | + minOccurs="0"/> | ||
3152 | 2875 | + <xsd:element name="ejb-link" | ||
3153 | 2876 | + type="javaee:ejb-linkType" | ||
3154 | 2877 | + minOccurs="0"/> | ||
3155 | 2878 | + <xsd:group ref="javaee:resourceGroup"/> | ||
3156 | 2879 | + </xsd:sequence> | ||
3157 | 2880 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
3158 | 2881 | + </xsd:complexType> | ||
3159 | 2882 | + | ||
3160 | 2883 | +<!-- **************************************************** --> | ||
3161 | 2884 | + | ||
3162 | 2885 | + <xsd:complexType name="ejb-ref-nameType"> | ||
3163 | 2886 | + <xsd:annotation> | ||
3164 | 2887 | + <xsd:documentation> | ||
3165 | 2888 | + <![CDATA[ | ||
3166 | 2889 | + | ||
3167 | 2890 | + The ejb-ref-name element contains the name of an EJB | ||
3168 | 2891 | + reference. The EJB reference is an entry in the | ||
3169 | 2892 | + Deployment Component's environment and is relative to the | ||
3170 | 2893 | + java:comp/env context. The name must be unique within the | ||
3171 | 2894 | + Deployment Component. | ||
3172 | 2895 | + | ||
3173 | 2896 | + It is recommended that name is prefixed with "ejb/". | ||
3174 | 2897 | + | ||
3175 | 2898 | + Example: | ||
3176 | 2899 | + | ||
3177 | 2900 | + <ejb-ref-name>ejb/Payroll</ejb-ref-name> | ||
3178 | 2901 | + | ||
3179 | 2902 | + ]]> | ||
3180 | 2903 | + </xsd:documentation> | ||
3181 | 2904 | + </xsd:annotation> | ||
3182 | 2905 | + <xsd:simpleContent> | ||
3183 | 2906 | + <xsd:restriction base="javaee:jndi-nameType"/> | ||
3184 | 2907 | + </xsd:simpleContent> | ||
3185 | 2908 | + </xsd:complexType> | ||
3186 | 2909 | + | ||
3187 | 2910 | +<!-- **************************************************** --> | ||
3188 | 2911 | + | ||
3189 | 2912 | + <xsd:complexType name="ejb-ref-typeType"> | ||
3190 | 2913 | + <xsd:annotation> | ||
3191 | 2914 | + <xsd:documentation> | ||
3192 | 2915 | + | ||
3193 | 2916 | + The ejb-ref-typeType contains the expected type of the | ||
3194 | 2917 | + referenced enterprise bean. | ||
3195 | 2918 | + | ||
3196 | 2919 | + The ejb-ref-type designates a value | ||
3197 | 2920 | + that must be one of the following: | ||
3198 | 2921 | + | ||
3199 | 2922 | + Entity | ||
3200 | 2923 | + Session | ||
3201 | 2924 | + | ||
3202 | 2925 | + </xsd:documentation> | ||
3203 | 2926 | + </xsd:annotation> | ||
3204 | 2927 | + <xsd:simpleContent> | ||
3205 | 2928 | + <xsd:restriction base="javaee:string"> | ||
3206 | 2929 | + <xsd:enumeration value="Entity"/> | ||
3207 | 2930 | + <xsd:enumeration value="Session"/> | ||
3208 | 2931 | + </xsd:restriction> | ||
3209 | 2932 | + </xsd:simpleContent> | ||
3210 | 2933 | + </xsd:complexType> | ||
3211 | 2934 | + | ||
3212 | 2935 | +<!-- **************************************************** --> | ||
3213 | 2936 | + | ||
3214 | 2937 | + <xsd:complexType name="ejb-refType"> | ||
3215 | 2938 | + <xsd:annotation> | ||
3216 | 2939 | + <xsd:documentation> | ||
3217 | 2940 | + | ||
3218 | 2941 | + The ejb-refType is used by ejb-ref elements for the | ||
3219 | 2942 | + declaration of a reference to an enterprise bean's home or | ||
3220 | 2943 | + to the remote business interface of a 3.0 bean. | ||
3221 | 2944 | + The declaration consists of: | ||
3222 | 2945 | + | ||
3223 | 2946 | + - an optional description | ||
3224 | 2947 | + - the EJB reference name used in the code of | ||
3225 | 2948 | + the Deployment Component that's referencing the enterprise | ||
3226 | 2949 | + bean. | ||
3227 | 2950 | + - the optional expected type of the referenced enterprise bean | ||
3228 | 2951 | + - the optional remote interface of the referenced enterprise bean | ||
3229 | 2952 | + or the remote business interface of the referenced enterprise | ||
3230 | 2953 | + bean | ||
3231 | 2954 | + - the optional expected home interface of the referenced | ||
3232 | 2955 | + enterprise bean. Not applicable if this ejb-ref | ||
3233 | 2956 | + refers to the remote business interface of a 3.0 bean. | ||
3234 | 2957 | + - optional ejb-link information, used to specify the | ||
3235 | 2958 | + referenced enterprise bean | ||
3236 | 2959 | + - optional elements to define injection of the named enterprise | ||
3237 | 2960 | + bean into a component field or property | ||
3238 | 2961 | + | ||
3239 | 2962 | + </xsd:documentation> | ||
3240 | 2963 | + </xsd:annotation> | ||
3241 | 2964 | + | ||
3242 | 2965 | + <xsd:sequence> | ||
3243 | 2966 | + <xsd:element name="description" | ||
3244 | 2967 | + type="javaee:descriptionType" | ||
3245 | 2968 | + minOccurs="0" | ||
3246 | 2969 | + maxOccurs="unbounded"/> | ||
3247 | 2970 | + <xsd:element name="ejb-ref-name" | ||
3248 | 2971 | + type="javaee:ejb-ref-nameType"/> | ||
3249 | 2972 | + <xsd:element name="ejb-ref-type" | ||
3250 | 2973 | + type="javaee:ejb-ref-typeType" | ||
3251 | 2974 | + minOccurs="0"/> | ||
3252 | 2975 | + <xsd:element name="home" | ||
3253 | 2976 | + type="javaee:homeType" | ||
3254 | 2977 | + minOccurs="0"/> | ||
3255 | 2978 | + <xsd:element name="remote" | ||
3256 | 2979 | + type="javaee:remoteType" | ||
3257 | 2980 | + minOccurs="0"/> | ||
3258 | 2981 | + <xsd:element name="ejb-link" | ||
3259 | 2982 | + type="javaee:ejb-linkType" | ||
3260 | 2983 | + minOccurs="0"/> | ||
3261 | 2984 | + <xsd:group ref="javaee:resourceGroup"/> | ||
3262 | 2985 | + </xsd:sequence> | ||
3263 | 2986 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
3264 | 2987 | + </xsd:complexType> | ||
3265 | 2988 | + | ||
3266 | 2989 | +<!-- **************************************************** --> | ||
3267 | 2990 | + | ||
3268 | 2991 | + <xsd:complexType name="emptyType"> | ||
3269 | 2992 | + <xsd:annotation> | ||
3270 | 2993 | + <xsd:documentation> | ||
3271 | 2994 | + | ||
3272 | 2995 | + This type is used to designate an empty | ||
3273 | 2996 | + element when used. | ||
3274 | 2997 | + | ||
3275 | 2998 | + </xsd:documentation> | ||
3276 | 2999 | + </xsd:annotation> | ||
3277 | 3000 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
3278 | 3001 | + </xsd:complexType> | ||
3279 | 3002 | + | ||
3280 | 3003 | +<!-- **************************************************** --> | ||
3281 | 3004 | + | ||
3282 | 3005 | + <xsd:complexType name="env-entry-type-valuesType"> | ||
3283 | 3006 | + <xsd:annotation> | ||
3284 | 3007 | + <xsd:documentation> | ||
3285 | 3008 | + <![CDATA[ | ||
3286 | 3009 | + | ||
3287 | 3010 | + This type contains the fully-qualified Java type of the | ||
3288 | 3011 | + environment entry value that is expected by the | ||
3289 | 3012 | + application's code. | ||
3290 | 3013 | + | ||
3291 | 3014 | + The following are the legal values of env-entry-type-valuesType: | ||
3292 | 3015 | + | ||
3293 | 3016 | + java.lang.Boolean | ||
3294 | 3017 | + java.lang.Byte | ||
3295 | 3018 | + java.lang.Character | ||
3296 | 3019 | + java.lang.String | ||
3297 | 3020 | + java.lang.Short | ||
3298 | 3021 | + java.lang.Integer | ||
3299 | 3022 | + java.lang.Long | ||
3300 | 3023 | + java.lang.Float | ||
3301 | 3024 | + java.lang.Double | ||
3302 | 3025 | + | ||
3303 | 3026 | + Example: | ||
3304 | 3027 | + | ||
3305 | 3028 | + <env-entry-type>java.lang.Boolean</env-entry-type> | ||
3306 | 3029 | + | ||
3307 | 3030 | + ]]> | ||
3308 | 3031 | + </xsd:documentation> | ||
3309 | 3032 | + </xsd:annotation> | ||
3310 | 3033 | + <xsd:simpleContent> | ||
3311 | 3034 | + <xsd:restriction base="javaee:string"> | ||
3312 | 3035 | + <xsd:enumeration value="java.lang.Boolean"/> | ||
3313 | 3036 | + <xsd:enumeration value="java.lang.Byte"/> | ||
3314 | 3037 | + <xsd:enumeration value="java.lang.Character"/> | ||
3315 | 3038 | + <xsd:enumeration value="java.lang.String"/> | ||
3316 | 3039 | + <xsd:enumeration value="java.lang.Short"/> | ||
3317 | 3040 | + <xsd:enumeration value="java.lang.Integer"/> | ||
3318 | 3041 | + <xsd:enumeration value="java.lang.Long"/> | ||
3319 | 3042 | + <xsd:enumeration value="java.lang.Float"/> | ||
3320 | 3043 | + <xsd:enumeration value="java.lang.Double"/> | ||
3321 | 3044 | + </xsd:restriction> | ||
3322 | 3045 | + </xsd:simpleContent> | ||
3323 | 3046 | + </xsd:complexType> | ||
3324 | 3047 | + | ||
3325 | 3048 | +<!-- **************************************************** --> | ||
3326 | 3049 | + | ||
3327 | 3050 | + <xsd:complexType name="env-entryType"> | ||
3328 | 3051 | + <xsd:annotation> | ||
3329 | 3052 | + <xsd:documentation> | ||
3330 | 3053 | + | ||
3331 | 3054 | + The env-entryType is used to declare an application's | ||
3332 | 3055 | + environment entry. The declaration consists of an optional | ||
3333 | 3056 | + description, the name of the environment entry, a type | ||
3334 | 3057 | + (optional if the value is injected, otherwise required), and | ||
3335 | 3058 | + an optional value. | ||
3336 | 3059 | + | ||
3337 | 3060 | + It also includes optional elements to define injection of | ||
3338 | 3061 | + the named resource into fields or JavaBeans properties. | ||
3339 | 3062 | + | ||
3340 | 3063 | + If a value is not specified and injection is requested, | ||
3341 | 3064 | + no injection will occur and no entry of the specified name | ||
3342 | 3065 | + will be created. This allows an initial value to be | ||
3343 | 3066 | + specified in the source code without being incorrectly | ||
3344 | 3067 | + changed when no override has been specified. | ||
3345 | 3068 | + | ||
3346 | 3069 | + If a value is not specified and no injection is requested, | ||
3347 | 3070 | + a value must be supplied during deployment. | ||
3348 | 3071 | + | ||
3349 | 3072 | + This type is used by env-entry elements. | ||
3350 | 3073 | + | ||
3351 | 3074 | + </xsd:documentation> | ||
3352 | 3075 | + </xsd:annotation> | ||
3353 | 3076 | + | ||
3354 | 3077 | + <xsd:sequence> | ||
3355 | 3078 | + <xsd:element name="description" | ||
3356 | 3079 | + type="javaee:descriptionType" | ||
3357 | 3080 | + minOccurs="0" | ||
3358 | 3081 | + maxOccurs="unbounded"/> | ||
3359 | 3082 | + <xsd:element name="env-entry-name" | ||
3360 | 3083 | + type="javaee:jndi-nameType"> | ||
3361 | 3084 | + <xsd:annotation> | ||
3362 | 3085 | + <xsd:documentation> | ||
3363 | 3086 | + <![CDATA[ | ||
3364 | 3087 | + | ||
3365 | 3088 | + The env-entry-name element contains the name of a | ||
3366 | 3089 | + Deployment Component's environment entry. The name | ||
3367 | 3090 | + is a JNDI name relative to the java:comp/env | ||
3368 | 3091 | + context. The name must be unique within a | ||
3369 | 3092 | + Deployment Component. The uniqueness | ||
3370 | 3093 | + constraints must be defined within the declared | ||
3371 | 3094 | + context. | ||
3372 | 3095 | + | ||
3373 | 3096 | + Example: | ||
3374 | 3097 | + | ||
3375 | 3098 | + <env-entry-name>minAmount</env-entry-name> | ||
3376 | 3099 | + | ||
3377 | 3100 | + ]]> | ||
3378 | 3101 | + </xsd:documentation> | ||
3379 | 3102 | + </xsd:annotation> | ||
3380 | 3103 | + </xsd:element> | ||
3381 | 3104 | + | ||
3382 | 3105 | + <xsd:element name="env-entry-type" | ||
3383 | 3106 | + type="javaee:env-entry-type-valuesType" | ||
3384 | 3107 | + minOccurs="0"> | ||
3385 | 3108 | + <xsd:annotation> | ||
3386 | 3109 | + <xsd:documentation> | ||
3387 | 3110 | + <![CDATA[ | ||
3388 | 3111 | + | ||
3389 | 3112 | + The env-entry-type element contains the Java language | ||
3390 | 3113 | + type of the environment entry. If an injection target | ||
3391 | 3114 | + is specified for the environment entry, the type may | ||
3392 | 3115 | + be omitted, or must match the type of the injection | ||
3393 | 3116 | + target. If no injection target is specified, the type | ||
3394 | 3117 | + is required. | ||
3395 | 3118 | + | ||
3396 | 3119 | + Example: | ||
3397 | 3120 | + | ||
3398 | 3121 | + <env-entry-type>java.lang.Integer</env-entry-type> | ||
3399 | 3122 | + | ||
3400 | 3123 | + ]]> | ||
3401 | 3124 | + </xsd:documentation> | ||
3402 | 3125 | + </xsd:annotation> | ||
3403 | 3126 | + </xsd:element> | ||
3404 | 3127 | + | ||
3405 | 3128 | + <xsd:element name="env-entry-value" | ||
3406 | 3129 | + type="javaee:xsdStringType" | ||
3407 | 3130 | + minOccurs="0"> | ||
3408 | 3131 | + <xsd:annotation> | ||
3409 | 3132 | + <xsd:documentation> | ||
3410 | 3133 | + <![CDATA[ | ||
3411 | 3134 | + | ||
3412 | 3135 | + The env-entry-value designates the value of a | ||
3413 | 3136 | + Deployment Component's environment entry. The value | ||
3414 | 3137 | + must be a String that is valid for the | ||
3415 | 3138 | + constructor of the specified type that takes a | ||
3416 | 3139 | + single String parameter, or for java.lang.Character, | ||
3417 | 3140 | + a single character. | ||
3418 | 3141 | + | ||
3419 | 3142 | + Example: | ||
3420 | 3143 | + | ||
3421 | 3144 | + <env-entry-value>100.00</env-entry-value> | ||
3422 | 3145 | + | ||
3423 | 3146 | + ]]> | ||
3424 | 3147 | + </xsd:documentation> | ||
3425 | 3148 | + </xsd:annotation> | ||
3426 | 3149 | + </xsd:element> | ||
3427 | 3150 | + | ||
3428 | 3151 | + <xsd:group ref="javaee:resourceGroup"/> | ||
3429 | 3152 | + | ||
3430 | 3153 | + </xsd:sequence> | ||
3431 | 3154 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
3432 | 3155 | + </xsd:complexType> | ||
3433 | 3156 | + | ||
3434 | 3157 | +<!-- **************************************************** --> | ||
3435 | 3158 | + | ||
3436 | 3159 | + <xsd:complexType name="fully-qualified-classType"> | ||
3437 | 3160 | + <xsd:annotation> | ||
3438 | 3161 | + <xsd:documentation> | ||
3439 | 3162 | + | ||
3440 | 3163 | + The elements that use this type designate the name of a | ||
3441 | 3164 | + Java class or interface. The name is in the form of a | ||
3442 | 3165 | + "binary name", as defined in the JLS. This is the form | ||
3443 | 3166 | + of name used in Class.forName(). Tools that need the | ||
3444 | 3167 | + canonical name (the name used in source code) will need | ||
3445 | 3168 | + to convert this binary name to the canonical name. | ||
3446 | 3169 | + | ||
3447 | 3170 | + </xsd:documentation> | ||
3448 | 3171 | + </xsd:annotation> | ||
3449 | 3172 | + <xsd:simpleContent> | ||
3450 | 3173 | + <xsd:restriction base="javaee:string"/> | ||
3451 | 3174 | + </xsd:simpleContent> | ||
3452 | 3175 | + </xsd:complexType> | ||
3453 | 3176 | + | ||
3454 | 3177 | +<!-- **************************************************** --> | ||
3455 | 3178 | + | ||
3456 | 3179 | + <xsd:complexType name="generic-booleanType"> | ||
3457 | 3180 | + <xsd:annotation> | ||
3458 | 3181 | + <xsd:documentation> | ||
3459 | 3182 | + | ||
3460 | 3183 | + This type defines four different values which can designate | ||
3461 | 3184 | + boolean values. This includes values yes and no which are | ||
3462 | 3185 | + not designated by xsd:boolean | ||
3463 | 3186 | + | ||
3464 | 3187 | + </xsd:documentation> | ||
3465 | 3188 | + </xsd:annotation> | ||
3466 | 3189 | + <xsd:simpleContent> | ||
3467 | 3190 | + <xsd:restriction base="javaee:string"> | ||
3468 | 3191 | + <xsd:enumeration value="true"/> | ||
3469 | 3192 | + <xsd:enumeration value="false"/> | ||
3470 | 3193 | + <xsd:enumeration value="yes"/> | ||
3471 | 3194 | + <xsd:enumeration value="no"/> | ||
3472 | 3195 | + </xsd:restriction> | ||
3473 | 3196 | + </xsd:simpleContent> | ||
3474 | 3197 | + </xsd:complexType> | ||
3475 | 3198 | + | ||
3476 | 3199 | +<!-- **************************************************** --> | ||
3477 | 3200 | + | ||
3478 | 3201 | + <xsd:complexType name="homeType"> | ||
3479 | 3202 | + <xsd:annotation> | ||
3480 | 3203 | + <xsd:documentation> | ||
3481 | 3204 | + <![CDATA[ | ||
3482 | 3205 | + | ||
3483 | 3206 | + The homeType defines the fully-qualified name of | ||
3484 | 3207 | + an enterprise bean's home interface. | ||
3485 | 3208 | + | ||
3486 | 3209 | + Example: | ||
3487 | 3210 | + | ||
3488 | 3211 | + <home>com.aardvark.payroll.PayrollHome</home> | ||
3489 | 3212 | + | ||
3490 | 3213 | + ]]> | ||
3491 | 3214 | + </xsd:documentation> | ||
3492 | 3215 | + </xsd:annotation> | ||
3493 | 3216 | + <xsd:simpleContent> | ||
3494 | 3217 | + <xsd:restriction base="javaee:fully-qualified-classType"/> | ||
3495 | 3218 | + </xsd:simpleContent> | ||
3496 | 3219 | + </xsd:complexType> | ||
3497 | 3220 | + | ||
3498 | 3221 | +<!-- **************************************************** --> | ||
3499 | 3222 | + | ||
3500 | 3223 | + <xsd:complexType name="iconType"> | ||
3501 | 3224 | + <xsd:annotation> | ||
3502 | 3225 | + <xsd:documentation> | ||
3503 | 3226 | + | ||
3504 | 3227 | + The icon type contains small-icon and large-icon elements | ||
3505 | 3228 | + that specify the file names for small and large GIF, JPEG, | ||
3506 | 3229 | + or PNG icon images used to represent the parent element in a | ||
3507 | 3230 | + GUI tool. | ||
3508 | 3231 | + | ||
3509 | 3232 | + The xml:lang attribute defines the language that the | ||
3510 | 3233 | + icon file names are provided in. Its value is "en" (English) | ||
3511 | 3234 | + by default. | ||
3512 | 3235 | + | ||
3513 | 3236 | + </xsd:documentation> | ||
3514 | 3237 | + </xsd:annotation> | ||
3515 | 3238 | + | ||
3516 | 3239 | + <xsd:sequence> | ||
3517 | 3240 | + <xsd:element name="small-icon" type="javaee:pathType" | ||
3518 | 3241 | + minOccurs="0"> | ||
3519 | 3242 | + <xsd:annotation> | ||
3520 | 3243 | + <xsd:documentation> | ||
3521 | 3244 | + <![CDATA[ | ||
3522 | 3245 | + | ||
3523 | 3246 | + The small-icon element contains the name of a file | ||
3524 | 3247 | + containing a small (16 x 16) icon image. The file | ||
3525 | 3248 | + name is a relative path within the Deployment | ||
3526 | 3249 | + Component's Deployment File. | ||
3527 | 3250 | + | ||
3528 | 3251 | + The image may be in the GIF, JPEG, or PNG format. | ||
3529 | 3252 | + The icon can be used by tools. | ||
3530 | 3253 | + | ||
3531 | 3254 | + Example: | ||
3532 | 3255 | + | ||
3533 | 3256 | + <small-icon>employee-service-icon16x16.jpg</small-icon> | ||
3534 | 3257 | + | ||
3535 | 3258 | + ]]> | ||
3536 | 3259 | + </xsd:documentation> | ||
3537 | 3260 | + </xsd:annotation> | ||
3538 | 3261 | + </xsd:element> | ||
3539 | 3262 | + <xsd:element name="large-icon" type="javaee:pathType" | ||
3540 | 3263 | + minOccurs="0"> | ||
3541 | 3264 | + <xsd:annotation> | ||
3542 | 3265 | + <xsd:documentation> | ||
3543 | 3266 | + <![CDATA[ | ||
3544 | 3267 | + | ||
3545 | 3268 | + The large-icon element contains the name of a file | ||
3546 | 3269 | + containing a large | ||
3547 | 3270 | + (32 x 32) icon image. The file name is a relative | ||
3548 | 3271 | + path within the Deployment Component's Deployment | ||
3549 | 3272 | + File. | ||
3550 | 3273 | + | ||
3551 | 3274 | + The image may be in the GIF, JPEG, or PNG format. | ||
3552 | 3275 | + The icon can be used by tools. | ||
3553 | 3276 | + | ||
3554 | 3277 | + Example: | ||
3555 | 3278 | + | ||
3556 | 3279 | + <large-icon>employee-service-icon32x32.jpg</large-icon> | ||
3557 | 3280 | + | ||
3558 | 3281 | + ]]> | ||
3559 | 3282 | + </xsd:documentation> | ||
3560 | 3283 | + </xsd:annotation> | ||
3561 | 3284 | + </xsd:element> | ||
3562 | 3285 | + | ||
3563 | 3286 | + </xsd:sequence> | ||
3564 | 3287 | + | ||
3565 | 3288 | + <xsd:attribute ref="xml:lang"/> | ||
3566 | 3289 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
3567 | 3290 | + | ||
3568 | 3291 | + </xsd:complexType> | ||
3569 | 3292 | + | ||
3570 | 3293 | +<!-- **************************************************** --> | ||
3571 | 3294 | + | ||
3572 | 3295 | + <xsd:complexType name="injection-targetType"> | ||
3573 | 3296 | + <xsd:annotation> | ||
3574 | 3297 | + <xsd:documentation> | ||
3575 | 3298 | + | ||
3576 | 3299 | + An injection target specifies a class and a name within | ||
3577 | 3300 | + that class into which a resource should be injected. | ||
3578 | 3301 | + | ||
3579 | 3302 | + The injection target class specifies the fully qualified | ||
3580 | 3303 | + class name that is the target of the injection. The | ||
3581 | 3304 | + Java EE specifications describe which classes can be an | ||
3582 | 3305 | + injection target. | ||
3583 | 3306 | + | ||
3584 | 3307 | + The injection target name specifies the target within | ||
3585 | 3308 | + the specified class. The target is first looked for as a | ||
3586 | 3309 | + JavaBeans property name. If not found, the target is | ||
3587 | 3310 | + looked for as a field name. | ||
3588 | 3311 | + | ||
3589 | 3312 | + The specified resource will be injected into the target | ||
3590 | 3313 | + during initialization of the class by either calling the | ||
3591 | 3314 | + set method for the target property or by setting a value | ||
3592 | 3315 | + into the named field. | ||
3593 | 3316 | + | ||
3594 | 3317 | + </xsd:documentation> | ||
3595 | 3318 | + </xsd:annotation> | ||
3596 | 3319 | + <xsd:sequence> | ||
3597 | 3320 | + <xsd:element name="injection-target-class" | ||
3598 | 3321 | + type="javaee:fully-qualified-classType"/> | ||
3599 | 3322 | + <xsd:element name="injection-target-name" | ||
3600 | 3323 | + type="javaee:java-identifierType"/> | ||
3601 | 3324 | + </xsd:sequence> | ||
3602 | 3325 | + </xsd:complexType> | ||
3603 | 3326 | + | ||
3604 | 3327 | +<!-- **************************************************** --> | ||
3605 | 3328 | + | ||
3606 | 3329 | + <xsd:complexType name="java-identifierType"> | ||
3607 | 3330 | + <xsd:annotation> | ||
3608 | 3331 | + <xsd:documentation> | ||
3609 | 3332 | + | ||
3610 | 3333 | + The java-identifierType defines a Java identifier. | ||
3611 | 3334 | + The users of this type should further verify that | ||
3612 | 3335 | + the content does not contain Java reserved keywords. | ||
3613 | 3336 | + | ||
3614 | 3337 | + </xsd:documentation> | ||
3615 | 3338 | + </xsd:annotation> | ||
3616 | 3339 | + <xsd:simpleContent> | ||
3617 | 3340 | + <xsd:restriction base="javaee:string"> | ||
3618 | 3341 | + <xsd:pattern value="($|_|\p{L})(\p{L}|\p{Nd}|_|$)*"/> | ||
3619 | 3342 | + </xsd:restriction> | ||
3620 | 3343 | + </xsd:simpleContent> | ||
3621 | 3344 | + </xsd:complexType> | ||
3622 | 3345 | + | ||
3623 | 3346 | +<!-- **************************************************** --> | ||
3624 | 3347 | + | ||
3625 | 3348 | + <xsd:complexType name="java-typeType"> | ||
3626 | 3349 | + <xsd:annotation> | ||
3627 | 3350 | + <xsd:documentation> | ||
3628 | 3351 | + | ||
3629 | 3352 | + This is a generic type that designates a Java primitive | ||
3630 | 3353 | + type or a fully qualified name of a Java interface/type, | ||
3631 | 3354 | + or an array of such types. | ||
3632 | 3355 | + | ||
3633 | 3356 | + </xsd:documentation> | ||
3634 | 3357 | + </xsd:annotation> | ||
3635 | 3358 | + <xsd:simpleContent> | ||
3636 | 3359 | + <xsd:restriction base="javaee:string"> | ||
3637 | 3360 | + <xsd:pattern value="[^\p{Z}]*"/> | ||
3638 | 3361 | + </xsd:restriction> | ||
3639 | 3362 | + </xsd:simpleContent> | ||
3640 | 3363 | + </xsd:complexType> | ||
3641 | 3364 | + | ||
3642 | 3365 | +<!-- **************************************************** --> | ||
3643 | 3366 | + | ||
3644 | 3367 | + <xsd:complexType name="jndi-nameType"> | ||
3645 | 3368 | + <xsd:annotation> | ||
3646 | 3369 | + <xsd:documentation> | ||
3647 | 3370 | + | ||
3648 | 3371 | + The jndi-nameType type designates a JNDI name in the | ||
3649 | 3372 | + Deployment Component's environment and is relative to the | ||
3650 | 3373 | + java:comp/env context. A JNDI name must be unique within the | ||
3651 | 3374 | + Deployment Component. | ||
3652 | 3375 | + | ||
3653 | 3376 | + </xsd:documentation> | ||
3654 | 3377 | + </xsd:annotation> | ||
3655 | 3378 | + <xsd:simpleContent> | ||
3656 | 3379 | + <xsd:restriction base="javaee:string"/> | ||
3657 | 3380 | + </xsd:simpleContent> | ||
3658 | 3381 | + </xsd:complexType> | ||
3659 | 3382 | + | ||
3660 | 3383 | +<!-- **************************************************** --> | ||
3661 | 3384 | + | ||
3662 | 3385 | + <xsd:group name="jndiEnvironmentRefsGroup"> | ||
3663 | 3386 | + <xsd:annotation> | ||
3664 | 3387 | + <xsd:documentation> | ||
3665 | 3388 | + | ||
3666 | 3389 | + This group keeps the usage of the contained JNDI environment | ||
3667 | 3390 | + reference elements consistent across Java EE deployment descriptors. | ||
3668 | 3391 | + | ||
3669 | 3392 | + </xsd:documentation> | ||
3670 | 3393 | + </xsd:annotation> | ||
3671 | 3394 | + <xsd:sequence> | ||
3672 | 3395 | + <xsd:element name="env-entry" | ||
3673 | 3396 | + type="javaee:env-entryType" | ||
3674 | 3397 | + minOccurs="0" maxOccurs="unbounded"/> | ||
3675 | 3398 | + <xsd:element name="ejb-ref" | ||
3676 | 3399 | + type="javaee:ejb-refType" | ||
3677 | 3400 | + minOccurs="0" maxOccurs="unbounded"/> | ||
3678 | 3401 | + <xsd:element name="ejb-local-ref" | ||
3679 | 3402 | + type="javaee:ejb-local-refType" | ||
3680 | 3403 | + minOccurs="0" maxOccurs="unbounded"/> | ||
3681 | 3404 | + <xsd:group ref="javaee:service-refGroup"/> | ||
3682 | 3405 | + <xsd:element name="resource-ref" | ||
3683 | 3406 | + type="javaee:resource-refType" | ||
3684 | 3407 | + minOccurs="0" maxOccurs="unbounded"/> | ||
3685 | 3408 | + <xsd:element name="resource-env-ref" | ||
3686 | 3409 | + type="javaee:resource-env-refType" | ||
3687 | 3410 | + minOccurs="0" maxOccurs="unbounded"/> | ||
3688 | 3411 | + <xsd:element name="message-destination-ref" | ||
3689 | 3412 | + type="javaee:message-destination-refType" | ||
3690 | 3413 | + minOccurs="0" maxOccurs="unbounded"/> | ||
3691 | 3414 | + <xsd:element name="persistence-context-ref" | ||
3692 | 3415 | + type="javaee:persistence-context-refType" | ||
3693 | 3416 | + minOccurs="0" maxOccurs="unbounded"/> | ||
3694 | 3417 | + <xsd:element name="persistence-unit-ref" | ||
3695 | 3418 | + type="javaee:persistence-unit-refType" | ||
3696 | 3419 | + minOccurs="0" maxOccurs="unbounded"/> | ||
3697 | 3420 | + <xsd:element name="post-construct" | ||
3698 | 3421 | + type="javaee:lifecycle-callbackType" | ||
3699 | 3422 | + minOccurs="0" maxOccurs="unbounded"/> | ||
3700 | 3423 | + <xsd:element name="pre-destroy" | ||
3701 | 3424 | + type="javaee:lifecycle-callbackType" | ||
3702 | 3425 | + minOccurs="0" maxOccurs="unbounded"/> | ||
3703 | 3426 | + </xsd:sequence> | ||
3704 | 3427 | + </xsd:group> | ||
3705 | 3428 | + | ||
3706 | 3429 | +<!-- **************************************************** --> | ||
3707 | 3430 | + | ||
3708 | 3431 | + <xsd:complexType name="lifecycle-callbackType"> | ||
3709 | 3432 | + <xsd:annotation> | ||
3710 | 3433 | + <xsd:documentation> | ||
3711 | 3434 | + | ||
3712 | 3435 | + The lifecycle-callback type specifies a method on a | ||
3713 | 3436 | + class to be called when a lifecycle event occurs. | ||
3714 | 3437 | + Note that each class may have only one lifecycle callback | ||
3715 | 3438 | + method for any given event and that the method may not | ||
3716 | 3439 | + be overloaded. | ||
3717 | 3440 | + | ||
3718 | 3441 | + If the lifefycle-callback-class element is missing then | ||
3719 | 3442 | + the class defining the callback is assumed to be the | ||
3720 | 3443 | + component class in scope at the place in the descriptor | ||
3721 | 3444 | + in which the callback definition appears. | ||
3722 | 3445 | + | ||
3723 | 3446 | + </xsd:documentation> | ||
3724 | 3447 | + </xsd:annotation> | ||
3725 | 3448 | + <xsd:sequence> | ||
3726 | 3449 | + <xsd:element name="lifecycle-callback-class" | ||
3727 | 3450 | + type="javaee:fully-qualified-classType" | ||
3728 | 3451 | + minOccurs="0"/> | ||
3729 | 3452 | + <xsd:element name="lifecycle-callback-method" | ||
3730 | 3453 | + type="javaee:java-identifierType"/> | ||
3731 | 3454 | + </xsd:sequence> | ||
3732 | 3455 | + </xsd:complexType> | ||
3733 | 3456 | + | ||
3734 | 3457 | +<!-- **************************************************** --> | ||
3735 | 3458 | + | ||
3736 | 3459 | + <xsd:complexType name="listenerType"> | ||
3737 | 3460 | + <xsd:annotation> | ||
3738 | 3461 | + <xsd:documentation> | ||
3739 | 3462 | + | ||
3740 | 3463 | + The listenerType indicates the deployment properties for a web | ||
3741 | 3464 | + application listener bean. | ||
3742 | 3465 | + | ||
3743 | 3466 | + </xsd:documentation> | ||
3744 | 3467 | + </xsd:annotation> | ||
3745 | 3468 | + | ||
3746 | 3469 | + <xsd:sequence> | ||
3747 | 3470 | + <xsd:group ref="javaee:descriptionGroup"/> | ||
3748 | 3471 | + <xsd:element name="listener-class" | ||
3749 | 3472 | + type="javaee:fully-qualified-classType"> | ||
3750 | 3473 | + <xsd:annotation> | ||
3751 | 3474 | + <xsd:documentation> | ||
3752 | 3475 | + | ||
3753 | 3476 | + The listener-class element declares a class in the | ||
3754 | 3477 | + application must be registered as a web | ||
3755 | 3478 | + application listener bean. The value is the fully | ||
3756 | 3479 | + qualified classname of the listener class. | ||
3757 | 3480 | + | ||
3758 | 3481 | + </xsd:documentation> | ||
3759 | 3482 | + </xsd:annotation> | ||
3760 | 3483 | + </xsd:element> | ||
3761 | 3484 | + </xsd:sequence> | ||
3762 | 3485 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
3763 | 3486 | + </xsd:complexType> | ||
3764 | 3487 | + | ||
3765 | 3488 | +<!-- **************************************************** --> | ||
3766 | 3489 | + | ||
3767 | 3490 | + <xsd:complexType name="local-homeType"> | ||
3768 | 3491 | + <xsd:annotation> | ||
3769 | 3492 | + <xsd:documentation> | ||
3770 | 3493 | + | ||
3771 | 3494 | + The local-homeType defines the fully-qualified | ||
3772 | 3495 | + name of an enterprise bean's local home interface. | ||
3773 | 3496 | + | ||
3774 | 3497 | + </xsd:documentation> | ||
3775 | 3498 | + </xsd:annotation> | ||
3776 | 3499 | + <xsd:simpleContent> | ||
3777 | 3500 | + <xsd:restriction base="javaee:fully-qualified-classType"/> | ||
3778 | 3501 | + </xsd:simpleContent> | ||
3779 | 3502 | + </xsd:complexType> | ||
3780 | 3503 | + | ||
3781 | 3504 | +<!-- **************************************************** --> | ||
3782 | 3505 | + | ||
3783 | 3506 | + <xsd:complexType name="localType"> | ||
3784 | 3507 | + <xsd:annotation> | ||
3785 | 3508 | + <xsd:documentation> | ||
3786 | 3509 | + | ||
3787 | 3510 | + The localType defines the fully-qualified name of an | ||
3788 | 3511 | + enterprise bean's local interface. | ||
3789 | 3512 | + | ||
3790 | 3513 | + </xsd:documentation> | ||
3791 | 3514 | + </xsd:annotation> | ||
3792 | 3515 | + <xsd:simpleContent> | ||
3793 | 3516 | + <xsd:restriction base="javaee:fully-qualified-classType"/> | ||
3794 | 3517 | + </xsd:simpleContent> | ||
3795 | 3518 | + </xsd:complexType> | ||
3796 | 3519 | + | ||
3797 | 3520 | +<!-- **************************************************** --> | ||
3798 | 3521 | + | ||
3799 | 3522 | + <xsd:complexType name="message-destination-linkType"> | ||
3800 | 3523 | + <xsd:annotation> | ||
3801 | 3524 | + <xsd:documentation> | ||
3802 | 3525 | + | ||
3803 | 3526 | + The message-destination-linkType is used to link a message | ||
3804 | 3527 | + destination reference or message-driven bean to a message | ||
3805 | 3528 | + destination. | ||
3806 | 3529 | + | ||
3807 | 3530 | + The Assembler sets the value to reflect the flow of messages | ||
3808 | 3531 | + between producers and consumers in the application. | ||
3809 | 3532 | + | ||
3810 | 3533 | + The value must be the message-destination-name of a message | ||
3811 | 3534 | + destination in the same Deployment File or in another | ||
3812 | 3535 | + Deployment File in the same Java EE application unit. | ||
3813 | 3536 | + | ||
3814 | 3537 | + Alternatively, the value may be composed of a path name | ||
3815 | 3538 | + specifying a Deployment File containing the referenced | ||
3816 | 3539 | + message destination with the message-destination-name of the | ||
3817 | 3540 | + destination appended and separated from the path name by | ||
3818 | 3541 | + "#". The path name is relative to the Deployment File | ||
3819 | 3542 | + containing Deployment Component that is referencing the | ||
3820 | 3543 | + message destination. This allows multiple message | ||
3821 | 3544 | + destinations with the same name to be uniquely identified. | ||
3822 | 3545 | + | ||
3823 | 3546 | + </xsd:documentation> | ||
3824 | 3547 | + </xsd:annotation> | ||
3825 | 3548 | + <xsd:simpleContent> | ||
3826 | 3549 | + <xsd:restriction base="javaee:string"/> | ||
3827 | 3550 | + </xsd:simpleContent> | ||
3828 | 3551 | + </xsd:complexType> | ||
3829 | 3552 | + | ||
3830 | 3553 | +<!-- **************************************************** --> | ||
3831 | 3554 | + | ||
3832 | 3555 | + <xsd:complexType name="message-destination-refType"> | ||
3833 | 3556 | + <xsd:annotation> | ||
3834 | 3557 | + <xsd:documentation> | ||
3835 | 3558 | + <![CDATA[ | ||
3836 | 3559 | + | ||
3837 | 3560 | + The message-destination-ref element contains a declaration | ||
3838 | 3561 | + of Deployment Component's reference to a message destination | ||
3839 | 3562 | + associated with a resource in Deployment Component's | ||
3840 | 3563 | + environment. It consists of: | ||
3841 | 3564 | + | ||
3842 | 3565 | + - an optional description | ||
3843 | 3566 | + - the message destination reference name | ||
3844 | 3567 | + - an optional message destination type | ||
3845 | 3568 | + - an optional specification as to whether | ||
3846 | 3569 | + the destination is used for | ||
3847 | 3570 | + consuming or producing messages, or both. | ||
3848 | 3571 | + if not specified, "both" is assumed. | ||
3849 | 3572 | + - an optional link to the message destination | ||
3850 | 3573 | + - optional injection targets | ||
3851 | 3574 | + | ||
3852 | 3575 | + The message destination type must be supplied unless an | ||
3853 | 3576 | + injection target is specified, in which case the type | ||
3854 | 3577 | + of the target is used. If both are specified, the type | ||
3855 | 3578 | + must be assignment compatible with the type of the injection | ||
3856 | 3579 | + target. | ||
3857 | 3580 | + | ||
3858 | 3581 | + Examples: | ||
3859 | 3582 | + | ||
3860 | 3583 | + <message-destination-ref> | ||
3861 | 3584 | + <message-destination-ref-name>jms/StockQueue | ||
3862 | 3585 | + </message-destination-ref-name> | ||
3863 | 3586 | + <message-destination-type>javax.jms.Queue | ||
3864 | 3587 | + </message-destination-type> | ||
3865 | 3588 | + <message-destination-usage>Consumes | ||
3866 | 3589 | + </message-destination-usage> | ||
3867 | 3590 | + <message-destination-link>CorporateStocks | ||
3868 | 3591 | + </message-destination-link> | ||
3869 | 3592 | + </message-destination-ref> | ||
3870 | 3593 | + | ||
3871 | 3594 | + ]]> | ||
3872 | 3595 | + </xsd:documentation> | ||
3873 | 3596 | + </xsd:annotation> | ||
3874 | 3597 | + <xsd:sequence> | ||
3875 | 3598 | + <xsd:element name="description" | ||
3876 | 3599 | + type="javaee:descriptionType" | ||
3877 | 3600 | + minOccurs="0" | ||
3878 | 3601 | + maxOccurs="unbounded"/> | ||
3879 | 3602 | + <xsd:element name="message-destination-ref-name" | ||
3880 | 3603 | + type="javaee:jndi-nameType"> | ||
3881 | 3604 | + <xsd:annotation> | ||
3882 | 3605 | + <xsd:documentation> | ||
3883 | 3606 | + | ||
3884 | 3607 | + The message-destination-ref-name element specifies | ||
3885 | 3608 | + the name of a message destination reference; its | ||
3886 | 3609 | + value is the environment entry name used in | ||
3887 | 3610 | + Deployment Component code. The name is a JNDI name | ||
3888 | 3611 | + relative to the java:comp/env context and must be | ||
3889 | 3612 | + unique within an ejb-jar (for enterprise beans) or a | ||
3890 | 3613 | + Deployment File (for others). | ||
3891 | 3614 | + | ||
3892 | 3615 | + </xsd:documentation> | ||
3893 | 3616 | + </xsd:annotation> | ||
3894 | 3617 | + </xsd:element> | ||
3895 | 3618 | + <xsd:element name="message-destination-type" | ||
3896 | 3619 | + type="javaee:message-destination-typeType" | ||
3897 | 3620 | + minOccurs="0"/> | ||
3898 | 3621 | + <xsd:element name="message-destination-usage" | ||
3899 | 3622 | + type="javaee:message-destination-usageType" | ||
3900 | 3623 | + minOccurs="0"/> | ||
3901 | 3624 | + <xsd:element name="message-destination-link" | ||
3902 | 3625 | + type="javaee:message-destination-linkType" | ||
3903 | 3626 | + minOccurs="0"/> | ||
3904 | 3627 | + | ||
3905 | 3628 | + <xsd:group ref="javaee:resourceGroup"/> | ||
3906 | 3629 | + | ||
3907 | 3630 | + </xsd:sequence> | ||
3908 | 3631 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
3909 | 3632 | + | ||
3910 | 3633 | + </xsd:complexType> | ||
3911 | 3634 | + | ||
3912 | 3635 | +<!-- **************************************************** --> | ||
3913 | 3636 | + | ||
3914 | 3637 | + <xsd:complexType name="message-destination-typeType"> | ||
3915 | 3638 | + <xsd:annotation> | ||
3916 | 3639 | + <xsd:documentation> | ||
3917 | 3640 | + <![CDATA[ | ||
3918 | 3641 | + | ||
3919 | 3642 | + The message-destination-typeType specifies the type of | ||
3920 | 3643 | + the destination. The type is specified by the Java interface | ||
3921 | 3644 | + expected to be implemented by the destination. | ||
3922 | 3645 | + | ||
3923 | 3646 | + Example: | ||
3924 | 3647 | + | ||
3925 | 3648 | + <message-destination-type>javax.jms.Queue | ||
3926 | 3649 | + </message-destination-type> | ||
3927 | 3650 | + | ||
3928 | 3651 | + ]]> | ||
3929 | 3652 | + </xsd:documentation> | ||
3930 | 3653 | + </xsd:annotation> | ||
3931 | 3654 | + <xsd:simpleContent> | ||
3932 | 3655 | + <xsd:restriction base="javaee:fully-qualified-classType"/> | ||
3933 | 3656 | + </xsd:simpleContent> | ||
3934 | 3657 | + </xsd:complexType> | ||
3935 | 3658 | + | ||
3936 | 3659 | +<!-- **************************************************** --> | ||
3937 | 3660 | + | ||
3938 | 3661 | + <xsd:complexType name="message-destination-usageType"> | ||
3939 | 3662 | + <xsd:annotation> | ||
3940 | 3663 | + <xsd:documentation> | ||
3941 | 3664 | + | ||
3942 | 3665 | + The message-destination-usageType specifies the use of the | ||
3943 | 3666 | + message destination indicated by the reference. The value | ||
3944 | 3667 | + indicates whether messages are consumed from the message | ||
3945 | 3668 | + destination, produced for the destination, or both. The | ||
3946 | 3669 | + Assembler makes use of this information in linking producers | ||
3947 | 3670 | + of a destination with its consumers. | ||
3948 | 3671 | + | ||
3949 | 3672 | + The value of the message-destination-usage element must be | ||
3950 | 3673 | + one of the following: | ||
3951 | 3674 | + Consumes | ||
3952 | 3675 | + Produces | ||
3953 | 3676 | + ConsumesProduces | ||
3954 | 3677 | + | ||
3955 | 3678 | + </xsd:documentation> | ||
3956 | 3679 | + </xsd:annotation> | ||
3957 | 3680 | + <xsd:simpleContent> | ||
3958 | 3681 | + <xsd:restriction base="javaee:string"> | ||
3959 | 3682 | + <xsd:enumeration value="Consumes"/> | ||
3960 | 3683 | + <xsd:enumeration value="Produces"/> | ||
3961 | 3684 | + <xsd:enumeration value="ConsumesProduces"/> | ||
3962 | 3685 | + </xsd:restriction> | ||
3963 | 3686 | + </xsd:simpleContent> | ||
3964 | 3687 | + </xsd:complexType> | ||
3965 | 3688 | + | ||
3966 | 3689 | +<!-- **************************************************** --> | ||
3967 | 3690 | + | ||
3968 | 3691 | + <xsd:complexType name="message-destinationType"> | ||
3969 | 3692 | + <xsd:annotation> | ||
3970 | 3693 | + <xsd:documentation> | ||
3971 | 3694 | + <![CDATA[ | ||
3972 | 3695 | + | ||
3973 | 3696 | + The message-destinationType specifies a message | ||
3974 | 3697 | + destination. The logical destination described by this | ||
3975 | 3698 | + element is mapped to a physical destination by the Deployer. | ||
3976 | 3699 | + | ||
3977 | 3700 | + The message destination element contains: | ||
3978 | 3701 | + | ||
3979 | 3702 | + - an optional description | ||
3980 | 3703 | + - an optional display-name | ||
3981 | 3704 | + - an optional icon | ||
3982 | 3705 | + - a message destination name which must be unique | ||
3983 | 3706 | + among message destination names within the same | ||
3984 | 3707 | + Deployment File. | ||
3985 | 3708 | + - an optional mapped name | ||
3986 | 3709 | + | ||
3987 | 3710 | + Example: | ||
3988 | 3711 | + | ||
3989 | 3712 | + <message-destination> | ||
3990 | 3713 | + <message-destination-name>CorporateStocks | ||
3991 | 3714 | + </message-destination-name> | ||
3992 | 3715 | + </message-destination> | ||
3993 | 3716 | + | ||
3994 | 3717 | + ]]> | ||
3995 | 3718 | + </xsd:documentation> | ||
3996 | 3719 | + </xsd:annotation> | ||
3997 | 3720 | + <xsd:sequence> | ||
3998 | 3721 | + <xsd:group ref="javaee:descriptionGroup"/> | ||
3999 | 3722 | + <xsd:element name="message-destination-name" | ||
4000 | 3723 | + type="javaee:string"> | ||
4001 | 3724 | + <xsd:annotation> | ||
4002 | 3725 | + <xsd:documentation> | ||
4003 | 3726 | + | ||
4004 | 3727 | + The message-destination-name element specifies a | ||
4005 | 3728 | + name for a message destination. This name must be | ||
4006 | 3729 | + unique among the names of message destinations | ||
4007 | 3730 | + within the Deployment File. | ||
4008 | 3731 | + | ||
4009 | 3732 | + </xsd:documentation> | ||
4010 | 3733 | + </xsd:annotation> | ||
4011 | 3734 | + </xsd:element> | ||
4012 | 3735 | + <xsd:element name="mapped-name" | ||
4013 | 3736 | + type="javaee:xsdStringType" | ||
4014 | 3737 | + minOccurs="0"> | ||
4015 | 3738 | + <xsd:annotation> | ||
4016 | 3739 | + <xsd:documentation> | ||
4017 | 3740 | + <![CDATA[ | ||
4018 | 3741 | + | ||
4019 | 3742 | + A product specific name that this message destination | ||
4020 | 3743 | + should be mapped to. Each message-destination-ref | ||
4021 | 3744 | + element that references this message destination will | ||
4022 | 3745 | + define a name in the namespace of the referencing | ||
4023 | 3746 | + component. (It's a name in the JNDI java:comp/env | ||
4024 | 3747 | + namespace.) Many application servers provide a way to | ||
4025 | 3748 | + map these local names to names of resources known to the | ||
4026 | 3749 | + application server. This mapped name is often a global | ||
4027 | 3750 | + JNDI name, but may be a name of any form. Each of the | ||
4028 | 3751 | + local names should be mapped to this same global name. | ||
4029 | 3752 | + | ||
4030 | 3753 | + Application servers are not required to support any | ||
4031 | 3754 | + particular form or type of mapped name, nor the ability | ||
4032 | 3755 | + to use mapped names. The mapped name is | ||
4033 | 3756 | + product-dependent and often installation-dependent. No | ||
4034 | 3757 | + use of a mapped name is portable. | ||
4035 | 3758 | + | ||
4036 | 3759 | + ]]> | ||
4037 | 3760 | + </xsd:documentation> | ||
4038 | 3761 | + </xsd:annotation> | ||
4039 | 3762 | + </xsd:element> | ||
4040 | 3763 | + </xsd:sequence> | ||
4041 | 3764 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4042 | 3765 | + </xsd:complexType> | ||
4043 | 3766 | + | ||
4044 | 3767 | +<!-- **************************************************** --> | ||
4045 | 3768 | + | ||
4046 | 3769 | + <xsd:complexType name="param-valueType"> | ||
4047 | 3770 | + <xsd:annotation> | ||
4048 | 3771 | + <xsd:documentation> | ||
4049 | 3772 | + | ||
4050 | 3773 | + This type is a general type that can be used to declare | ||
4051 | 3774 | + parameter/value lists. | ||
4052 | 3775 | + | ||
4053 | 3776 | + </xsd:documentation> | ||
4054 | 3777 | + </xsd:annotation> | ||
4055 | 3778 | + | ||
4056 | 3779 | + <xsd:sequence> | ||
4057 | 3780 | + <xsd:element name="description" | ||
4058 | 3781 | + type="javaee:descriptionType" | ||
4059 | 3782 | + minOccurs="0" | ||
4060 | 3783 | + maxOccurs="unbounded"/> | ||
4061 | 3784 | + <xsd:element name="param-name" | ||
4062 | 3785 | + type="javaee:string"> | ||
4063 | 3786 | + <xsd:annotation> | ||
4064 | 3787 | + <xsd:documentation> | ||
4065 | 3788 | + | ||
4066 | 3789 | + The param-name element contains the name of a | ||
4067 | 3790 | + parameter. | ||
4068 | 3791 | + | ||
4069 | 3792 | + </xsd:documentation> | ||
4070 | 3793 | + </xsd:annotation> | ||
4071 | 3794 | + </xsd:element> | ||
4072 | 3795 | + | ||
4073 | 3796 | + <xsd:element name="param-value" | ||
4074 | 3797 | + type="javaee:xsdStringType"> | ||
4075 | 3798 | + <xsd:annotation> | ||
4076 | 3799 | + <xsd:documentation> | ||
4077 | 3800 | + | ||
4078 | 3801 | + The param-value element contains the value of a | ||
4079 | 3802 | + parameter. | ||
4080 | 3803 | + | ||
4081 | 3804 | + </xsd:documentation> | ||
4082 | 3805 | + </xsd:annotation> | ||
4083 | 3806 | + </xsd:element> | ||
4084 | 3807 | + </xsd:sequence> | ||
4085 | 3808 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4086 | 3809 | + </xsd:complexType> | ||
4087 | 3810 | + | ||
4088 | 3811 | +<!-- **************************************************** --> | ||
4089 | 3812 | + | ||
4090 | 3813 | + <xsd:complexType name="pathType"> | ||
4091 | 3814 | + <xsd:annotation> | ||
4092 | 3815 | + <xsd:documentation> | ||
4093 | 3816 | + | ||
4094 | 3817 | + The elements that use this type designate either a relative | ||
4095 | 3818 | + path or an absolute path starting with a "/". | ||
4096 | 3819 | + | ||
4097 | 3820 | + In elements that specify a pathname to a file within the | ||
4098 | 3821 | + same Deployment File, relative filenames (i.e., those not | ||
4099 | 3822 | + starting with "/") are considered relative to the root of | ||
4100 | 3823 | + the Deployment File's namespace. Absolute filenames (i.e., | ||
4101 | 3824 | + those starting with "/") also specify names in the root of | ||
4102 | 3825 | + the Deployment File's namespace. In general, relative names | ||
4103 | 3826 | + are preferred. The exception is .war files where absolute | ||
4104 | 3827 | + names are preferred for consistency with the Servlet API. | ||
4105 | 3828 | + | ||
4106 | 3829 | + </xsd:documentation> | ||
4107 | 3830 | + </xsd:annotation> | ||
4108 | 3831 | + <xsd:simpleContent> | ||
4109 | 3832 | + <xsd:restriction base="javaee:string"/> | ||
4110 | 3833 | + </xsd:simpleContent> | ||
4111 | 3834 | + </xsd:complexType> | ||
4112 | 3835 | + | ||
4113 | 3836 | +<!-- **************************************************** --> | ||
4114 | 3837 | + | ||
4115 | 3838 | + <xsd:complexType name="persistence-context-refType"> | ||
4116 | 3839 | + <xsd:annotation> | ||
4117 | 3840 | + <xsd:documentation> | ||
4118 | 3841 | + <![CDATA[ | ||
4119 | 3842 | + | ||
4120 | 3843 | + The persistence-context-ref element contains a declaration | ||
4121 | 3844 | + of Deployment Component's reference to a persistence context | ||
4122 | 3845 | + associated within a Deployment Component's | ||
4123 | 3846 | + environment. It consists of: | ||
4124 | 3847 | + | ||
4125 | 3848 | + - an optional description | ||
4126 | 3849 | + - the persistence context reference name | ||
4127 | 3850 | + - an optional persistence unit name. If not specified, | ||
4128 | 3851 | + the default persistence unit is assumed. | ||
4129 | 3852 | + - an optional specification as to whether | ||
4130 | 3853 | + the persistence context type is Transaction or | ||
4131 | 3854 | + Extended. If not specified, Transaction is assumed. | ||
4132 | 3855 | + - an optional list of persistence properties | ||
4133 | 3856 | + - optional injection targets | ||
4134 | 3857 | + | ||
4135 | 3858 | + Examples: | ||
4136 | 3859 | + | ||
4137 | 3860 | + <persistence-context-ref> | ||
4138 | 3861 | + <persistence-context-ref-name>myPersistenceContext | ||
4139 | 3862 | + </persistence-context-ref-name> | ||
4140 | 3863 | + </persistence-context-ref> | ||
4141 | 3864 | + | ||
4142 | 3865 | + <persistence-context-ref> | ||
4143 | 3866 | + <persistence-context-ref-name>myPersistenceContext | ||
4144 | 3867 | + </persistence-context-ref-name> | ||
4145 | 3868 | + <persistence-unit-name>PersistenceUnit1 | ||
4146 | 3869 | + </persistence-unit-name> | ||
4147 | 3870 | + <persistence-context-type>Extended</persistence-context-type> | ||
4148 | 3871 | + </persistence-context-ref> | ||
4149 | 3872 | + | ||
4150 | 3873 | + ]]> | ||
4151 | 3874 | + </xsd:documentation> | ||
4152 | 3875 | + </xsd:annotation> | ||
4153 | 3876 | + <xsd:sequence> | ||
4154 | 3877 | + <xsd:element name="description" | ||
4155 | 3878 | + type="javaee:descriptionType" | ||
4156 | 3879 | + minOccurs="0" | ||
4157 | 3880 | + maxOccurs="unbounded"/> | ||
4158 | 3881 | + <xsd:element name="persistence-context-ref-name" | ||
4159 | 3882 | + type="javaee:jndi-nameType"> | ||
4160 | 3883 | + <xsd:annotation> | ||
4161 | 3884 | + <xsd:documentation> | ||
4162 | 3885 | + | ||
4163 | 3886 | + The persistence-context-ref-name element specifies | ||
4164 | 3887 | + the name of a persistence context reference; its | ||
4165 | 3888 | + value is the environment entry name used in | ||
4166 | 3889 | + Deployment Component code. The name is a JNDI name | ||
4167 | 3890 | + relative to the java:comp/env context. | ||
4168 | 3891 | + | ||
4169 | 3892 | + </xsd:documentation> | ||
4170 | 3893 | + </xsd:annotation> | ||
4171 | 3894 | + </xsd:element> | ||
4172 | 3895 | + <xsd:element name="persistence-unit-name" | ||
4173 | 3896 | + type="javaee:string" | ||
4174 | 3897 | + minOccurs="0"> | ||
4175 | 3898 | + <xsd:annotation> | ||
4176 | 3899 | + <xsd:documentation> | ||
4177 | 3900 | + | ||
4178 | 3901 | + The Application Assembler(or BeanProvider) may use the | ||
4179 | 3902 | + following syntax to avoid the need to rename persistence | ||
4180 | 3903 | + units to have unique names within a Java EE application. | ||
4181 | 3904 | + | ||
4182 | 3905 | + The Application Assembler specifies the pathname of the | ||
4183 | 3906 | + root of the persistence.xml file for the referenced | ||
4184 | 3907 | + persistence unit and appends the name of the persistence | ||
4185 | 3908 | + unit separated from the pathname by #. The pathname is | ||
4186 | 3909 | + relative to the referencing application component jar file. | ||
4187 | 3910 | + In this manner, multiple persistence units with the same | ||
4188 | 3911 | + persistence unit name may be uniquely identified when the | ||
4189 | 3912 | + Application Assembler cannot change persistence unit names. | ||
4190 | 3913 | + | ||
4191 | 3914 | + </xsd:documentation> | ||
4192 | 3915 | + </xsd:annotation> | ||
4193 | 3916 | + </xsd:element> | ||
4194 | 3917 | + | ||
4195 | 3918 | + <xsd:element name="persistence-context-type" | ||
4196 | 3919 | + type="javaee:persistence-context-typeType" | ||
4197 | 3920 | + minOccurs="0"/> | ||
4198 | 3921 | + | ||
4199 | 3922 | + <xsd:element name="persistence-property" | ||
4200 | 3923 | + type="javaee:propertyType" | ||
4201 | 3924 | + minOccurs="0" | ||
4202 | 3925 | + maxOccurs="unbounded"> | ||
4203 | 3926 | + <xsd:annotation> | ||
4204 | 3927 | + <xsd:documentation> | ||
4205 | 3928 | + | ||
4206 | 3929 | + Used to specify properties for the container or persistence | ||
4207 | 3930 | + provider. Vendor-specific properties may be included in | ||
4208 | 3931 | + the set of properties. Properties that are not recognized | ||
4209 | 3932 | + by a vendor must be ignored. Entries that make use of the | ||
4210 | 3933 | + namespace javax.persistence and its subnamespaces must not | ||
4211 | 3934 | + be used for vendor-specific properties. The namespace | ||
4212 | 3935 | + javax.persistence is reserved for use by the specification. | ||
4213 | 3936 | + | ||
4214 | 3937 | + </xsd:documentation> | ||
4215 | 3938 | + </xsd:annotation> | ||
4216 | 3939 | + </xsd:element> | ||
4217 | 3940 | + | ||
4218 | 3941 | + <xsd:group ref="javaee:resourceGroup"/> | ||
4219 | 3942 | + | ||
4220 | 3943 | + </xsd:sequence> | ||
4221 | 3944 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4222 | 3945 | + | ||
4223 | 3946 | + </xsd:complexType> | ||
4224 | 3947 | + | ||
4225 | 3948 | +<!-- **************************************************** --> | ||
4226 | 3949 | + | ||
4227 | 3950 | + <xsd:complexType name="persistence-context-typeType"> | ||
4228 | 3951 | + <xsd:annotation> | ||
4229 | 3952 | + <xsd:documentation> | ||
4230 | 3953 | + | ||
4231 | 3954 | + The persistence-context-typeType specifies the transactional | ||
4232 | 3955 | + nature of a persistence context reference. | ||
4233 | 3956 | + | ||
4234 | 3957 | + The value of the persistence-context-type element must be | ||
4235 | 3958 | + one of the following: | ||
4236 | 3959 | + Transaction | ||
4237 | 3960 | + Extended | ||
4238 | 3961 | + | ||
4239 | 3962 | + </xsd:documentation> | ||
4240 | 3963 | + </xsd:annotation> | ||
4241 | 3964 | + <xsd:simpleContent> | ||
4242 | 3965 | + <xsd:restriction base="javaee:string"> | ||
4243 | 3966 | + <xsd:enumeration value="Transaction"/> | ||
4244 | 3967 | + <xsd:enumeration value="Extended"/> | ||
4245 | 3968 | + </xsd:restriction> | ||
4246 | 3969 | + </xsd:simpleContent> | ||
4247 | 3970 | + </xsd:complexType> | ||
4248 | 3971 | + | ||
4249 | 3972 | +<!-- **************************************************** --> | ||
4250 | 3973 | + | ||
4251 | 3974 | + <xsd:complexType name="persistence-unit-refType"> | ||
4252 | 3975 | + <xsd:annotation> | ||
4253 | 3976 | + <xsd:documentation> | ||
4254 | 3977 | + <![CDATA[ | ||
4255 | 3978 | + | ||
4256 | 3979 | + The persistence-unit-ref element contains a declaration | ||
4257 | 3980 | + of Deployment Component's reference to a persistence unit | ||
4258 | 3981 | + associated within a Deployment Component's | ||
4259 | 3982 | + environment. It consists of: | ||
4260 | 3983 | + | ||
4261 | 3984 | + - an optional description | ||
4262 | 3985 | + - the persistence unit reference name | ||
4263 | 3986 | + - an optional persistence unit name. If not specified, | ||
4264 | 3987 | + the default persistence unit is assumed. | ||
4265 | 3988 | + - optional injection targets | ||
4266 | 3989 | + | ||
4267 | 3990 | + Examples: | ||
4268 | 3991 | + | ||
4269 | 3992 | + <persistence-unit-ref> | ||
4270 | 3993 | + <persistence-unit-ref-name>myPersistenceUnit | ||
4271 | 3994 | + </persistence-unit-ref-name> | ||
4272 | 3995 | + </persistence-unit-ref> | ||
4273 | 3996 | + | ||
4274 | 3997 | + <persistence-unit-ref> | ||
4275 | 3998 | + <persistence-unit-ref-name>myPersistenceUnit | ||
4276 | 3999 | + </persistence-unit-ref-name> | ||
4277 | 4000 | + <persistence-unit-name>PersistenceUnit1 | ||
4278 | 4001 | + </persistence-unit-name> | ||
4279 | 4002 | + </persistence-unit-ref> | ||
4280 | 4003 | + | ||
4281 | 4004 | + ]]> | ||
4282 | 4005 | + </xsd:documentation> | ||
4283 | 4006 | + </xsd:annotation> | ||
4284 | 4007 | + <xsd:sequence> | ||
4285 | 4008 | + <xsd:element name="description" | ||
4286 | 4009 | + type="javaee:descriptionType" | ||
4287 | 4010 | + minOccurs="0" | ||
4288 | 4011 | + maxOccurs="unbounded"/> | ||
4289 | 4012 | + <xsd:element name="persistence-unit-ref-name" | ||
4290 | 4013 | + type="javaee:jndi-nameType"> | ||
4291 | 4014 | + <xsd:annotation> | ||
4292 | 4015 | + <xsd:documentation> | ||
4293 | 4016 | + | ||
4294 | 4017 | + The persistence-unit-ref-name element specifies | ||
4295 | 4018 | + the name of a persistence unit reference; its | ||
4296 | 4019 | + value is the environment entry name used in | ||
4297 | 4020 | + Deployment Component code. The name is a JNDI name | ||
4298 | 4021 | + relative to the java:comp/env context. | ||
4299 | 4022 | + | ||
4300 | 4023 | + </xsd:documentation> | ||
4301 | 4024 | + </xsd:annotation> | ||
4302 | 4025 | + </xsd:element> | ||
4303 | 4026 | + <xsd:element name="persistence-unit-name" | ||
4304 | 4027 | + type="javaee:string" | ||
4305 | 4028 | + minOccurs="0"> | ||
4306 | 4029 | + <xsd:annotation> | ||
4307 | 4030 | + <xsd:documentation> | ||
4308 | 4031 | + | ||
4309 | 4032 | + The Application Assembler(or BeanProvider) may use the | ||
4310 | 4033 | + following syntax to avoid the need to rename persistence | ||
4311 | 4034 | + units to have unique names within a Java EE application. | ||
4312 | 4035 | + | ||
4313 | 4036 | + The Application Assembler specifies the pathname of the | ||
4314 | 4037 | + root of the persistence.xml file for the referenced | ||
4315 | 4038 | + persistence unit and appends the name of the persistence | ||
4316 | 4039 | + unit separated from the pathname by #. The pathname is | ||
4317 | 4040 | + relative to the referencing application component jar file. | ||
4318 | 4041 | + In this manner, multiple persistence units with the same | ||
4319 | 4042 | + persistence unit name may be uniquely identified when the | ||
4320 | 4043 | + Application Assembler cannot change persistence unit names. | ||
4321 | 4044 | + | ||
4322 | 4045 | + </xsd:documentation> | ||
4323 | 4046 | + </xsd:annotation> | ||
4324 | 4047 | + </xsd:element> | ||
4325 | 4048 | + | ||
4326 | 4049 | + <xsd:group ref="javaee:resourceGroup"/> | ||
4327 | 4050 | + | ||
4328 | 4051 | + </xsd:sequence> | ||
4329 | 4052 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4330 | 4053 | + | ||
4331 | 4054 | + </xsd:complexType> | ||
4332 | 4055 | + | ||
4333 | 4056 | +<!-- **************************************************** --> | ||
4334 | 4057 | + | ||
4335 | 4058 | + <xsd:complexType name="propertyType"> | ||
4336 | 4059 | + <xsd:annotation> | ||
4337 | 4060 | + <xsd:documentation> | ||
4338 | 4061 | + | ||
4339 | 4062 | + Specifies a name/value pair. | ||
4340 | 4063 | + | ||
4341 | 4064 | + </xsd:documentation> | ||
4342 | 4065 | + </xsd:annotation> | ||
4343 | 4066 | + | ||
4344 | 4067 | + <xsd:sequence> | ||
4345 | 4068 | + <xsd:element name="name" | ||
4346 | 4069 | + type="javaee:xsdStringType"> | ||
4347 | 4070 | + </xsd:element> | ||
4348 | 4071 | + <xsd:element name="value" | ||
4349 | 4072 | + type="javaee:xsdStringType"> | ||
4350 | 4073 | + </xsd:element> | ||
4351 | 4074 | + </xsd:sequence> | ||
4352 | 4075 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4353 | 4076 | + </xsd:complexType> | ||
4354 | 4077 | + | ||
4355 | 4078 | +<!-- **************************************************** --> | ||
4356 | 4079 | + | ||
4357 | 4080 | + <xsd:complexType name="remoteType"> | ||
4358 | 4081 | + <xsd:annotation> | ||
4359 | 4082 | + <xsd:documentation> | ||
4360 | 4083 | + <![CDATA[ | ||
4361 | 4084 | + | ||
4362 | 4085 | + The remote element contains the fully-qualified name | ||
4363 | 4086 | + of the enterprise bean's remote interface. | ||
4364 | 4087 | + | ||
4365 | 4088 | + Example: | ||
4366 | 4089 | + | ||
4367 | 4090 | + <remote>com.wombat.empl.EmployeeService</remote> | ||
4368 | 4091 | + | ||
4369 | 4092 | + ]]> | ||
4370 | 4093 | + </xsd:documentation> | ||
4371 | 4094 | + </xsd:annotation> | ||
4372 | 4095 | + <xsd:simpleContent> | ||
4373 | 4096 | + <xsd:restriction base="javaee:fully-qualified-classType"/> | ||
4374 | 4097 | + </xsd:simpleContent> | ||
4375 | 4098 | + </xsd:complexType> | ||
4376 | 4099 | + | ||
4377 | 4100 | +<!-- **************************************************** --> | ||
4378 | 4101 | + | ||
4379 | 4102 | + <xsd:complexType name="res-authType"> | ||
4380 | 4103 | + <xsd:annotation> | ||
4381 | 4104 | + <xsd:documentation> | ||
4382 | 4105 | + | ||
4383 | 4106 | + The res-authType specifies whether the Deployment Component | ||
4384 | 4107 | + code signs on programmatically to the resource manager, or | ||
4385 | 4108 | + whether the Container will sign on to the resource manager | ||
4386 | 4109 | + on behalf of the Deployment Component. In the latter case, | ||
4387 | 4110 | + the Container uses information that is supplied by the | ||
4388 | 4111 | + Deployer. | ||
4389 | 4112 | + | ||
4390 | 4113 | + The value must be one of the two following: | ||
4391 | 4114 | + | ||
4392 | 4115 | + Application | ||
4393 | 4116 | + Container | ||
4394 | 4117 | + | ||
4395 | 4118 | + </xsd:documentation> | ||
4396 | 4119 | + </xsd:annotation> | ||
4397 | 4120 | + <xsd:simpleContent> | ||
4398 | 4121 | + <xsd:restriction base="javaee:string"> | ||
4399 | 4122 | + <xsd:enumeration value="Application"/> | ||
4400 | 4123 | + <xsd:enumeration value="Container"/> | ||
4401 | 4124 | + </xsd:restriction> | ||
4402 | 4125 | + </xsd:simpleContent> | ||
4403 | 4126 | + </xsd:complexType> | ||
4404 | 4127 | + | ||
4405 | 4128 | +<!-- **************************************************** --> | ||
4406 | 4129 | + | ||
4407 | 4130 | + <xsd:complexType name="res-sharing-scopeType"> | ||
4408 | 4131 | + <xsd:annotation> | ||
4409 | 4132 | + <xsd:documentation> | ||
4410 | 4133 | + | ||
4411 | 4134 | + The res-sharing-scope type specifies whether connections | ||
4412 | 4135 | + obtained through the given resource manager connection | ||
4413 | 4136 | + factory reference can be shared. The value, if specified, | ||
4414 | 4137 | + must be one of the two following: | ||
4415 | 4138 | + | ||
4416 | 4139 | + Shareable | ||
4417 | 4140 | + Unshareable | ||
4418 | 4141 | + | ||
4419 | 4142 | + The default value is Shareable. | ||
4420 | 4143 | + | ||
4421 | 4144 | + </xsd:documentation> | ||
4422 | 4145 | + </xsd:annotation> | ||
4423 | 4146 | + <xsd:simpleContent> | ||
4424 | 4147 | + <xsd:restriction base="javaee:string"> | ||
4425 | 4148 | + <xsd:enumeration value="Shareable"/> | ||
4426 | 4149 | + <xsd:enumeration value="Unshareable"/> | ||
4427 | 4150 | + </xsd:restriction> | ||
4428 | 4151 | + </xsd:simpleContent> | ||
4429 | 4152 | + </xsd:complexType> | ||
4430 | 4153 | + | ||
4431 | 4154 | +<!-- **************************************************** --> | ||
4432 | 4155 | + | ||
4433 | 4156 | + <xsd:complexType name="resource-env-refType"> | ||
4434 | 4157 | + <xsd:annotation> | ||
4435 | 4158 | + <xsd:documentation> | ||
4436 | 4159 | + <![CDATA[ | ||
4437 | 4160 | + | ||
4438 | 4161 | + The resource-env-refType is used to define | ||
4439 | 4162 | + resource-env-type elements. It contains a declaration of a | ||
4440 | 4163 | + Deployment Component's reference to an administered object | ||
4441 | 4164 | + associated with a resource in the Deployment Component's | ||
4442 | 4165 | + environment. It consists of an optional description, the | ||
4443 | 4166 | + resource environment reference name, and an optional | ||
4444 | 4167 | + indication of the resource environment reference type | ||
4445 | 4168 | + expected by the Deployment Component code. | ||
4446 | 4169 | + | ||
4447 | 4170 | + It also includes optional elements to define injection of | ||
4448 | 4171 | + the named resource into fields or JavaBeans properties. | ||
4449 | 4172 | + | ||
4450 | 4173 | + The resource environment type must be supplied unless an | ||
4451 | 4174 | + injection target is specified, in which case the type | ||
4452 | 4175 | + of the target is used. If both are specified, the type | ||
4453 | 4176 | + must be assignment compatible with the type of the injection | ||
4454 | 4177 | + target. | ||
4455 | 4178 | + | ||
4456 | 4179 | + Example: | ||
4457 | 4180 | + | ||
4458 | 4181 | + <resource-env-ref> | ||
4459 | 4182 | + <resource-env-ref-name>jms/StockQueue | ||
4460 | 4183 | + </resource-env-ref-name> | ||
4461 | 4184 | + <resource-env-ref-type>javax.jms.Queue | ||
4462 | 4185 | + </resource-env-ref-type> | ||
4463 | 4186 | + </resource-env-ref> | ||
4464 | 4187 | + | ||
4465 | 4188 | + ]]> | ||
4466 | 4189 | + </xsd:documentation> | ||
4467 | 4190 | + </xsd:annotation> | ||
4468 | 4191 | + | ||
4469 | 4192 | + <xsd:sequence> | ||
4470 | 4193 | + <xsd:element name="description" | ||
4471 | 4194 | + type="javaee:descriptionType" | ||
4472 | 4195 | + minOccurs="0" | ||
4473 | 4196 | + maxOccurs="unbounded"/> | ||
4474 | 4197 | + <xsd:element name="resource-env-ref-name" | ||
4475 | 4198 | + type="javaee:jndi-nameType"> | ||
4476 | 4199 | + <xsd:annotation> | ||
4477 | 4200 | + <xsd:documentation> | ||
4478 | 4201 | + | ||
4479 | 4202 | + The resource-env-ref-name element specifies the name | ||
4480 | 4203 | + of a resource environment reference; its value is | ||
4481 | 4204 | + the environment entry name used in | ||
4482 | 4205 | + the Deployment Component code. The name is a JNDI | ||
4483 | 4206 | + name relative to the java:comp/env context and must | ||
4484 | 4207 | + be unique within a Deployment Component. | ||
4485 | 4208 | + | ||
4486 | 4209 | + </xsd:documentation> | ||
4487 | 4210 | + </xsd:annotation> | ||
4488 | 4211 | + </xsd:element> | ||
4489 | 4212 | + | ||
4490 | 4213 | + <xsd:element name="resource-env-ref-type" | ||
4491 | 4214 | + type="javaee:fully-qualified-classType" | ||
4492 | 4215 | + minOccurs="0"> | ||
4493 | 4216 | + <xsd:annotation> | ||
4494 | 4217 | + <xsd:documentation> | ||
4495 | 4218 | + | ||
4496 | 4219 | + The resource-env-ref-type element specifies the type | ||
4497 | 4220 | + of a resource environment reference. It is the | ||
4498 | 4221 | + fully qualified name of a Java language class or | ||
4499 | 4222 | + interface. | ||
4500 | 4223 | + | ||
4501 | 4224 | + </xsd:documentation> | ||
4502 | 4225 | + </xsd:annotation> | ||
4503 | 4226 | + </xsd:element> | ||
4504 | 4227 | + | ||
4505 | 4228 | + <xsd:group ref="javaee:resourceGroup"/> | ||
4506 | 4229 | + | ||
4507 | 4230 | + </xsd:sequence> | ||
4508 | 4231 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4509 | 4232 | + </xsd:complexType> | ||
4510 | 4233 | + | ||
4511 | 4234 | +<!-- **************************************************** --> | ||
4512 | 4235 | + | ||
4513 | 4236 | + <xsd:complexType name="resource-refType"> | ||
4514 | 4237 | + <xsd:annotation> | ||
4515 | 4238 | + <xsd:documentation> | ||
4516 | 4239 | + <![CDATA[ | ||
4517 | 4240 | + | ||
4518 | 4241 | + The resource-refType contains a declaration of a | ||
4519 | 4242 | + Deployment Component's reference to an external resource. It | ||
4520 | 4243 | + consists of an optional description, the resource manager | ||
4521 | 4244 | + connection factory reference name, an optional indication of | ||
4522 | 4245 | + the resource manager connection factory type expected by the | ||
4523 | 4246 | + Deployment Component code, an optional type of authentication | ||
4524 | 4247 | + (Application or Container), and an optional specification of | ||
4525 | 4248 | + the shareability of connections obtained from the resource | ||
4526 | 4249 | + (Shareable or Unshareable). | ||
4527 | 4250 | + | ||
4528 | 4251 | + It also includes optional elements to define injection of | ||
4529 | 4252 | + the named resource into fields or JavaBeans properties. | ||
4530 | 4253 | + | ||
4531 | 4254 | + The connection factory type must be supplied unless an | ||
4532 | 4255 | + injection target is specified, in which case the type | ||
4533 | 4256 | + of the target is used. If both are specified, the type | ||
4534 | 4257 | + must be assignment compatible with the type of the injection | ||
4535 | 4258 | + target. | ||
4536 | 4259 | + | ||
4537 | 4260 | + Example: | ||
4538 | 4261 | + | ||
4539 | 4262 | + <resource-ref> | ||
4540 | 4263 | + <res-ref-name>jdbc/EmployeeAppDB</res-ref-name> | ||
4541 | 4264 | + <res-type>javax.sql.DataSource</res-type> | ||
4542 | 4265 | + <res-auth>Container</res-auth> | ||
4543 | 4266 | + <res-sharing-scope>Shareable</res-sharing-scope> | ||
4544 | 4267 | + </resource-ref> | ||
4545 | 4268 | + | ||
4546 | 4269 | + ]]> | ||
4547 | 4270 | + </xsd:documentation> | ||
4548 | 4271 | + </xsd:annotation> | ||
4549 | 4272 | + | ||
4550 | 4273 | + <xsd:sequence> | ||
4551 | 4274 | + <xsd:element name="description" | ||
4552 | 4275 | + type="javaee:descriptionType" | ||
4553 | 4276 | + minOccurs="0" | ||
4554 | 4277 | + maxOccurs="unbounded"/> | ||
4555 | 4278 | + <xsd:element name="res-ref-name" | ||
4556 | 4279 | + type="javaee:jndi-nameType"> | ||
4557 | 4280 | + <xsd:annotation> | ||
4558 | 4281 | + <xsd:documentation> | ||
4559 | 4282 | + | ||
4560 | 4283 | + The res-ref-name element specifies the name of a | ||
4561 | 4284 | + resource manager connection factory reference. | ||
4562 | 4285 | + The name is a JNDI name relative to the | ||
4563 | 4286 | + java:comp/env context. | ||
4564 | 4287 | + The name must be unique within a Deployment File. | ||
4565 | 4288 | + | ||
4566 | 4289 | + </xsd:documentation> | ||
4567 | 4290 | + </xsd:annotation> | ||
4568 | 4291 | + </xsd:element> | ||
4569 | 4292 | + | ||
4570 | 4293 | + <xsd:element name="res-type" | ||
4571 | 4294 | + type="javaee:fully-qualified-classType" | ||
4572 | 4295 | + minOccurs="0"> | ||
4573 | 4296 | + <xsd:annotation> | ||
4574 | 4297 | + <xsd:documentation> | ||
4575 | 4298 | + | ||
4576 | 4299 | + The res-type element specifies the type of the data | ||
4577 | 4300 | + source. The type is specified by the fully qualified | ||
4578 | 4301 | + Java language class or interface | ||
4579 | 4302 | + expected to be implemented by the data source. | ||
4580 | 4303 | + | ||
4581 | 4304 | + </xsd:documentation> | ||
4582 | 4305 | + </xsd:annotation> | ||
4583 | 4306 | + </xsd:element> | ||
4584 | 4307 | + | ||
4585 | 4308 | + <xsd:element name="res-auth" | ||
4586 | 4309 | + type="javaee:res-authType" | ||
4587 | 4310 | + minOccurs="0"/> | ||
4588 | 4311 | + | ||
4589 | 4312 | + <xsd:element name="res-sharing-scope" | ||
4590 | 4313 | + type="javaee:res-sharing-scopeType" | ||
4591 | 4314 | + minOccurs="0"/> | ||
4592 | 4315 | + | ||
4593 | 4316 | + <xsd:group ref="javaee:resourceGroup"/> | ||
4594 | 4317 | + | ||
4595 | 4318 | + </xsd:sequence> | ||
4596 | 4319 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4597 | 4320 | + </xsd:complexType> | ||
4598 | 4321 | + | ||
4599 | 4322 | +<!-- **************************************************** --> | ||
4600 | 4323 | + | ||
4601 | 4324 | + <xsd:group name="resourceGroup"> | ||
4602 | 4325 | + <xsd:annotation> | ||
4603 | 4326 | + <xsd:documentation> | ||
4604 | 4327 | + | ||
4605 | 4328 | + This group collects elements that are common to all the | ||
4606 | 4329 | + JNDI resource elements. | ||
4607 | 4330 | + | ||
4608 | 4331 | + </xsd:documentation> | ||
4609 | 4332 | + </xsd:annotation> | ||
4610 | 4333 | + <xsd:sequence> | ||
4611 | 4334 | + <xsd:element name="mapped-name" | ||
4612 | 4335 | + type="javaee:xsdStringType" | ||
4613 | 4336 | + minOccurs="0"> | ||
4614 | 4337 | + <xsd:annotation> | ||
4615 | 4338 | + <xsd:documentation> | ||
4616 | 4339 | + <![CDATA[ | ||
4617 | 4340 | + | ||
4618 | 4341 | + A product specific name that this resource should be | ||
4619 | 4342 | + mapped to. The name of this resource, as defined by the | ||
4620 | 4343 | + resource's name element or defaulted, is a name that is | ||
4621 | 4344 | + local to the application component using the resource. | ||
4622 | 4345 | + (It's a name in the JNDI java:comp/env namespace.) Many | ||
4623 | 4346 | + application servers provide a way to map these local | ||
4624 | 4347 | + names to names of resources known to the application | ||
4625 | 4348 | + server. This mapped name is often a global JNDI name, | ||
4626 | 4349 | + but may be a name of any form. | ||
4627 | 4350 | + | ||
4628 | 4351 | + Application servers are not required to support any | ||
4629 | 4352 | + particular form or type of mapped name, nor the ability | ||
4630 | 4353 | + to use mapped names. The mapped name is | ||
4631 | 4354 | + product-dependent and often installation-dependent. No | ||
4632 | 4355 | + use of a mapped name is portable. | ||
4633 | 4356 | + | ||
4634 | 4357 | + ]]> | ||
4635 | 4358 | + </xsd:documentation> | ||
4636 | 4359 | + </xsd:annotation> | ||
4637 | 4360 | + </xsd:element> | ||
4638 | 4361 | + | ||
4639 | 4362 | + <xsd:element name="injection-target" | ||
4640 | 4363 | + type="javaee:injection-targetType" | ||
4641 | 4364 | + minOccurs="0" | ||
4642 | 4365 | + maxOccurs="unbounded"/> | ||
4643 | 4366 | + </xsd:sequence> | ||
4644 | 4367 | + </xsd:group> | ||
4645 | 4368 | + | ||
4646 | 4369 | +<!-- **************************************************** --> | ||
4647 | 4370 | + | ||
4648 | 4371 | + <xsd:complexType name="role-nameType"> | ||
4649 | 4372 | + <xsd:annotation> | ||
4650 | 4373 | + <xsd:documentation> | ||
4651 | 4374 | + | ||
4652 | 4375 | + The role-nameType designates the name of a security role. | ||
4653 | 4376 | + | ||
4654 | 4377 | + The name must conform to the lexical rules for a token. | ||
4655 | 4378 | + | ||
4656 | 4379 | + </xsd:documentation> | ||
4657 | 4380 | + </xsd:annotation> | ||
4658 | 4381 | + | ||
4659 | 4382 | + <xsd:simpleContent> | ||
4660 | 4383 | + <xsd:restriction base="javaee:string"/> | ||
4661 | 4384 | + </xsd:simpleContent> | ||
4662 | 4385 | + </xsd:complexType> | ||
4663 | 4386 | + | ||
4664 | 4387 | +<!-- **************************************************** --> | ||
4665 | 4388 | + | ||
4666 | 4389 | + <xsd:complexType name="run-asType"> | ||
4667 | 4390 | + <xsd:annotation> | ||
4668 | 4391 | + <xsd:documentation> | ||
4669 | 4392 | + | ||
4670 | 4393 | + The run-asType specifies the run-as identity to be | ||
4671 | 4394 | + used for the execution of a component. It contains an | ||
4672 | 4395 | + optional description, and the name of a security role. | ||
4673 | 4396 | + | ||
4674 | 4397 | + </xsd:documentation> | ||
4675 | 4398 | + </xsd:annotation> | ||
4676 | 4399 | + | ||
4677 | 4400 | + <xsd:sequence> | ||
4678 | 4401 | + <xsd:element name="description" | ||
4679 | 4402 | + type="javaee:descriptionType" | ||
4680 | 4403 | + minOccurs="0" | ||
4681 | 4404 | + maxOccurs="unbounded"/> | ||
4682 | 4405 | + <xsd:element name="role-name" | ||
4683 | 4406 | + type="javaee:role-nameType"/> | ||
4684 | 4407 | + </xsd:sequence> | ||
4685 | 4408 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4686 | 4409 | + </xsd:complexType> | ||
4687 | 4410 | + | ||
4688 | 4411 | +<!-- **************************************************** --> | ||
4689 | 4412 | + | ||
4690 | 4413 | + <xsd:complexType name="security-role-refType"> | ||
4691 | 4414 | + <xsd:annotation> | ||
4692 | 4415 | + <xsd:documentation> | ||
4693 | 4416 | + | ||
4694 | 4417 | + The security-role-refType contains the declaration of a | ||
4695 | 4418 | + security role reference in a component's or a | ||
4696 | 4419 | + Deployment Component's code. The declaration consists of an | ||
4697 | 4420 | + optional description, the security role name used in the | ||
4698 | 4421 | + code, and an optional link to a security role. If the | ||
4699 | 4422 | + security role is not specified, the Deployer must choose an | ||
4700 | 4423 | + appropriate security role. | ||
4701 | 4424 | + | ||
4702 | 4425 | + </xsd:documentation> | ||
4703 | 4426 | + </xsd:annotation> | ||
4704 | 4427 | + | ||
4705 | 4428 | + <xsd:sequence> | ||
4706 | 4429 | + <xsd:element name="description" | ||
4707 | 4430 | + type="javaee:descriptionType" | ||
4708 | 4431 | + minOccurs="0" | ||
4709 | 4432 | + maxOccurs="unbounded"/> | ||
4710 | 4433 | + <xsd:element name="role-name" | ||
4711 | 4434 | + type="javaee:role-nameType"> | ||
4712 | 4435 | + <xsd:annotation> | ||
4713 | 4436 | + <xsd:documentation> | ||
4714 | 4437 | + | ||
4715 | 4438 | + The value of the role-name element must be the String used | ||
4716 | 4439 | + as the parameter to the | ||
4717 | 4440 | + EJBContext.isCallerInRole(String roleName) method or the | ||
4718 | 4441 | + HttpServletRequest.isUserInRole(String role) method. | ||
4719 | 4442 | + | ||
4720 | 4443 | + </xsd:documentation> | ||
4721 | 4444 | + </xsd:annotation> | ||
4722 | 4445 | + </xsd:element> | ||
4723 | 4446 | + | ||
4724 | 4447 | + <xsd:element name="role-link" | ||
4725 | 4448 | + type="javaee:role-nameType" | ||
4726 | 4449 | + minOccurs="0"> | ||
4727 | 4450 | + <xsd:annotation> | ||
4728 | 4451 | + <xsd:documentation> | ||
4729 | 4452 | + | ||
4730 | 4453 | + The role-link element is a reference to a defined | ||
4731 | 4454 | + security role. The role-link element must contain | ||
4732 | 4455 | + the name of one of the security roles defined in the | ||
4733 | 4456 | + security-role elements. | ||
4734 | 4457 | + | ||
4735 | 4458 | + </xsd:documentation> | ||
4736 | 4459 | + </xsd:annotation> | ||
4737 | 4460 | + </xsd:element> | ||
4738 | 4461 | + </xsd:sequence> | ||
4739 | 4462 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4740 | 4463 | + </xsd:complexType> | ||
4741 | 4464 | + | ||
4742 | 4465 | +<!-- **************************************************** --> | ||
4743 | 4466 | + | ||
4744 | 4467 | + <xsd:complexType name="security-roleType"> | ||
4745 | 4468 | + <xsd:annotation> | ||
4746 | 4469 | + <xsd:documentation> | ||
4747 | 4470 | + <![CDATA[ | ||
4748 | 4471 | + | ||
4749 | 4472 | + The security-roleType contains the definition of a security | ||
4750 | 4473 | + role. The definition consists of an optional description of | ||
4751 | 4474 | + the security role, and the security role name. | ||
4752 | 4475 | + | ||
4753 | 4476 | + Example: | ||
4754 | 4477 | + | ||
4755 | 4478 | + <security-role> | ||
4756 | 4479 | + <description> | ||
4757 | 4480 | + This role includes all employees who are authorized | ||
4758 | 4481 | + to access the employee service application. | ||
4759 | 4482 | + </description> | ||
4760 | 4483 | + <role-name>employee</role-name> | ||
4761 | 4484 | + </security-role> | ||
4762 | 4485 | + | ||
4763 | 4486 | + ]]> | ||
4764 | 4487 | + </xsd:documentation> | ||
4765 | 4488 | + </xsd:annotation> | ||
4766 | 4489 | + | ||
4767 | 4490 | + <xsd:sequence> | ||
4768 | 4491 | + <xsd:element name="description" | ||
4769 | 4492 | + type="javaee:descriptionType" | ||
4770 | 4493 | + minOccurs="0" | ||
4771 | 4494 | + maxOccurs="unbounded"/> | ||
4772 | 4495 | + <xsd:element name="role-name" | ||
4773 | 4496 | + type="javaee:role-nameType"/> | ||
4774 | 4497 | + </xsd:sequence> | ||
4775 | 4498 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4776 | 4499 | + </xsd:complexType> | ||
4777 | 4500 | + | ||
4778 | 4501 | +<!-- **************************************************** --> | ||
4779 | 4502 | + | ||
4780 | 4503 | + <xsd:complexType name="string"> | ||
4781 | 4504 | + <xsd:annotation> | ||
4782 | 4505 | + <xsd:documentation> | ||
4783 | 4506 | + | ||
4784 | 4507 | + This is a special string datatype that is defined by Java EE as | ||
4785 | 4508 | + a base type for defining collapsed strings. When schemas | ||
4786 | 4509 | + require trailing/leading space elimination as well as | ||
4787 | 4510 | + collapsing the existing whitespace, this base type may be | ||
4788 | 4511 | + used. | ||
4789 | 4512 | + | ||
4790 | 4513 | + </xsd:documentation> | ||
4791 | 4514 | + </xsd:annotation> | ||
4792 | 4515 | + <xsd:simpleContent> | ||
4793 | 4516 | + <xsd:extension base="xsd:token"> | ||
4794 | 4517 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4795 | 4518 | + </xsd:extension> | ||
4796 | 4519 | + </xsd:simpleContent> | ||
4797 | 4520 | + </xsd:complexType> | ||
4798 | 4521 | + | ||
4799 | 4522 | +<!-- **************************************************** --> | ||
4800 | 4523 | + | ||
4801 | 4524 | + <xsd:complexType name="true-falseType"> | ||
4802 | 4525 | + <xsd:annotation> | ||
4803 | 4526 | + <xsd:documentation> | ||
4804 | 4527 | + | ||
4805 | 4528 | + This simple type designates a boolean with only two | ||
4806 | 4529 | + permissible values | ||
4807 | 4530 | + | ||
4808 | 4531 | + - true | ||
4809 | 4532 | + - false | ||
4810 | 4533 | + | ||
4811 | 4534 | + </xsd:documentation> | ||
4812 | 4535 | + </xsd:annotation> | ||
4813 | 4536 | + <xsd:simpleContent> | ||
4814 | 4537 | + <xsd:restriction base="javaee:xsdBooleanType"> | ||
4815 | 4538 | + <xsd:pattern value="(true|false)"/> | ||
4816 | 4539 | + </xsd:restriction> | ||
4817 | 4540 | + </xsd:simpleContent> | ||
4818 | 4541 | + </xsd:complexType> | ||
4819 | 4542 | + | ||
4820 | 4543 | +<!-- **************************************************** --> | ||
4821 | 4544 | + | ||
4822 | 4545 | + <xsd:complexType name="url-patternType"> | ||
4823 | 4546 | + <xsd:annotation> | ||
4824 | 4547 | + <xsd:documentation> | ||
4825 | 4548 | + | ||
4826 | 4549 | + The url-patternType contains the url pattern of the mapping. | ||
4827 | 4550 | + It must follow the rules specified in Section 11.2 of the | ||
4828 | 4551 | + Servlet API Specification. This pattern is assumed to be in | ||
4829 | 4552 | + URL-decoded form and must not contain CR(#xD) or LF(#xA). | ||
4830 | 4553 | + If it contains those characters, the container must inform | ||
4831 | 4554 | + the developer with a descriptive error message. | ||
4832 | 4555 | + The container must preserve all characters including whitespaces. | ||
4833 | 4556 | + | ||
4834 | 4557 | + </xsd:documentation> | ||
4835 | 4558 | + </xsd:annotation> | ||
4836 | 4559 | + <xsd:simpleContent> | ||
4837 | 4560 | + <xsd:extension base="xsd:string"/> | ||
4838 | 4561 | + </xsd:simpleContent> | ||
4839 | 4562 | + </xsd:complexType> | ||
4840 | 4563 | + | ||
4841 | 4564 | +<!-- **************************************************** --> | ||
4842 | 4565 | + | ||
4843 | 4566 | + <xsd:complexType name="xsdAnyURIType"> | ||
4844 | 4567 | + <xsd:annotation> | ||
4845 | 4568 | + <xsd:documentation> | ||
4846 | 4569 | + | ||
4847 | 4570 | + This type adds an "id" attribute to xsd:anyURI. | ||
4848 | 4571 | + | ||
4849 | 4572 | + </xsd:documentation> | ||
4850 | 4573 | + </xsd:annotation> | ||
4851 | 4574 | + <xsd:simpleContent> | ||
4852 | 4575 | + <xsd:extension base="xsd:anyURI"> | ||
4853 | 4576 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4854 | 4577 | + </xsd:extension> | ||
4855 | 4578 | + </xsd:simpleContent> | ||
4856 | 4579 | + </xsd:complexType> | ||
4857 | 4580 | + | ||
4858 | 4581 | +<!-- **************************************************** --> | ||
4859 | 4582 | + | ||
4860 | 4583 | + <xsd:complexType name="xsdBooleanType"> | ||
4861 | 4584 | + <xsd:annotation> | ||
4862 | 4585 | + <xsd:documentation> | ||
4863 | 4586 | + | ||
4864 | 4587 | + This type adds an "id" attribute to xsd:boolean. | ||
4865 | 4588 | + | ||
4866 | 4589 | + </xsd:documentation> | ||
4867 | 4590 | + </xsd:annotation> | ||
4868 | 4591 | + <xsd:simpleContent> | ||
4869 | 4592 | + <xsd:extension base="xsd:boolean"> | ||
4870 | 4593 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4871 | 4594 | + </xsd:extension> | ||
4872 | 4595 | + </xsd:simpleContent> | ||
4873 | 4596 | + </xsd:complexType> | ||
4874 | 4597 | + | ||
4875 | 4598 | +<!-- **************************************************** --> | ||
4876 | 4599 | + | ||
4877 | 4600 | + <xsd:complexType name="xsdIntegerType"> | ||
4878 | 4601 | + <xsd:annotation> | ||
4879 | 4602 | + <xsd:documentation> | ||
4880 | 4603 | + | ||
4881 | 4604 | + This type adds an "id" attribute to xsd:integer. | ||
4882 | 4605 | + | ||
4883 | 4606 | + </xsd:documentation> | ||
4884 | 4607 | + </xsd:annotation> | ||
4885 | 4608 | + <xsd:simpleContent> | ||
4886 | 4609 | + <xsd:extension base="xsd:integer"> | ||
4887 | 4610 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4888 | 4611 | + </xsd:extension> | ||
4889 | 4612 | + </xsd:simpleContent> | ||
4890 | 4613 | + </xsd:complexType> | ||
4891 | 4614 | + | ||
4892 | 4615 | +<!-- **************************************************** --> | ||
4893 | 4616 | + | ||
4894 | 4617 | + <xsd:complexType name="xsdNMTOKENType"> | ||
4895 | 4618 | + <xsd:annotation> | ||
4896 | 4619 | + <xsd:documentation> | ||
4897 | 4620 | + | ||
4898 | 4621 | + This type adds an "id" attribute to xsd:NMTOKEN. | ||
4899 | 4622 | + | ||
4900 | 4623 | + </xsd:documentation> | ||
4901 | 4624 | + </xsd:annotation> | ||
4902 | 4625 | + <xsd:simpleContent> | ||
4903 | 4626 | + <xsd:extension base="xsd:NMTOKEN"> | ||
4904 | 4627 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4905 | 4628 | + </xsd:extension> | ||
4906 | 4629 | + </xsd:simpleContent> | ||
4907 | 4630 | + </xsd:complexType> | ||
4908 | 4631 | + | ||
4909 | 4632 | +<!-- **************************************************** --> | ||
4910 | 4633 | + | ||
4911 | 4634 | + <xsd:complexType name="xsdNonNegativeIntegerType"> | ||
4912 | 4635 | + <xsd:annotation> | ||
4913 | 4636 | + <xsd:documentation> | ||
4914 | 4637 | + | ||
4915 | 4638 | + This type adds an "id" attribute to xsd:nonNegativeInteger. | ||
4916 | 4639 | + | ||
4917 | 4640 | + </xsd:documentation> | ||
4918 | 4641 | + </xsd:annotation> | ||
4919 | 4642 | + <xsd:simpleContent> | ||
4920 | 4643 | + <xsd:extension base="xsd:nonNegativeInteger"> | ||
4921 | 4644 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4922 | 4645 | + </xsd:extension> | ||
4923 | 4646 | + </xsd:simpleContent> | ||
4924 | 4647 | + </xsd:complexType> | ||
4925 | 4648 | + | ||
4926 | 4649 | +<!-- **************************************************** --> | ||
4927 | 4650 | + | ||
4928 | 4651 | + <xsd:complexType name="xsdPositiveIntegerType"> | ||
4929 | 4652 | + <xsd:annotation> | ||
4930 | 4653 | + <xsd:documentation> | ||
4931 | 4654 | + | ||
4932 | 4655 | + This type adds an "id" attribute to xsd:positiveInteger. | ||
4933 | 4656 | + | ||
4934 | 4657 | + </xsd:documentation> | ||
4935 | 4658 | + </xsd:annotation> | ||
4936 | 4659 | + <xsd:simpleContent> | ||
4937 | 4660 | + <xsd:extension base="xsd:positiveInteger"> | ||
4938 | 4661 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4939 | 4662 | + </xsd:extension> | ||
4940 | 4663 | + </xsd:simpleContent> | ||
4941 | 4664 | + </xsd:complexType> | ||
4942 | 4665 | + | ||
4943 | 4666 | +<!-- **************************************************** --> | ||
4944 | 4667 | + | ||
4945 | 4668 | + <xsd:complexType name="xsdQNameType"> | ||
4946 | 4669 | + <xsd:annotation> | ||
4947 | 4670 | + <xsd:documentation> | ||
4948 | 4671 | + | ||
4949 | 4672 | + This type adds an "id" attribute to xsd:QName. | ||
4950 | 4673 | + | ||
4951 | 4674 | + </xsd:documentation> | ||
4952 | 4675 | + </xsd:annotation> | ||
4953 | 4676 | + <xsd:simpleContent> | ||
4954 | 4677 | + <xsd:extension base="xsd:QName"> | ||
4955 | 4678 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4956 | 4679 | + </xsd:extension> | ||
4957 | 4680 | + </xsd:simpleContent> | ||
4958 | 4681 | + </xsd:complexType> | ||
4959 | 4682 | + | ||
4960 | 4683 | +<!-- **************************************************** --> | ||
4961 | 4684 | + | ||
4962 | 4685 | + <xsd:complexType name="xsdStringType"> | ||
4963 | 4686 | + <xsd:annotation> | ||
4964 | 4687 | + <xsd:documentation> | ||
4965 | 4688 | + | ||
4966 | 4689 | + This type adds an "id" attribute to xsd:string. | ||
4967 | 4690 | + | ||
4968 | 4691 | + </xsd:documentation> | ||
4969 | 4692 | + </xsd:annotation> | ||
4970 | 4693 | + <xsd:simpleContent> | ||
4971 | 4694 | + <xsd:extension base="xsd:string"> | ||
4972 | 4695 | + <xsd:attribute name="id" type="xsd:ID"/> | ||
4973 | 4696 | + </xsd:extension> | ||
4974 | 4697 | + </xsd:simpleContent> | ||
4975 | 4698 | + </xsd:complexType> | ||
4976 | 4699 | + | ||
4977 | 4700 | +</xsd:schema> | ||
4978 | 4701 | + | ||
4979 | 4702 | Index: jenkins-winstone/src/conf/javax/servlet/resources/javaee_web_services_client_1_2.xsd | ||
4980 | 4703 | =================================================================== | ||
4981 | 4704 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
4982 | 4705 | +++ jenkins-winstone/src/conf/javax/servlet/resources/javaee_web_services_client_1_2.xsd 2011-08-18 09:36:00.211504693 +0100 | ||
4983 | 4706 | @@ -0,0 +1,585 @@ | ||
4984 | 4707 | +<?xml version="1.0" encoding="UTF-8"?> | ||
4985 | 4708 | +<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" | ||
4986 | 4709 | + targetNamespace="http://java.sun.com/xml/ns/javaee" | ||
4987 | 4710 | + xmlns:javaee="http://java.sun.com/xml/ns/javaee" | ||
4988 | 4711 | + xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
4989 | 4712 | + elementFormDefault="qualified" | ||
4990 | 4713 | + attributeFormDefault="unqualified" | ||
4991 | 4714 | + version="1.2"> | ||
4992 | 4715 | + <xsd:annotation> | ||
4993 | 4716 | + <xsd:documentation> | ||
4994 | 4717 | + @(#)javaee_web_services_client_1_2.xsds 1.19 02/13/06 | ||
4995 | 4718 | + </xsd:documentation> | ||
4996 | 4719 | + </xsd:annotation> | ||
4997 | 4720 | + | ||
4998 | 4721 | + <xsd:annotation> | ||
4999 | 4722 | + <xsd:documentation> | ||
5000 | 4723 | + |
The diff has been truncated for viewing.