glassfish 0.1.1-universal-java-1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. data/COPYRIGHT +33 -0
  2. data/LICENSE.txt +263 -0
  3. data/README +12 -0
  4. data/bin/asadmin +7 -0
  5. data/bin/asadmin.bat +8 -0
  6. data/bin/glassfish_rails +40 -0
  7. data/config/asadminenv.conf +6 -0
  8. data/config/asenv.bat +28 -0
  9. data/config/asenv.conf +27 -0
  10. data/config/glassfish.container +4 -0
  11. data/domains/domain1/config/admin-keyfile +3 -0
  12. data/domains/domain1/config/cacerts.jks +0 -0
  13. data/domains/domain1/config/default-web.xml +906 -0
  14. data/domains/domain1/config/domain-passwords +0 -0
  15. data/domains/domain1/config/domain.xml +208 -0
  16. data/domains/domain1/config/keyfile +6 -0
  17. data/domains/domain1/config/keystore.jks +0 -0
  18. data/domains/domain1/config/logging.properties +82 -0
  19. data/domains/domain1/config/login.conf +18 -0
  20. data/domains/domain1/config/server.policy +160 -0
  21. data/domains/domain1/config/sun-acc.xml +40 -0
  22. data/domains/domain1/config/wss-server-config-1.0.xml +86 -0
  23. data/domains/domain1/config/wss-server-config-2.0.xml +94 -0
  24. data/domains/domain1/docroot/favicon.gif +0 -0
  25. data/domains/domain1/docroot/index.html +87 -0
  26. data/domains/domain1/master-password +0 -0
  27. data/lib/appclient/appclientlogin.conf +10 -0
  28. data/lib/appclient/client.policy +79 -0
  29. data/lib/appclient/wss-client-config-1.0.xml +84 -0
  30. data/lib/appclient/wss-client-config-2.0.xml +96 -0
  31. data/lib/dtds/application-client_1_2.dtd +292 -0
  32. data/lib/dtds/application-client_1_3.dtd +506 -0
  33. data/lib/dtds/application_1_2.dtd +197 -0
  34. data/lib/dtds/application_1_3.dtd +312 -0
  35. data/lib/dtds/connector_1_0.dtd +561 -0
  36. data/lib/dtds/ejb-jar_1_1.dtd +894 -0
  37. data/lib/dtds/ejb-jar_2_0.dtd +1671 -0
  38. data/lib/dtds/sun-application-client-container_1_0.dtd +123 -0
  39. data/lib/dtds/sun-application-client-container_1_1.dtd +264 -0
  40. data/lib/dtds/sun-application-client-container_1_2.dtd +267 -0
  41. data/lib/dtds/sun-application-client_1_3-0.dtd +57 -0
  42. data/lib/dtds/sun-application-client_1_4-0.dtd +182 -0
  43. data/lib/dtds/sun-application-client_1_4-1.dtd +431 -0
  44. data/lib/dtds/sun-application-client_5_0-0.dtd +495 -0
  45. data/lib/dtds/sun-application_1_3-0.dtd +30 -0
  46. data/lib/dtds/sun-application_1_4-0.dtd +44 -0
  47. data/lib/dtds/sun-application_5_0-0.dtd +51 -0
  48. data/lib/dtds/sun-cmp-mapping_1_0.dtd +100 -0
  49. data/lib/dtds/sun-cmp-mapping_1_1.dtd +99 -0
  50. data/lib/dtds/sun-cmp-mapping_1_2.dtd +106 -0
  51. data/lib/dtds/sun-connector_1_0-0.dtd +66 -0
  52. data/lib/dtds/sun-connector_1_5-0.dtd +62 -0
  53. data/lib/dtds/sun-domain_1_0.dtd +2007 -0
  54. data/lib/dtds/sun-domain_1_1.dtd +3080 -0
  55. data/lib/dtds/sun-domain_1_2.dtd +3697 -0
  56. data/lib/dtds/sun-domain_1_3.dtd +3867 -0
  57. data/lib/dtds/sun-ejb-jar_2_0-0.dtd +449 -0
  58. data/lib/dtds/sun-ejb-jar_2_0-1.dtd +454 -0
  59. data/lib/dtds/sun-ejb-jar_2_1-0.dtd +756 -0
  60. data/lib/dtds/sun-ejb-jar_2_1-1.dtd +1085 -0
  61. data/lib/dtds/sun-ejb-jar_3_0-0.dtd +1113 -0
  62. data/lib/dtds/sun-loadbalancer_1_0.dtd +156 -0
  63. data/lib/dtds/sun-loadbalancer_1_1.dtd +172 -0
  64. data/lib/dtds/sun-resources_1_0.dtd +650 -0
  65. data/lib/dtds/sun-resources_1_1.dtd +650 -0
  66. data/lib/dtds/sun-resources_1_2.dtd +662 -0
  67. data/lib/dtds/sun-resources_1_3.dtd +732 -0
  68. data/lib/dtds/sun-server_1_0.dtd +1056 -0
  69. data/lib/dtds/sun-web-app_2_3-0.dtd +230 -0
  70. data/lib/dtds/sun-web-app_2_3-1.dtd +230 -0
  71. data/lib/dtds/sun-web-app_2_4-0.dtd +466 -0
  72. data/lib/dtds/sun-web-app_2_4-1.dtd +742 -0
  73. data/lib/dtds/sun-web-app_2_5-0.dtd +789 -0
  74. data/lib/dtds/web-app_2_2.dtd +639 -0
  75. data/lib/dtds/web-app_2_3.dtd +1063 -0
  76. data/lib/dtds/web-jsptaglibrary_1_1.dtd +265 -0
  77. data/lib/dtds/web-jsptaglibrary_1_2.dtd +468 -0
  78. data/lib/package-appclient.xml +185 -0
  79. data/lib/processLauncher.properties +25 -0
  80. data/lib/processLauncher.xml +189 -0
  81. data/lib/schemas/XMLSchema.dtd +402 -0
  82. data/lib/schemas/application-client_1_4.xsd +267 -0
  83. data/lib/schemas/application-client_5.xsd +304 -0
  84. data/lib/schemas/application_1_4.xsd +315 -0
  85. data/lib/schemas/application_5.xsd +336 -0
  86. data/lib/schemas/connector_1_5.xsd +1036 -0
  87. data/lib/schemas/datatypes.dtd +203 -0
  88. data/lib/schemas/ejb-jar_2_1.xsd +2208 -0
  89. data/lib/schemas/ejb-jar_3_0.xsd +2706 -0
  90. data/lib/schemas/j2ee_1_4.xsd +1608 -0
  91. data/lib/schemas/j2ee_jaxrpc_mapping_1_1.xsd +886 -0
  92. data/lib/schemas/j2ee_web_services_1_1.xsd +491 -0
  93. data/lib/schemas/j2ee_web_services_client_1_1.xsd +345 -0
  94. data/lib/schemas/javaee_5.xsd +2096 -0
  95. data/lib/schemas/javaee_web_services_1_2.xsd +747 -0
  96. data/lib/schemas/javaee_web_services_client_1_2.xsd +578 -0
  97. data/lib/schemas/jax-rpc-ri-config.xsd +416 -0
  98. data/lib/schemas/jsp_2_0.xsd +308 -0
  99. data/lib/schemas/jsp_2_1.xsd +343 -0
  100. data/lib/schemas/orm_1_0.xsd +1516 -0
  101. data/lib/schemas/persistence_1_0.xsd +260 -0
  102. data/lib/schemas/web-app_2_4.xsd +1234 -0
  103. data/lib/schemas/web-app_2_5.xsd +1271 -0
  104. data/lib/schemas/web-jsptaglibrary_2_0.xsd +1010 -0
  105. data/lib/schemas/web-jsptaglibrary_2_1.xsd +1144 -0
  106. data/lib/schemas/xml.xsd +82 -0
  107. data/modules/admin-cli-10.0-SNAPSHOT.jar +0 -0
  108. data/modules/auto-depends-0.2-SNAPSHOT.jar +0 -0
  109. data/modules/cli-framework-10.0-SNAPSHOT.jar +0 -0
  110. data/modules/common-ee-util-10.0-SNAPSHOT.jar +0 -0
  111. data/modules/common-util-10.0-SNAPSHOT.jar +0 -0
  112. data/modules/config-0.2-SNAPSHOT.jar +0 -0
  113. data/modules/config-api-10.0-SNAPSHOT.jar +0 -0
  114. data/modules/gf-jruby-connector-10.0-SNAPSHOT.jar +0 -0
  115. data/modules/glassfish-10.0-SNAPSHOT.jar +0 -0
  116. data/modules/glassfish-api-10.0-SNAPSHOT.jar +0 -0
  117. data/modules/glassfish.rb +10 -0
  118. data/modules/grizzly-framework-1.7.1.jar +0 -0
  119. data/modules/grizzly-http-1.7.1.jar +0 -0
  120. data/modules/grizzly-http-utils-1.7.1.jar +0 -0
  121. data/modules/grizzly-jruby-1.7.0.jar +0 -0
  122. data/modules/grizzly-jruby-module-1.7.0.jar +0 -0
  123. data/modules/grizzly-module-1.7.1.jar +0 -0
  124. data/modules/grizzly-portunif-1.7.1.jar +0 -0
  125. data/modules/grizzly-rcm-1.7.1.jar +0 -0
  126. data/modules/hk2-0.2-SNAPSHOT.jar +0 -0
  127. data/modules/hk2-core-0.2-SNAPSHOT.jar +0 -0
  128. data/modules/junit-4.3.1.jar +0 -0
  129. data/modules/kernel-10.0-SNAPSHOT.jar +0 -0
  130. data/modules/persistence-api-1.0b.jar +0 -0
  131. data/modules/servlet-api-2.5.jar +0 -0
  132. data/modules/sjsxp-1.0.jar +0 -0
  133. data/modules/stax-api-1.0-2.jar +0 -0
  134. data/modules/tiger-types-1.0.jar +0 -0
  135. metadata +206 -0
@@ -0,0 +1,267 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
4
+ targetNamespace="http://java.sun.com/xml/ns/j2ee"
5
+ xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
6
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7
+ elementFormDefault="qualified"
8
+ attributeFormDefault="unqualified"
9
+ version="1.4">
10
+ <xsd:annotation>
11
+ <xsd:documentation>
12
+ @(#)application-client_1_4.xsds 1.17 02/11/03
13
+ </xsd:documentation>
14
+ </xsd:annotation>
15
+
16
+ <xsd:annotation>
17
+ <xsd:documentation>
18
+
19
+ Copyright 2002 Sun Microsystems, Inc., 901 San Antonio
20
+ Road, Palo Alto, California 94303, U.S.A. All rights
21
+ reserved.
22
+
23
+ Sun Microsystems, Inc. has intellectual property rights
24
+ relating to technology described in this document. In
25
+ particular, and without limitation, these intellectual
26
+ property rights may include one or more of the U.S. patents
27
+ listed at http://www.sun.com/patents and one or more
28
+ additional patents or pending patent applications in the
29
+ U.S. and other countries.
30
+
31
+ This document and the technology which it describes are
32
+ distributed under licenses restricting their use, copying,
33
+ distribution, and decompilation. No part of this document
34
+ may be reproduced in any form by any means without prior
35
+ written authorization of Sun and its licensors, if any.
36
+
37
+ Third-party software, including font technology, is
38
+ copyrighted and licensed from Sun suppliers.
39
+
40
+ Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
41
+ JavaServer Pages, Enterprise JavaBeans and the Java Coffee
42
+ Cup logo are trademarks or registered trademarks of Sun
43
+ Microsystems, Inc. in the U.S. and other countries.
44
+
45
+ Federal Acquisitions: Commercial Software - Government Users
46
+ Subject to Standard License Terms and Conditions.
47
+
48
+ </xsd:documentation>
49
+ </xsd:annotation>
50
+
51
+ <xsd:annotation>
52
+ <xsd:documentation>
53
+ <![CDATA[
54
+
55
+ This is the XML Schema for the application client 1.4
56
+ deployment descriptor. The deployment descriptor must
57
+ be named "META-INF/application-client.xml" in the
58
+ application client's jar file. All application client
59
+ deployment descriptors must indicate the application
60
+ client schema by using the J2EE namespace:
61
+
62
+ http://java.sun.com/xml/ns/j2ee
63
+
64
+ and indicate the version of the schema by
65
+ using the version element as shown below:
66
+
67
+ <application-client xmlns="http://java.sun.com/xml/ns/j2ee"
68
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
69
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
70
+ http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd"
71
+ version="1.4">
72
+ ...
73
+ </application-client>
74
+
75
+ The instance documents may indicate the published version of
76
+ the schema using the xsi:schemaLocation attribute for J2EE
77
+ namespace with the following location:
78
+
79
+ http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd
80
+
81
+ ]]>
82
+ </xsd:documentation>
83
+ </xsd:annotation>
84
+
85
+ <xsd:annotation>
86
+ <xsd:documentation>
87
+
88
+ The following conventions apply to all J2EE
89
+ deployment descriptor elements unless indicated otherwise.
90
+
91
+ - In elements that specify a pathname to a file within the
92
+ same JAR file, relative filenames (i.e., those not
93
+ starting with "/") are considered relative to the root of
94
+ the JAR file's namespace. Absolute filenames (i.e., those
95
+ starting with "/") also specify names in the root of the
96
+ JAR file's namespace. In general, relative names are
97
+ preferred. The exception is .war files where absolute
98
+ names are preferred for consistency with the Servlet API.
99
+
100
+ </xsd:documentation>
101
+ </xsd:annotation>
102
+
103
+ <xsd:include schemaLocation="j2ee_1_4.xsd"/>
104
+
105
+
106
+ <!-- **************************************************** -->
107
+
108
+
109
+ <xsd:element name="application-client" type="j2ee:application-clientType">
110
+ <xsd:annotation>
111
+ <xsd:documentation>
112
+
113
+ The application-client element is the root element of an
114
+ application client deployment descriptor. The application
115
+ client deployment descriptor describes the EJB components
116
+ and external resources referenced by the application
117
+ client.
118
+
119
+ </xsd:documentation>
120
+ </xsd:annotation>
121
+
122
+ <xsd:unique name="env-entry-name-uniqueness">
123
+ <xsd:annotation>
124
+ <xsd:documentation>
125
+
126
+ The env-entry-name element contains the name of an
127
+ application client's environment entry. The name is a JNDI
128
+ name relative to the java:comp/env context. The name must
129
+ be unique within an application client.
130
+
131
+ </xsd:documentation>
132
+ </xsd:annotation>
133
+ <xsd:selector xpath="j2ee:env-entry"/>
134
+ <xsd:field xpath="j2ee:env-entry-name"/>
135
+ </xsd:unique>
136
+
137
+ <xsd:unique name="ejb-ref-name-uniqueness">
138
+ <xsd:annotation>
139
+ <xsd:documentation>
140
+
141
+ The ejb-ref-name element contains the name of an EJB
142
+ reference. The EJB reference is an entry in the application
143
+ client's environment and is relative to the
144
+ java:comp/env context. The name must be unique within the
145
+ application client.
146
+
147
+ It is recommended that name is prefixed with "ejb/".
148
+
149
+ </xsd:documentation>
150
+ </xsd:annotation>
151
+ <xsd:selector xpath="j2ee:ejb-ref"/>
152
+ <xsd:field xpath="j2ee:ejb-ref-name"/>
153
+ </xsd:unique>
154
+
155
+ <xsd:unique name="res-ref-name-uniqueness">
156
+ <xsd:annotation>
157
+ <xsd:documentation>
158
+
159
+ The res-ref-name element specifies the name of a
160
+ resource manager connection factory reference.The name
161
+ is a JNDI name relative to the java:comp/env context.
162
+ The name must be unique within an application client.
163
+
164
+ </xsd:documentation>
165
+ </xsd:annotation>
166
+ <xsd:selector xpath="j2ee:resource-ref"/>
167
+ <xsd:field xpath="j2ee:res-ref-name"/>
168
+ </xsd:unique>
169
+
170
+ <xsd:unique name="resource-env-ref-uniqueness">
171
+ <xsd:annotation>
172
+ <xsd:documentation>
173
+
174
+ The resource-env-ref-name element specifies the name of
175
+ a resource environment reference; its value is the
176
+ environment entry name used in the application client
177
+ code. The name is a JNDI name relative to the
178
+ java:comp/env context and must be unique within an
179
+ application client.
180
+
181
+ </xsd:documentation>
182
+ </xsd:annotation>
183
+ <xsd:selector xpath="j2ee:resource-env-ref"/>
184
+ <xsd:field xpath="j2ee:resource-env-ref-name"/>
185
+ </xsd:unique>
186
+
187
+ <xsd:unique name="message-destination-ref-uniqueness">
188
+ <xsd:annotation>
189
+ <xsd:documentation>
190
+
191
+ The message-destination-ref-name element specifies the
192
+ name of a message destination reference; its value is
193
+ the message destination reference name used in the
194
+ application client code. The name is a JNDI name
195
+ relative to the java:comp/env context and must be unique
196
+ within an application client.
197
+
198
+ </xsd:documentation>
199
+ </xsd:annotation>
200
+ <xsd:selector xpath="j2ee:message-destination-ref"/>
201
+ <xsd:field xpath="j2ee:message-destination-ref-name"/>
202
+ </xsd:unique>
203
+ </xsd:element>
204
+
205
+ <!-- **************************************************** -->
206
+
207
+ <xsd:complexType name="application-clientType">
208
+ <xsd:sequence>
209
+ <xsd:group ref="j2ee:descriptionGroup"/>
210
+ <xsd:element name="env-entry"
211
+ type="j2ee:env-entryType"
212
+ minOccurs="0" maxOccurs="unbounded"/>
213
+ <xsd:element name="ejb-ref"
214
+ type="j2ee:ejb-refType"
215
+ minOccurs="0" maxOccurs="unbounded"/>
216
+ <xsd:group ref="j2ee:service-refGroup"/>
217
+ <xsd:element name="resource-ref"
218
+ type="j2ee:resource-refType"
219
+ minOccurs="0" maxOccurs="unbounded"/>
220
+ <xsd:element name="resource-env-ref"
221
+ type="j2ee:resource-env-refType"
222
+ minOccurs="0" maxOccurs="unbounded"/>
223
+ <xsd:element name="message-destination-ref"
224
+ type="j2ee:message-destination-refType"
225
+ minOccurs="0"
226
+ maxOccurs="unbounded"/>
227
+ <xsd:element name="callback-handler"
228
+ type="j2ee:fully-qualified-classType"
229
+ minOccurs="0">
230
+ <xsd:annotation>
231
+ <xsd:documentation>
232
+
233
+ The callback-handler element names a class provided by
234
+ the application. The class must have a no args
235
+ constructor and must implement the
236
+ javax.security.auth.callback.CallbackHandler
237
+ interface. The class will be instantiated by the
238
+ application client container and used by the container
239
+ to collect authentication information from the user.
240
+
241
+ </xsd:documentation>
242
+ </xsd:annotation>
243
+ </xsd:element>
244
+ <xsd:element name="message-destination"
245
+ type="j2ee:message-destinationType"
246
+ minOccurs="0"
247
+ maxOccurs="unbounded"/>
248
+ </xsd:sequence>
249
+
250
+ <xsd:attribute name="version"
251
+ type="j2ee:dewey-versionType"
252
+ fixed="1.4"
253
+ use="required">
254
+ <xsd:annotation>
255
+ <xsd:documentation>
256
+
257
+ The required value for the version is 1.4.
258
+
259
+ </xsd:documentation>
260
+ </xsd:annotation>
261
+
262
+ </xsd:attribute>
263
+ <xsd:attribute name="id" type="xsd:ID"/>
264
+ </xsd:complexType>
265
+
266
+ </xsd:schema>
267
+
@@ -0,0 +1,304 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
4
+ targetNamespace="http://java.sun.com/xml/ns/javaee"
5
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
6
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7
+ elementFormDefault="qualified"
8
+ attributeFormDefault="unqualified"
9
+ version="5">
10
+ <xsd:annotation>
11
+ <xsd:documentation>
12
+ @(#)application-client_5.xsds 1.26 02/17/06
13
+ </xsd:documentation>
14
+ </xsd:annotation>
15
+
16
+ <xsd:annotation>
17
+ <xsd:documentation>
18
+
19
+ Copyright 2003-2005 Sun Microsystems, Inc.
20
+ 4150 Network Circle
21
+ Santa Clara, California 95054
22
+ U.S.A
23
+ All rights reserved.
24
+
25
+ Sun Microsystems, Inc. has intellectual property rights
26
+ relating to technology described in this document. In
27
+ particular, and without limitation, these intellectual
28
+ property rights may include one or more of the U.S. patents
29
+ listed at http://www.sun.com/patents and one or more
30
+ additional patents or pending patent applications in the
31
+ U.S. and other countries.
32
+
33
+ This document and the technology which it describes are
34
+ distributed under licenses restricting their use, copying,
35
+ distribution, and decompilation. No part of this document
36
+ may be reproduced in any form by any means without prior
37
+ written authorization of Sun and its licensors, if any.
38
+
39
+ Third-party software, including font technology, is
40
+ copyrighted and licensed from Sun suppliers.
41
+
42
+ Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
43
+ JavaServer Pages, Enterprise JavaBeans and the Java Coffee
44
+ Cup logo are trademarks or registered trademarks of Sun
45
+ Microsystems, Inc. in the U.S. and other countries.
46
+
47
+ Federal Acquisitions: Commercial Software - Government Users
48
+ Subject to Standard License Terms and Conditions.
49
+
50
+ </xsd:documentation>
51
+ </xsd:annotation>
52
+
53
+ <xsd:annotation>
54
+ <xsd:documentation>
55
+ <![CDATA[
56
+
57
+ This is the XML Schema for the application client 5
58
+ deployment descriptor. The deployment descriptor must
59
+ be named "META-INF/application-client.xml" in the
60
+ application client's jar file. All application client
61
+ deployment descriptors must indicate the application
62
+ client schema by using the Java EE namespace:
63
+
64
+ http://java.sun.com/xml/ns/javaee
65
+
66
+ and indicate the version of the schema by
67
+ using the version element as shown below:
68
+
69
+ <application-client xmlns="http://java.sun.com/xml/ns/javaee"
70
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
71
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
72
+ http://java.sun.com/xml/ns/javaee/application-client_5.xsd"
73
+ version="5">
74
+ ...
75
+ </application-client>
76
+
77
+ The instance documents may indicate the published version of
78
+ the schema using the xsi:schemaLocation attribute for Java EE
79
+ namespace with the following location:
80
+
81
+ http://java.sun.com/xml/ns/javaee/application-client_5.xsd
82
+
83
+ ]]>
84
+ </xsd:documentation>
85
+ </xsd:annotation>
86
+
87
+ <xsd:annotation>
88
+ <xsd:documentation>
89
+
90
+ The following conventions apply to all Java EE
91
+ deployment descriptor elements unless indicated otherwise.
92
+
93
+ - In elements that specify a pathname to a file within the
94
+ same JAR file, relative filenames (i.e., those not
95
+ starting with "/") are considered relative to the root of
96
+ the JAR file's namespace. Absolute filenames (i.e., those
97
+ starting with "/") also specify names in the root of the
98
+ JAR file's namespace. In general, relative names are
99
+ preferred. The exception is .war files where absolute
100
+ names are preferred for consistency with the Servlet API.
101
+
102
+ </xsd:documentation>
103
+ </xsd:annotation>
104
+
105
+ <xsd:include schemaLocation="javaee_5.xsd"/>
106
+
107
+
108
+ <!-- **************************************************** -->
109
+
110
+ <xsd:element name="application-client" type="javaee:application-clientType">
111
+ <xsd:annotation>
112
+ <xsd:documentation>
113
+
114
+ The application-client element is the root element of an
115
+ application client deployment descriptor. The application
116
+ client deployment descriptor describes the EJB components
117
+ and external resources referenced by the application
118
+ client.
119
+
120
+ </xsd:documentation>
121
+ </xsd:annotation>
122
+
123
+ <xsd:unique name="env-entry-name-uniqueness">
124
+ <xsd:annotation>
125
+ <xsd:documentation>
126
+
127
+ The env-entry-name element contains the name of an
128
+ application client's environment entry. The name is a JNDI
129
+ name relative to the java:comp/env context. The name must
130
+ be unique within an application client.
131
+
132
+ </xsd:documentation>
133
+ </xsd:annotation>
134
+ <xsd:selector xpath="javaee:env-entry"/>
135
+ <xsd:field xpath="javaee:env-entry-name"/>
136
+ </xsd:unique>
137
+
138
+ <xsd:unique name="ejb-ref-name-uniqueness">
139
+ <xsd:annotation>
140
+ <xsd:documentation>
141
+
142
+ The ejb-ref-name element contains the name of an EJB
143
+ reference. The EJB reference is an entry in the application
144
+ client's environment and is relative to the
145
+ java:comp/env context. The name must be unique within the
146
+ application client.
147
+
148
+ It is recommended that name is prefixed with "ejb/".
149
+
150
+ </xsd:documentation>
151
+ </xsd:annotation>
152
+ <xsd:selector xpath="javaee:ejb-ref"/>
153
+ <xsd:field xpath="javaee:ejb-ref-name"/>
154
+ </xsd:unique>
155
+
156
+ <xsd:unique name="res-ref-name-uniqueness">
157
+ <xsd:annotation>
158
+ <xsd:documentation>
159
+
160
+ The res-ref-name element specifies the name of a
161
+ resource manager connection factory reference.The name
162
+ is a JNDI name relative to the java:comp/env context.
163
+ The name must be unique within an application client.
164
+
165
+ </xsd:documentation>
166
+ </xsd:annotation>
167
+ <xsd:selector xpath="javaee:resource-ref"/>
168
+ <xsd:field xpath="javaee:res-ref-name"/>
169
+ </xsd:unique>
170
+
171
+ <xsd:unique name="resource-env-ref-uniqueness">
172
+ <xsd:annotation>
173
+ <xsd:documentation>
174
+
175
+ The resource-env-ref-name element specifies the name of
176
+ a resource environment reference; its value is the
177
+ environment entry name used in the application client
178
+ code. The name is a JNDI name relative to the
179
+ java:comp/env context and must be unique within an
180
+ application client.
181
+
182
+ </xsd:documentation>
183
+ </xsd:annotation>
184
+ <xsd:selector xpath="javaee:resource-env-ref"/>
185
+ <xsd:field xpath="javaee:resource-env-ref-name"/>
186
+ </xsd:unique>
187
+
188
+ <xsd:unique name="message-destination-ref-uniqueness">
189
+ <xsd:annotation>
190
+ <xsd:documentation>
191
+
192
+ The message-destination-ref-name element specifies the
193
+ name of a message destination reference; its value is
194
+ the message destination reference name used in the
195
+ application client code. The name is a JNDI name
196
+ relative to the java:comp/env context and must be unique
197
+ within an application client.
198
+
199
+ </xsd:documentation>
200
+ </xsd:annotation>
201
+ <xsd:selector xpath="javaee:message-destination-ref"/>
202
+ <xsd:field xpath="javaee:message-destination-ref-name"/>
203
+ </xsd:unique>
204
+ </xsd:element>
205
+
206
+ <!-- **************************************************** -->
207
+
208
+ <xsd:complexType name="application-clientType">
209
+ <xsd:sequence>
210
+ <xsd:group ref="javaee:descriptionGroup"/>
211
+ <xsd:element name="env-entry"
212
+ type="javaee:env-entryType"
213
+ minOccurs="0" maxOccurs="unbounded"/>
214
+ <xsd:element name="ejb-ref"
215
+ type="javaee:ejb-refType"
216
+ minOccurs="0" maxOccurs="unbounded"/>
217
+ <xsd:group ref="javaee:service-refGroup"/>
218
+ <xsd:element name="resource-ref"
219
+ type="javaee:resource-refType"
220
+ minOccurs="0" maxOccurs="unbounded"/>
221
+ <xsd:element name="resource-env-ref"
222
+ type="javaee:resource-env-refType"
223
+ minOccurs="0" maxOccurs="unbounded"/>
224
+ <xsd:element name="message-destination-ref"
225
+ type="javaee:message-destination-refType"
226
+ minOccurs="0" maxOccurs="unbounded"/>
227
+ <xsd:element name="persistence-unit-ref"
228
+ type="javaee:persistence-unit-refType"
229
+ minOccurs="0" maxOccurs="unbounded"/>
230
+ <xsd:element name="post-construct"
231
+ type="javaee:lifecycle-callbackType"
232
+ minOccurs="0" maxOccurs="unbounded"/>
233
+ <xsd:element name="pre-destroy"
234
+ type="javaee:lifecycle-callbackType"
235
+ minOccurs="0" maxOccurs="unbounded"/>
236
+ <xsd:element name="callback-handler"
237
+ type="javaee:fully-qualified-classType"
238
+ minOccurs="0">
239
+ <xsd:annotation>
240
+ <xsd:documentation>
241
+
242
+ The callback-handler element names a class provided by
243
+ the application. The class must have a no args
244
+ constructor and must implement the
245
+ javax.security.auth.callback.CallbackHandler
246
+ interface. The class will be instantiated by the
247
+ application client container and used by the container
248
+ to collect authentication information from the user.
249
+
250
+ </xsd:documentation>
251
+ </xsd:annotation>
252
+ </xsd:element>
253
+ <xsd:element name="message-destination"
254
+ type="javaee:message-destinationType"
255
+ minOccurs="0"
256
+ maxOccurs="unbounded"/>
257
+ </xsd:sequence>
258
+
259
+ <xsd:attribute name="version"
260
+ type="javaee:dewey-versionType"
261
+ fixed="5"
262
+ use="required">
263
+ <xsd:annotation>
264
+ <xsd:documentation>
265
+
266
+ The required value for the version is 5.
267
+
268
+ </xsd:documentation>
269
+ </xsd:annotation>
270
+
271
+ </xsd:attribute>
272
+
273
+ <xsd:attribute name="metadata-complete" type="xsd:boolean">
274
+ <xsd:annotation>
275
+ <xsd:documentation>
276
+
277
+ The metadata-complete attribute defines whether this
278
+ deployment descriptor and other related deployment
279
+ descriptors for this module (e.g., web service
280
+ descriptors) are complete, or whether the class
281
+ files available to this module and packaged with
282
+ this application should be examined for annotations
283
+ that specify deployment information.
284
+
285
+ If metadata-complete is set to "true", the deployment
286
+ tool must ignore any annotations that specify deployment
287
+ information, which might be present in the class files
288
+ of the application.
289
+
290
+ If metadata-complete is not specified or is set to
291
+ "false", the deployment tool must examine the class
292
+ files of the application for annotations, as
293
+ specified by the specifications.
294
+
295
+ </xsd:documentation>
296
+ </xsd:annotation>
297
+
298
+ </xsd:attribute>
299
+
300
+ <xsd:attribute name="id" type="xsd:ID"/>
301
+ </xsd:complexType>
302
+
303
+ </xsd:schema>
304
+