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,203 @@
1
+ <!--
2
+ DTD for XML Schemas: Part 2: Datatypes
3
+ $Id: datatypes.dtd,v 1.3 2006/03/25 00:47:55 dochez Exp $
4
+ Note this DTD is NOT normative, or even definitive. - - the
5
+ prose copy in the datatypes REC is the definitive version
6
+ (which shouldn't differ from this one except for this comment
7
+ and entity expansions, but just in case)
8
+ -->
9
+
10
+ <!--
11
+ This DTD cannot be used on its own, it is intended
12
+ only for incorporation in XMLSchema.dtd, q.v.
13
+ -->
14
+
15
+ <!-- Define all the element names, with optional prefix -->
16
+ <!ENTITY % simpleType "%p;simpleType">
17
+ <!ENTITY % restriction "%p;restriction">
18
+ <!ENTITY % list "%p;list">
19
+ <!ENTITY % union "%p;union">
20
+ <!ENTITY % maxExclusive "%p;maxExclusive">
21
+ <!ENTITY % minExclusive "%p;minExclusive">
22
+ <!ENTITY % maxInclusive "%p;maxInclusive">
23
+ <!ENTITY % minInclusive "%p;minInclusive">
24
+ <!ENTITY % totalDigits "%p;totalDigits">
25
+ <!ENTITY % fractionDigits "%p;fractionDigits">
26
+ <!ENTITY % length "%p;length">
27
+ <!ENTITY % minLength "%p;minLength">
28
+ <!ENTITY % maxLength "%p;maxLength">
29
+ <!ENTITY % enumeration "%p;enumeration">
30
+ <!ENTITY % whiteSpace "%p;whiteSpace">
31
+ <!ENTITY % pattern "%p;pattern">
32
+
33
+ <!--
34
+ Customisation entities for the ATTLIST of each element
35
+ type. Define one of these if your schema takes advantage
36
+ of the anyAttribute='##other' in the schema for schemas
37
+ -->
38
+
39
+ <!ENTITY % simpleTypeAttrs "">
40
+ <!ENTITY % restrictionAttrs "">
41
+ <!ENTITY % listAttrs "">
42
+ <!ENTITY % unionAttrs "">
43
+ <!ENTITY % maxExclusiveAttrs "">
44
+ <!ENTITY % minExclusiveAttrs "">
45
+ <!ENTITY % maxInclusiveAttrs "">
46
+ <!ENTITY % minInclusiveAttrs "">
47
+ <!ENTITY % totalDigitsAttrs "">
48
+ <!ENTITY % fractionDigitsAttrs "">
49
+ <!ENTITY % lengthAttrs "">
50
+ <!ENTITY % minLengthAttrs "">
51
+ <!ENTITY % maxLengthAttrs "">
52
+ <!ENTITY % enumerationAttrs "">
53
+ <!ENTITY % whiteSpaceAttrs "">
54
+ <!ENTITY % patternAttrs "">
55
+
56
+ <!-- Define some entities for informative use as attribute
57
+ types -->
58
+ <!ENTITY % URIref "CDATA">
59
+ <!ENTITY % XPathExpr "CDATA">
60
+ <!ENTITY % QName "NMTOKEN">
61
+ <!ENTITY % QNames "NMTOKENS">
62
+ <!ENTITY % NCName "NMTOKEN">
63
+ <!ENTITY % nonNegativeInteger "NMTOKEN">
64
+ <!ENTITY % boolean "(true|false)">
65
+ <!ENTITY % simpleDerivationSet "CDATA">
66
+ <!--
67
+ #all or space-separated list drawn from derivationChoice
68
+ -->
69
+
70
+ <!--
71
+ Note that the use of 'facet' below is less restrictive
72
+ than is really intended: There should in fact be no
73
+ more than one of each of minInclusive, minExclusive,
74
+ maxInclusive, maxExclusive, totalDigits, fractionDigits,
75
+ length, maxLength, minLength within datatype,
76
+ and the min- and max- variants of Inclusive and Exclusive
77
+ are mutually exclusive. On the other hand, pattern and
78
+ enumeration may repeat.
79
+ -->
80
+ <!ENTITY % minBound "(%minInclusive; | %minExclusive;)">
81
+ <!ENTITY % maxBound "(%maxInclusive; | %maxExclusive;)">
82
+ <!ENTITY % bounds "%minBound; | %maxBound;">
83
+ <!ENTITY % numeric "%totalDigits; | %fractionDigits;">
84
+ <!ENTITY % ordered "%bounds; | %numeric;">
85
+ <!ENTITY % unordered
86
+ "%pattern; | %enumeration; | %whiteSpace; | %length; |
87
+ %maxLength; | %minLength;">
88
+ <!ENTITY % facet "%ordered; | %unordered;">
89
+ <!ENTITY % facetAttr
90
+ "value CDATA #REQUIRED
91
+ id ID #IMPLIED">
92
+ <!ENTITY % fixedAttr "fixed %boolean; #IMPLIED">
93
+ <!ENTITY % facetModel "(%annotation;)?">
94
+ <!ELEMENT %simpleType;
95
+ ((%annotation;)?, (%restriction; | %list; | %union;))>
96
+ <!ATTLIST %simpleType;
97
+ name %NCName; #IMPLIED
98
+ final %simpleDerivationSet; #IMPLIED
99
+ id ID #IMPLIED
100
+ %simpleTypeAttrs;>
101
+ <!-- name is required at top level -->
102
+ <!ELEMENT %restriction; ((%annotation;)?,
103
+ (%restriction1; |
104
+ ((%simpleType;)?,(%facet;)*)),
105
+ (%attrDecls;))>
106
+ <!ATTLIST %restriction;
107
+ base %QName; #IMPLIED
108
+ id ID #IMPLIED
109
+ %restrictionAttrs;>
110
+ <!--
111
+ base and simpleType child are mutually exclusive,
112
+ one is required.
113
+
114
+ restriction is shared between simpleType and
115
+ simpleContent and complexContent (in XMLSchema.xsd).
116
+ restriction1 is for the latter cases, when this
117
+ is restricting a complex type, as is attrDecls.
118
+ -->
119
+ <!ELEMENT %list; ((%annotation;)?,(%simpleType;)?)>
120
+ <!ATTLIST %list;
121
+ itemType %QName; #IMPLIED
122
+ id ID #IMPLIED
123
+ %listAttrs;>
124
+ <!--
125
+ itemType and simpleType child are mutually exclusive,
126
+ one is required
127
+ -->
128
+ <!ELEMENT %union; ((%annotation;)?,(%simpleType;)*)>
129
+ <!ATTLIST %union;
130
+ id ID #IMPLIED
131
+ memberTypes %QNames; #IMPLIED
132
+ %unionAttrs;>
133
+ <!--
134
+ At least one item in memberTypes or one simpleType
135
+ child is required
136
+ -->
137
+
138
+ <!ELEMENT %maxExclusive; %facetModel;>
139
+ <!ATTLIST %maxExclusive;
140
+ %facetAttr;
141
+ %fixedAttr;
142
+ %maxExclusiveAttrs;>
143
+ <!ELEMENT %minExclusive; %facetModel;>
144
+ <!ATTLIST %minExclusive;
145
+ %facetAttr;
146
+ %fixedAttr;
147
+ %minExclusiveAttrs;>
148
+
149
+ <!ELEMENT %maxInclusive; %facetModel;>
150
+ <!ATTLIST %maxInclusive;
151
+ %facetAttr;
152
+ %fixedAttr;
153
+ %maxInclusiveAttrs;>
154
+ <!ELEMENT %minInclusive; %facetModel;>
155
+ <!ATTLIST %minInclusive;
156
+ %facetAttr;
157
+ %fixedAttr;
158
+ %minInclusiveAttrs;>
159
+
160
+ <!ELEMENT %totalDigits; %facetModel;>
161
+ <!ATTLIST %totalDigits;
162
+ %facetAttr;
163
+ %fixedAttr;
164
+ %totalDigitsAttrs;>
165
+ <!ELEMENT %fractionDigits; %facetModel;>
166
+ <!ATTLIST %fractionDigits;
167
+ %facetAttr;
168
+ %fixedAttr;
169
+ %fractionDigitsAttrs;>
170
+
171
+ <!ELEMENT %length; %facetModel;>
172
+ <!ATTLIST %length;
173
+ %facetAttr;
174
+ %fixedAttr;
175
+ %lengthAttrs;>
176
+ <!ELEMENT %minLength; %facetModel;>
177
+ <!ATTLIST %minLength;
178
+ %facetAttr;
179
+ %fixedAttr;
180
+ %minLengthAttrs;>
181
+ <!ELEMENT %maxLength; %facetModel;>
182
+ <!ATTLIST %maxLength;
183
+ %facetAttr;
184
+ %fixedAttr;
185
+ %maxLengthAttrs;>
186
+
187
+ <!-- This one can be repeated -->
188
+ <!ELEMENT %enumeration; %facetModel;>
189
+ <!ATTLIST %enumeration;
190
+ %facetAttr;
191
+ %enumerationAttrs;>
192
+
193
+ <!ELEMENT %whiteSpace; %facetModel;>
194
+ <!ATTLIST %whiteSpace;
195
+ %facetAttr;
196
+ %fixedAttr;
197
+ %whiteSpaceAttrs;>
198
+
199
+ <!-- This one can be repeated -->
200
+ <!ELEMENT %pattern; %facetModel;>
201
+ <!ATTLIST %pattern;
202
+ %facetAttr;
203
+ %patternAttrs;>
@@ -0,0 +1,2208 @@
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="2.1">
10
+ <xsd:annotation>
11
+ <xsd:documentation>
12
+ @(#)ejb-jar_2_1.xsds 1.23 08/01/03
13
+ </xsd:documentation>
14
+ </xsd:annotation>
15
+
16
+ <xsd:annotation>
17
+ <xsd:documentation>
18
+
19
+ Copyright 2003 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 EJB 2.1 deployment descriptor.
56
+ The deployment descriptor must be named "META-INF/ejb-jar.xml" in
57
+ the EJB's jar file. All EJB deployment descriptors must indicate
58
+ the ejb-jar schema by using the J2EE namespace:
59
+
60
+ http://java.sun.com/xml/ns/j2ee
61
+
62
+ and by indicating the version of the schema by
63
+ using the version element as shown below:
64
+
65
+ <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee"
66
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
67
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
68
+ http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
69
+ version="2.1">
70
+ ...
71
+ </ejb-jar>
72
+
73
+ The instance documents may indicate the published version of
74
+ the schema using the xsi:schemaLocation attribute for the
75
+ J2EE namespace with the following location:
76
+
77
+ http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd
78
+
79
+ ]]>
80
+ </xsd:documentation>
81
+ </xsd:annotation>
82
+
83
+ <xsd:annotation>
84
+ <xsd:documentation>
85
+
86
+ The following conventions apply to all J2EE
87
+ deployment descriptor elements unless indicated otherwise.
88
+
89
+ - In elements that specify a pathname to a file within the
90
+ same JAR file, relative filenames (i.e., those not
91
+ starting with "/") are considered relative to the root of
92
+ the JAR file's namespace. Absolute filenames (i.e., those
93
+ starting with "/") also specify names in the root of the
94
+ JAR file's namespace. In general, relative names are
95
+ preferred. The exception is .war files where absolute
96
+ names are preferred for consistency with the Servlet API.
97
+
98
+ </xsd:documentation>
99
+ </xsd:annotation>
100
+
101
+ <xsd:include schemaLocation="j2ee_1_4.xsd"/>
102
+
103
+
104
+ <!-- **************************************************** -->
105
+
106
+
107
+ <xsd:element name="ejb-jar" type="j2ee:ejb-jarType">
108
+ <xsd:annotation>
109
+ <xsd:documentation>
110
+
111
+ This is the root of the ejb-jar deployment descriptor.
112
+
113
+ </xsd:documentation>
114
+ </xsd:annotation>
115
+
116
+ <xsd:key name="ejb-name-key">
117
+ <xsd:annotation>
118
+ <xsd:documentation>
119
+
120
+ The ejb-name element contains the name of an enterprise
121
+ bean. The name must be unique within the ejb-jar file.
122
+
123
+ </xsd:documentation>
124
+ </xsd:annotation>
125
+ <xsd:selector xpath="j2ee:enterprise-beans/*"/>
126
+ <xsd:field xpath="j2ee:ejb-name"/>
127
+ </xsd:key>
128
+
129
+ <xsd:keyref name="ejb-name-references"
130
+ refer="j2ee:ejb-name-key">
131
+ <xsd:annotation>
132
+ <xsd:documentation>
133
+
134
+ The keyref indicates the references from
135
+ relationship-role-source must be to a specific ejb-name
136
+ defined within the scope of enterprise-beans element.
137
+
138
+ </xsd:documentation>
139
+ </xsd:annotation>
140
+ <xsd:selector
141
+ xpath=".//j2ee:ejb-relationship-role/j2ee:relationship-role-source"/>
142
+ <xsd:field
143
+ xpath="j2ee:ejb-name"/>
144
+ </xsd:keyref>
145
+
146
+ <xsd:key name="role-name-key">
147
+ <xsd:annotation>
148
+ <xsd:documentation>
149
+
150
+ A role-name-key is specified to allow the references
151
+ from the security-role-refs.
152
+
153
+ </xsd:documentation>
154
+ </xsd:annotation>
155
+ <xsd:selector xpath="j2ee:assembly-descriptor/j2ee:security-role"/>
156
+ <xsd:field xpath="j2ee:role-name"/>
157
+ </xsd:key>
158
+
159
+ <xsd:keyref name="role-name-references"
160
+ refer="j2ee:role-name-key">
161
+ <xsd:annotation>
162
+ <xsd:documentation>
163
+
164
+ The keyref indicates the references from
165
+ security-role-ref to a specified role-name.
166
+
167
+ </xsd:documentation>
168
+ </xsd:annotation>
169
+ <xsd:selector xpath="j2ee:enterprise-beans/*/j2ee:security-role-ref"/>
170
+ <xsd:field xpath="j2ee:role-link"/>
171
+ </xsd:keyref>
172
+ </xsd:element>
173
+
174
+
175
+ <!-- **************************************************** -->
176
+
177
+ <xsd:complexType name="activation-config-propertyType">
178
+ <xsd:annotation>
179
+ <xsd:documentation>
180
+
181
+ The activation-config-propertyType contains a name/value
182
+ configuration property pair for a message-driven bean.
183
+
184
+ The properties that are recognized for a particular
185
+ message-driven bean are determined by the messaging type.
186
+
187
+ </xsd:documentation>
188
+ </xsd:annotation>
189
+
190
+ <xsd:sequence>
191
+ <xsd:element name="activation-config-property-name"
192
+ type="j2ee:xsdStringType">
193
+ <xsd:annotation>
194
+ <xsd:documentation>
195
+
196
+ The activation-config-property-name element contains
197
+ the name for an activation configuration property of
198
+ a message-driven bean.
199
+
200
+ For JMS message-driven beans, the following property
201
+ names are recognized: acknowledgeMode,
202
+ messageSelector, destinationType, subscriptionDurability
203
+
204
+ </xsd:documentation>
205
+ </xsd:annotation>
206
+ </xsd:element>
207
+ <xsd:element name="activation-config-property-value"
208
+ type="j2ee:xsdStringType">
209
+ <xsd:annotation>
210
+ <xsd:documentation>
211
+
212
+ The activation-config-property-value element
213
+ contains the value for an activation configuration
214
+ property of a message-driven bean.
215
+
216
+ </xsd:documentation>
217
+ </xsd:annotation>
218
+ </xsd:element>
219
+ </xsd:sequence>
220
+ <xsd:attribute name="id" type="xsd:ID"/>
221
+ </xsd:complexType>
222
+
223
+ <!-- **************************************************** -->
224
+
225
+ <xsd:complexType name="activation-configType">
226
+ <xsd:annotation>
227
+ <xsd:documentation>
228
+
229
+ The activation-configType defines information about the
230
+ expected configuration properties of the message-driven bean
231
+ in its operational environment. This may include information
232
+ about message acknowledgement, message selector, expected
233
+ destination type, etc.
234
+
235
+ The configuration information is expressed in terms of
236
+ name/value configuration properties.
237
+
238
+ The properties that are recognized for a particular
239
+ message-driven bean are determined by the messaging type.
240
+
241
+ </xsd:documentation>
242
+ </xsd:annotation>
243
+
244
+ <xsd:sequence>
245
+ <xsd:element name="description"
246
+ type="j2ee:descriptionType"
247
+ minOccurs="0"
248
+ maxOccurs="unbounded"/>
249
+ <xsd:element name="activation-config-property"
250
+ type="j2ee:activation-config-propertyType"
251
+ maxOccurs="unbounded"/>
252
+ </xsd:sequence>
253
+ <xsd:attribute name="id" type="xsd:ID"/>
254
+ </xsd:complexType>
255
+
256
+ <!-- **************************************************** -->
257
+
258
+ <xsd:complexType name="assembly-descriptorType">
259
+ <xsd:annotation>
260
+ <xsd:documentation>
261
+
262
+ The assembly-descriptorType defines
263
+ application-assembly information.
264
+
265
+ The application-assembly information consists of the
266
+ following parts: the definition of security roles, the
267
+ definition of method permissions, the definition of
268
+ transaction attributes for enterprise beans with
269
+ container-managed transaction demarcation and a list of
270
+ methods to be excluded from being invoked.
271
+
272
+ All the parts are optional in the sense that they are
273
+ omitted if the lists represented by them are empty.
274
+
275
+ Providing an assembly-descriptor in the deployment
276
+ descriptor is optional for the ejb-jar file producer.
277
+
278
+ </xsd:documentation>
279
+ </xsd:annotation>
280
+
281
+ <xsd:sequence>
282
+ <xsd:element name="security-role"
283
+ type="j2ee:security-roleType"
284
+ minOccurs="0"
285
+ maxOccurs="unbounded"/>
286
+ <xsd:element name="method-permission"
287
+ type="j2ee:method-permissionType"
288
+ minOccurs="0"
289
+ maxOccurs="unbounded"/>
290
+ <xsd:element name="container-transaction"
291
+ type="j2ee:container-transactionType"
292
+ minOccurs="0"
293
+ maxOccurs="unbounded"/>
294
+ <xsd:element name="message-destination"
295
+ type="j2ee:message-destinationType"
296
+ minOccurs="0"
297
+ maxOccurs="unbounded"/>
298
+ <xsd:element name="exclude-list"
299
+ type="j2ee:exclude-listType"
300
+ minOccurs="0"/>
301
+ </xsd:sequence>
302
+ <xsd:attribute name="id" type="xsd:ID"/>
303
+ </xsd:complexType>
304
+
305
+ <!-- **************************************************** -->
306
+
307
+ <xsd:complexType name="cmp-fieldType">
308
+ <xsd:annotation>
309
+ <xsd:documentation>
310
+
311
+ The cmp-fieldType describes a container-managed field. The
312
+ cmp-fieldType contains an optional description of the field,
313
+ and the name of the field.
314
+
315
+ </xsd:documentation>
316
+ </xsd:annotation>
317
+ <xsd:sequence>
318
+ <xsd:element name="description"
319
+ type="j2ee:descriptionType"
320
+ minOccurs="0"
321
+ maxOccurs="unbounded"/>
322
+ <xsd:element name="field-name"
323
+ type="j2ee:java-identifierType">
324
+ <xsd:annotation>
325
+ <xsd:documentation>
326
+
327
+ The field-name element specifies the name of a
328
+ container managed field.
329
+
330
+ The name of the cmp-field of an entity bean with
331
+ cmp-version 2.x must begin with a lowercase
332
+ letter. This field is accessed by methods whose
333
+ names consists of the name of the field specified by
334
+ field-name in which the first letter is uppercased,
335
+ prefixed by "get" or "set".
336
+
337
+ The name of the cmp-field of an entity bean with
338
+ cmp-version 1.x must denote a public field of the
339
+ enterprise bean class or one of its superclasses.
340
+
341
+ </xsd:documentation>
342
+ </xsd:annotation>
343
+ </xsd:element>
344
+ </xsd:sequence>
345
+ <xsd:attribute name="id" type="xsd:ID"/>
346
+ </xsd:complexType>
347
+
348
+ <!-- **************************************************** -->
349
+
350
+ <xsd:complexType name="cmp-versionType">
351
+ <xsd:annotation>
352
+ <xsd:documentation>
353
+
354
+ The cmp-versionType specifies the version of an entity bean
355
+ with container-managed persistence. It is used by
356
+ cmp-version elements.
357
+
358
+ The value must be one of the two following:
359
+
360
+ 1.x
361
+ 2.x
362
+
363
+ </xsd:documentation>
364
+ </xsd:annotation>
365
+ <xsd:simpleContent>
366
+ <xsd:restriction base="j2ee:string">
367
+ <xsd:enumeration value="1.x"/>
368
+ <xsd:enumeration value="2.x"/>
369
+ </xsd:restriction>
370
+ </xsd:simpleContent>
371
+ </xsd:complexType>
372
+
373
+ <!-- **************************************************** -->
374
+
375
+ <xsd:complexType name="cmr-field-typeType">
376
+ <xsd:annotation>
377
+ <xsd:documentation>
378
+
379
+ The cmr-field-type element specifies the class of a
380
+ collection-valued logical relationship field in the entity
381
+ bean class. The value of an element using cmr-field-typeType
382
+ must be either: java.util.Collection or java.util.Set.
383
+
384
+ </xsd:documentation>
385
+ </xsd:annotation>
386
+ <xsd:simpleContent>
387
+ <xsd:restriction base="j2ee:string">
388
+ <xsd:enumeration value="java.util.Collection"/>
389
+ <xsd:enumeration value="java.util.Set"/>
390
+ </xsd:restriction>
391
+ </xsd:simpleContent>
392
+ </xsd:complexType>
393
+
394
+ <!-- **************************************************** -->
395
+
396
+ <xsd:complexType name="cmr-fieldType">
397
+ <xsd:annotation>
398
+ <xsd:documentation>
399
+
400
+ The cmr-fieldType describes the bean provider's view of
401
+ a relationship. It consists of an optional description, and
402
+ the name and the class type of a field in the source of a
403
+ role of a relationship. The cmr-field-name element
404
+ corresponds to the name used for the get and set accessor
405
+ methods for the relationship. The cmr-field-type element is
406
+ used only for collection-valued cmr-fields. It specifies the
407
+ type of the collection that is used.
408
+
409
+ </xsd:documentation>
410
+ </xsd:annotation>
411
+
412
+ <xsd:sequence>
413
+ <xsd:element name="description"
414
+ type="j2ee:descriptionType"
415
+ minOccurs="0"
416
+ maxOccurs="unbounded"/>
417
+ <xsd:element name="cmr-field-name"
418
+ type="j2ee:string">
419
+ <xsd:annotation>
420
+ <xsd:documentation>
421
+
422
+ The cmr-field-name element specifies the name of a
423
+ logical relationship field in the entity bean
424
+ class. The name of the cmr-field must begin with a
425
+ lowercase letter. This field is accessed by methods
426
+ whose names consist of the name of the field
427
+ specified by cmr-field-name in which the first
428
+ letter is uppercased, prefixed by "get" or "set".
429
+
430
+ </xsd:documentation>
431
+ </xsd:annotation>
432
+ </xsd:element>
433
+ <xsd:element name="cmr-field-type"
434
+ type="j2ee:cmr-field-typeType"
435
+ minOccurs="0"/>
436
+ </xsd:sequence>
437
+ <xsd:attribute name="id" type="xsd:ID"/>
438
+ </xsd:complexType>
439
+
440
+ <!-- **************************************************** -->
441
+
442
+ <xsd:complexType name="container-transactionType">
443
+ <xsd:annotation>
444
+ <xsd:documentation>
445
+
446
+ The container-transactionType specifies how the container
447
+ must manage transaction scopes for the enterprise bean's
448
+ method invocations. It defines an optional description, a
449
+ list of method elements, and a transaction attribute. The
450
+ transaction attribute is to be applied to all the specified
451
+ methods.
452
+
453
+ </xsd:documentation>
454
+ </xsd:annotation>
455
+
456
+ <xsd:sequence>
457
+ <xsd:element name="description"
458
+ type="j2ee:descriptionType"
459
+ minOccurs="0"
460
+ maxOccurs="unbounded"/>
461
+ <xsd:element name="method"
462
+ type="j2ee:methodType"
463
+ maxOccurs="unbounded"/>
464
+ <xsd:element name="trans-attribute"
465
+ type="j2ee:trans-attributeType"/>
466
+ </xsd:sequence>
467
+ <xsd:attribute name="id" type="xsd:ID"/>
468
+ </xsd:complexType>
469
+
470
+ <!-- **************************************************** -->
471
+
472
+ <xsd:complexType name="ejb-classType">
473
+ <xsd:annotation>
474
+ <xsd:documentation>
475
+ <![CDATA[
476
+
477
+ The ejb-classType contains the fully-qualified name of the
478
+ enterprise bean's class. It is used by ejb-class elements.
479
+
480
+ Example:
481
+
482
+ <ejb-class>com.wombat.empl.EmployeeServiceBean</ejb-class>
483
+
484
+ ]]>
485
+ </xsd:documentation>
486
+ </xsd:annotation>
487
+ <xsd:simpleContent>
488
+ <xsd:restriction base="j2ee:fully-qualified-classType"/>
489
+ </xsd:simpleContent>
490
+ </xsd:complexType>
491
+
492
+ <!-- **************************************************** -->
493
+
494
+ <xsd:complexType name="ejb-jarType">
495
+ <xsd:annotation>
496
+ <xsd:documentation>
497
+
498
+ The ejb-jarType defines the root element of the EJB
499
+ deployment descriptor. It contains
500
+
501
+ - an optional description of the ejb-jar file
502
+ - an optional display name
503
+ - an optional icon that contains a small and a large
504
+ icon file name
505
+ - mandatory structural information about all included
506
+ enterprise beans
507
+ - a descriptor for container managed relationships,
508
+ if any
509
+ - an optional application-assembly descriptor
510
+ - an optional name of an ejb-client-jar file for the
511
+ ejb-jar.
512
+
513
+ </xsd:documentation>
514
+ </xsd:annotation>
515
+
516
+ <xsd:sequence>
517
+ <xsd:group ref="j2ee:descriptionGroup"/>
518
+ <xsd:element name="enterprise-beans"
519
+ type="j2ee:enterprise-beansType"/>
520
+ <xsd:element name="relationships"
521
+ type="j2ee:relationshipsType"
522
+ minOccurs="0">
523
+ <xsd:unique name="relationship-name-uniqueness">
524
+ <xsd:annotation>
525
+ <xsd:documentation>
526
+
527
+ The ejb-relation-name contains the name of a
528
+ relation. The name must be unique within
529
+ relationships.
530
+
531
+ </xsd:documentation>
532
+ </xsd:annotation>
533
+ <xsd:selector xpath="j2ee:ejb-relation"/>
534
+ <xsd:field xpath="j2ee:ejb-relation-name"/>
535
+ </xsd:unique>
536
+ </xsd:element>
537
+ <xsd:element name="assembly-descriptor"
538
+ type="j2ee:assembly-descriptorType"
539
+ minOccurs="0">
540
+ <xsd:annotation>
541
+ <xsd:documentation>
542
+
543
+ Providing an assembly-descriptor in the deployment
544
+ descriptor is optional for the ejb-jar file
545
+ producer.
546
+
547
+ </xsd:documentation>
548
+ </xsd:annotation>
549
+ </xsd:element>
550
+ <xsd:element name="ejb-client-jar"
551
+ type="j2ee:pathType"
552
+ minOccurs="0">
553
+ <xsd:annotation>
554
+ <xsd:documentation>
555
+ <![CDATA[
556
+
557
+ The optional ejb-client-jar element specifies a JAR
558
+ file that contains the class files necessary for a
559
+ client program to access the
560
+ enterprise beans in the ejb-jar file.
561
+
562
+ Example:
563
+
564
+ <ejb-client-jar>employee_service_client.jar
565
+ </ejb-client-jar>
566
+
567
+ ]]>
568
+ </xsd:documentation>
569
+ </xsd:annotation>
570
+ </xsd:element>
571
+ </xsd:sequence>
572
+ <xsd:attribute name="version"
573
+ type="j2ee:dewey-versionType"
574
+ fixed="2.1"
575
+ use="required">
576
+ <xsd:annotation>
577
+ <xsd:documentation>
578
+
579
+ The version specifies the version of the
580
+ EJB specification that the instance document must
581
+ comply with. This information enables deployment tools
582
+ to validate a particular EJB Deployment
583
+ Descriptor with respect to a specific version of the EJB
584
+ schema.
585
+
586
+ </xsd:documentation>
587
+ </xsd:annotation>
588
+ </xsd:attribute>
589
+ <xsd:attribute name="id" type="xsd:ID"/>
590
+ </xsd:complexType>
591
+
592
+ <!-- **************************************************** -->
593
+
594
+ <xsd:complexType name="ejb-nameType">
595
+ <xsd:annotation>
596
+ <xsd:documentation>
597
+ <![CDATA[
598
+
599
+ The ejb-nameType specifies an enterprise bean's name. It is
600
+ used by ejb-name elements. This name is assigned by the
601
+ ejb-jar file producer to name the enterprise bean in the
602
+ ejb-jar file's deployment descriptor. The name must be
603
+ unique among the names of the enterprise beans in the same
604
+ ejb-jar file.
605
+
606
+ There is no architected relationship between the used
607
+ ejb-name in the deployment descriptor and the JNDI name that
608
+ the Deployer will assign to the enterprise bean's home.
609
+
610
+ The name for an entity bean must conform to the lexical
611
+ rules for an NMTOKEN.
612
+
613
+ Example:
614
+
615
+ <ejb-name>EmployeeService</ejb-name>
616
+
617
+ ]]>
618
+ </xsd:documentation>
619
+ </xsd:annotation>
620
+ <xsd:simpleContent>
621
+ <xsd:restriction base="j2ee:xsdNMTOKENType"/>
622
+ </xsd:simpleContent>
623
+ </xsd:complexType>
624
+
625
+ <!-- **************************************************** -->
626
+
627
+ <xsd:complexType name="ejb-relationType">
628
+ <xsd:annotation>
629
+ <xsd:documentation>
630
+
631
+ The ejb-relationType describes a relationship between two
632
+ entity beans with container-managed persistence. It is used
633
+ by ejb-relation elements. It contains a description; an
634
+ optional ejb-relation-name element; and exactly two
635
+ relationship role declarations, defined by the
636
+ ejb-relationship-role elements. The name of the
637
+ relationship, if specified, is unique within the ejb-jar
638
+ file.
639
+
640
+ </xsd:documentation>
641
+ </xsd:annotation>
642
+
643
+ <xsd:sequence>
644
+ <xsd:element name="description"
645
+ type="j2ee:descriptionType"
646
+ minOccurs="0"
647
+ maxOccurs="unbounded"/>
648
+ <xsd:element name="ejb-relation-name"
649
+ type="j2ee:string"
650
+ minOccurs="0">
651
+ <xsd:annotation>
652
+ <xsd:documentation>
653
+
654
+ The ejb-relation-name element provides a unique name
655
+ within the ejb-jar file for a relationship.
656
+
657
+ </xsd:documentation>
658
+ </xsd:annotation>
659
+ </xsd:element>
660
+ <xsd:element name="ejb-relationship-role"
661
+ type="j2ee:ejb-relationship-roleType"/>
662
+ <xsd:element name="ejb-relationship-role"
663
+ type="j2ee:ejb-relationship-roleType"/>
664
+ </xsd:sequence>
665
+ <xsd:attribute name="id" type="xsd:ID"/>
666
+ </xsd:complexType>
667
+
668
+ <!-- **************************************************** -->
669
+
670
+ <xsd:complexType name="ejb-relationship-roleType">
671
+ <xsd:annotation>
672
+ <xsd:documentation>
673
+ <![CDATA[
674
+
675
+ The ejb-relationship-roleType describes a role within a
676
+ relationship. There are two roles in each relationship.
677
+
678
+ The ejb-relationship-roleType contains an optional
679
+ description; an optional name for the relationship role; a
680
+ specification of the multiplicity of the role; an optional
681
+ specification of cascade-delete functionality for the role;
682
+ the role source; and a declaration of the cmr-field, if any,
683
+ by means of which the other side of the relationship is
684
+ accessed from the perspective of the role source.
685
+
686
+ The multiplicity and role-source element are mandatory.
687
+
688
+ The relationship-role-source element designates an entity
689
+ bean by means of an ejb-name element. For bidirectional
690
+ relationships, both roles of a relationship must declare a
691
+ relationship-role-source element that specifies a cmr-field
692
+ in terms of which the relationship is accessed. The lack of
693
+ a cmr-field element in an ejb-relationship-role specifies
694
+ that the relationship is unidirectional in navigability and
695
+ the entity bean that participates in the relationship is
696
+ "not aware" of the relationship.
697
+
698
+ Example:
699
+
700
+ <ejb-relation>
701
+ <ejb-relation-name>Product-LineItem</ejb-relation-name>
702
+ <ejb-relationship-role>
703
+ <ejb-relationship-role-name>product-has-lineitems
704
+ </ejb-relationship-role-name>
705
+ <multiplicity>One</multiplicity>
706
+ <relationship-role-source>
707
+ <ejb-name>ProductEJB</ejb-name>
708
+ </relationship-role-source>
709
+ </ejb-relationship-role>
710
+ </ejb-relation>
711
+
712
+ ]]>
713
+ </xsd:documentation>
714
+ </xsd:annotation>
715
+
716
+ <xsd:sequence>
717
+ <xsd:element name="description"
718
+ type="j2ee:descriptionType"
719
+ minOccurs="0"
720
+ maxOccurs="unbounded"/>
721
+ <xsd:element name="ejb-relationship-role-name"
722
+ type="j2ee:string"
723
+ minOccurs="0">
724
+ <xsd:annotation>
725
+ <xsd:documentation>
726
+
727
+ The ejb-relationship-role-name element defines a
728
+ name for a role that is unique within an
729
+ ejb-relation. Different relationships can use the
730
+ same name for a role.
731
+
732
+ </xsd:documentation>
733
+ </xsd:annotation>
734
+ </xsd:element>
735
+ <xsd:element name="multiplicity"
736
+ type="j2ee:multiplicityType"/>
737
+ <xsd:element name="cascade-delete"
738
+ type="j2ee:emptyType"
739
+ minOccurs="0">
740
+ <xsd:annotation>
741
+ <xsd:documentation>
742
+
743
+ The cascade-delete element specifies that, within a
744
+ particular relationship, the lifetime of one or more
745
+ entity beans is dependent upon the lifetime of
746
+ another entity bean. The cascade-delete element can
747
+ only be specified for an ejb-relationship-role
748
+ element contained in an ejb-relation element in
749
+ which the other ejb-relationship-role
750
+ element specifies a multiplicity of One.
751
+
752
+ </xsd:documentation>
753
+ </xsd:annotation>
754
+ </xsd:element>
755
+ <xsd:element name="relationship-role-source"
756
+ type="j2ee:relationship-role-sourceType"/>
757
+ <xsd:element name="cmr-field"
758
+ type="j2ee:cmr-fieldType"
759
+ minOccurs="0"/>
760
+ </xsd:sequence>
761
+ <xsd:attribute name="id" type="xsd:ID"/>
762
+ </xsd:complexType>
763
+
764
+ <!-- **************************************************** -->
765
+
766
+ <xsd:complexType name="enterprise-beansType">
767
+ <xsd:annotation>
768
+ <xsd:documentation>
769
+
770
+ The enterprise-beansType declares one or more enterprise
771
+ beans. Each bean can be a session, entity or message-driven
772
+ bean.
773
+
774
+ </xsd:documentation>
775
+ </xsd:annotation>
776
+
777
+ <xsd:choice maxOccurs="unbounded">
778
+ <xsd:element name="session"
779
+ type="j2ee:session-beanType">
780
+ <xsd:unique name="session-ejb-local-ref-name-uniqueness">
781
+ <xsd:annotation>
782
+ <xsd:documentation>
783
+
784
+ The ejb-ref-name element contains the name of
785
+ an EJB reference. The EJB reference is an entry in
786
+ the component's environment and is relative to the
787
+ java:comp/env context. The name must be unique within
788
+ the component.
789
+
790
+ It is recommended that name be prefixed with "ejb/".
791
+
792
+ </xsd:documentation>
793
+ </xsd:annotation>
794
+ <xsd:selector xpath="j2ee:ejb-local-ref"/>
795
+ <xsd:field xpath="j2ee:ejb-ref-name"/>
796
+ </xsd:unique>
797
+
798
+ <xsd:unique name="session-ejb-ref-name-uniqueness">
799
+ <xsd:annotation>
800
+ <xsd:documentation>
801
+
802
+ The ejb-ref-name element contains the name of an EJB
803
+ reference. The EJB reference is an entry in the
804
+ component's environment and is relative to the
805
+ java:comp/env context. The name must be unique
806
+ within the component.
807
+
808
+ It is recommended that name is prefixed with "ejb/".
809
+
810
+ </xsd:documentation>
811
+ </xsd:annotation>
812
+ <xsd:selector xpath="j2ee:ejb-ref"/>
813
+ <xsd:field xpath="j2ee:ejb-ref-name"/>
814
+ </xsd:unique>
815
+
816
+ <xsd:unique name="session-resource-env-ref-uniqueness">
817
+ <xsd:annotation>
818
+ <xsd:documentation>
819
+
820
+ The resource-env-ref-name element specifies the name
821
+ of a resource environment reference; its value is
822
+ the environment entry name used in the component
823
+ code. The name is a JNDI name relative to the
824
+ java:comp/env context and must be unique within an
825
+ component.
826
+
827
+ </xsd:documentation>
828
+ </xsd:annotation>
829
+ <xsd:selector xpath="j2ee:resource-env-ref"/>
830
+ <xsd:field xpath="j2ee:resource-env-ref-name"/>
831
+ </xsd:unique>
832
+
833
+ <xsd:unique name="session-message-destination-ref-uniqueness">
834
+ <xsd:annotation>
835
+ <xsd:documentation>
836
+
837
+ The message-destination-ref-name element specifies the name
838
+ of a message destination reference; its value is
839
+ the message destination reference name used in the component
840
+ code. The name is a JNDI name relative to the
841
+ java:comp/env context and must be unique within an
842
+ component.
843
+
844
+ </xsd:documentation>
845
+ </xsd:annotation>
846
+ <xsd:selector xpath="j2ee:message-destination-ref"/>
847
+ <xsd:field xpath="j2ee:message-destination-ref-name"/>
848
+ </xsd:unique>
849
+
850
+ <xsd:unique name="session-res-ref-name-uniqueness">
851
+ <xsd:annotation>
852
+ <xsd:documentation>
853
+
854
+ The res-ref-name element specifies the name of a
855
+ resource manager connection factory reference. The name
856
+ is a JNDI name relative to the java:comp/env context.
857
+ The name must be unique within an component.
858
+
859
+ </xsd:documentation>
860
+ </xsd:annotation>
861
+ <xsd:selector xpath="j2ee:resource-ref"/>
862
+ <xsd:field xpath="j2ee:res-ref-name"/>
863
+ </xsd:unique>
864
+
865
+ <xsd:unique name="session-env-entry-name-uniqueness">
866
+ <xsd:annotation>
867
+ <xsd:documentation>
868
+
869
+ The env-entry-name element contains the name of a
870
+ component's environment entry. The name is a JNDI
871
+ name relative to the java:comp/env context. The
872
+ name must be unique within an component.
873
+
874
+ </xsd:documentation>
875
+ </xsd:annotation>
876
+ <xsd:selector xpath="j2ee:env-entry"/>
877
+ <xsd:field xpath="j2ee:env-entry-name"/>
878
+ </xsd:unique>
879
+ </xsd:element>
880
+
881
+ <xsd:element name="entity"
882
+ type="j2ee:entity-beanType">
883
+ <xsd:unique name="entity-ejb-local-ref-name-uniqueness">
884
+ <xsd:annotation>
885
+ <xsd:documentation>
886
+
887
+ The ejb-ref-name element contains the name of
888
+ an EJB reference. The EJB reference is an entry in
889
+ the component's environment and is relative to the
890
+ java:comp/env context. The name must be unique within
891
+ the component.
892
+
893
+ It is recommended that name be prefixed with "ejb/".
894
+
895
+ </xsd:documentation>
896
+ </xsd:annotation>
897
+ <xsd:selector xpath="j2ee:ejb-local-ref"/>
898
+ <xsd:field xpath="j2ee:ejb-ref-name"/>
899
+ </xsd:unique>
900
+
901
+ <xsd:unique name="entity-ejb-ref-name-uniqueness">
902
+ <xsd:annotation>
903
+ <xsd:documentation>
904
+
905
+ The ejb-ref-name element contains the name of an EJB
906
+ reference. The EJB reference is an entry in the
907
+ component's environment and is relative to the
908
+ java:comp/env context. The name must be unique
909
+ within the component.
910
+
911
+ It is recommended that name is prefixed with "ejb/".
912
+
913
+ </xsd:documentation>
914
+ </xsd:annotation>
915
+ <xsd:selector xpath="j2ee:ejb-ref"/>
916
+ <xsd:field xpath="j2ee:ejb-ref-name"/>
917
+ </xsd:unique>
918
+
919
+ <xsd:unique name="entity-resource-env-ref-uniqueness">
920
+ <xsd:annotation>
921
+ <xsd:documentation>
922
+
923
+ The resource-env-ref-name element specifies the name
924
+ of a resource environment reference; its value is
925
+ the environment entry name used in the component
926
+ code. The name is a JNDI name relative to the
927
+ java:comp/env context and must be unique within an
928
+ component.
929
+
930
+ </xsd:documentation>
931
+ </xsd:annotation>
932
+ <xsd:selector xpath="j2ee:resource-env-ref"/>
933
+ <xsd:field xpath="j2ee:resource-env-ref-name"/>
934
+ </xsd:unique>
935
+
936
+ <xsd:unique name="entity-message-destination-ref-uniqueness">
937
+ <xsd:annotation>
938
+ <xsd:documentation>
939
+
940
+ The message-destination-ref-name element specifies the name
941
+ of a message destination reference; its value is
942
+ the message destination reference name used in the component
943
+ code. The name is a JNDI name relative to the
944
+ java:comp/env context and must be unique within an
945
+ component.
946
+
947
+ </xsd:documentation>
948
+ </xsd:annotation>
949
+ <xsd:selector xpath="j2ee:message-destination-ref"/>
950
+ <xsd:field xpath="j2ee:message-destination-ref-name"/>
951
+ </xsd:unique>
952
+
953
+ <xsd:unique name="entity-res-ref-name-uniqueness">
954
+ <xsd:annotation>
955
+ <xsd:documentation>
956
+
957
+ The res-ref-name element specifies the name of a
958
+ resource manager connection factory reference. The name
959
+ is a JNDI name relative to the java:comp/env context.
960
+ The name must be unique within an component.
961
+
962
+ </xsd:documentation>
963
+ </xsd:annotation>
964
+ <xsd:selector xpath="j2ee:resource-ref"/>
965
+ <xsd:field xpath="j2ee:res-ref-name"/>
966
+ </xsd:unique>
967
+
968
+ <xsd:unique name="entity-env-entry-name-uniqueness">
969
+ <xsd:annotation>
970
+ <xsd:documentation>
971
+
972
+ The env-entry-name element contains the name of a
973
+ component's environment entry. The name is a JNDI
974
+ name relative to the java:comp/env context. The
975
+ name must be unique within an component.
976
+
977
+ </xsd:documentation>
978
+ </xsd:annotation>
979
+ <xsd:selector xpath="j2ee:env-entry"/>
980
+ <xsd:field xpath="j2ee:env-entry-name"/>
981
+ </xsd:unique>
982
+ </xsd:element>
983
+
984
+ <xsd:element name="message-driven"
985
+ type="j2ee:message-driven-beanType">
986
+ <xsd:unique name="messaged-ejb-local-ref-name-uniqueness">
987
+ <xsd:annotation>
988
+ <xsd:documentation>
989
+
990
+ The ejb-ref-name element contains the name of
991
+ an EJB reference. The EJB reference is an entry in
992
+ the component's environment and is relative to the
993
+ java:comp/env context. The name must be unique within
994
+ the component.
995
+
996
+ It is recommended that name be prefixed with "ejb/".
997
+
998
+ </xsd:documentation>
999
+ </xsd:annotation>
1000
+ <xsd:selector xpath="j2ee:ejb-local-ref"/>
1001
+ <xsd:field xpath="j2ee:ejb-ref-name"/>
1002
+ </xsd:unique>
1003
+
1004
+ <xsd:unique name="messaged-ejb-ref-name-uniqueness">
1005
+ <xsd:annotation>
1006
+ <xsd:documentation>
1007
+
1008
+ The ejb-ref-name element contains the name of an EJB
1009
+ reference. The EJB reference is an entry in the
1010
+ component's environment and is relative to the
1011
+ java:comp/env context. The name must be unique
1012
+ within the component.
1013
+
1014
+ It is recommended that name is prefixed with "ejb/".
1015
+
1016
+ </xsd:documentation>
1017
+ </xsd:annotation>
1018
+ <xsd:selector xpath="j2ee:ejb-ref"/>
1019
+ <xsd:field xpath="j2ee:ejb-ref-name"/>
1020
+ </xsd:unique>
1021
+
1022
+ <xsd:unique name="messaged-resource-env-ref-uniqueness">
1023
+ <xsd:annotation>
1024
+ <xsd:documentation>
1025
+
1026
+ The resource-env-ref-name element specifies the name
1027
+ of a resource environment reference; its value is
1028
+ the environment entry name used in the component
1029
+ code. The name is a JNDI name relative to the
1030
+ java:comp/env context and must be unique within an
1031
+ component.
1032
+
1033
+ </xsd:documentation>
1034
+ </xsd:annotation>
1035
+ <xsd:selector xpath="j2ee:resource-env-ref"/>
1036
+ <xsd:field xpath="j2ee:resource-env-ref-name"/>
1037
+ </xsd:unique>
1038
+
1039
+ <xsd:unique name="messaged-message-destination-ref-uniqueness">
1040
+ <xsd:annotation>
1041
+ <xsd:documentation>
1042
+
1043
+ The message-destination-ref-name element specifies the name
1044
+ of a message destination reference; its value is
1045
+ the message destination reference name used in the component
1046
+ code. The name is a JNDI name relative to the
1047
+ java:comp/env context and must be unique within an
1048
+ component.
1049
+
1050
+ </xsd:documentation>
1051
+ </xsd:annotation>
1052
+ <xsd:selector xpath="j2ee:message-destination-ref"/>
1053
+ <xsd:field xpath="j2ee:message-destination-ref-name"/>
1054
+ </xsd:unique>
1055
+
1056
+ <xsd:unique name="messaged-res-ref-name-uniqueness">
1057
+ <xsd:annotation>
1058
+ <xsd:documentation>
1059
+
1060
+ The res-ref-name element specifies the name of a
1061
+ resource manager connection factory reference. The name
1062
+ is a JNDI name relative to the java:comp/env context.
1063
+ The name must be unique within an component.
1064
+
1065
+ </xsd:documentation>
1066
+ </xsd:annotation>
1067
+ <xsd:selector xpath="j2ee:resource-ref"/>
1068
+ <xsd:field xpath="j2ee:res-ref-name"/>
1069
+ </xsd:unique>
1070
+
1071
+ <xsd:unique name="messaged-env-entry-name-uniqueness">
1072
+ <xsd:annotation>
1073
+ <xsd:documentation>
1074
+
1075
+ The env-entry-name element contains the name of a
1076
+ component's environment entry. The name is a JNDI
1077
+ name relative to the java:comp/env context. The
1078
+ name must be unique within an component.
1079
+
1080
+ </xsd:documentation>
1081
+ </xsd:annotation>
1082
+ <xsd:selector xpath="j2ee:env-entry"/>
1083
+ <xsd:field xpath="j2ee:env-entry-name"/>
1084
+ </xsd:unique>
1085
+ </xsd:element>
1086
+
1087
+ </xsd:choice>
1088
+ <xsd:attribute name="id" type="xsd:ID"/>
1089
+ </xsd:complexType>
1090
+
1091
+ <!-- **************************************************** -->
1092
+
1093
+ <xsd:complexType name="entity-beanType">
1094
+ <xsd:annotation>
1095
+ <xsd:documentation>
1096
+
1097
+ The entity-beanType declares an entity bean. The declaration
1098
+ consists of:
1099
+
1100
+ - an optional description
1101
+ - an optional display name
1102
+ - an optional icon element that contains a small and a large
1103
+ icon file name
1104
+ - a unique name assigned to the enterprise bean
1105
+ in the deployment descriptor
1106
+ - the names of the entity bean's remote home
1107
+ and remote interfaces, if any
1108
+ - the names of the entity bean's local home and local
1109
+ interfaces, if any
1110
+ - the entity bean's implementation class
1111
+ - the entity bean's persistence management type
1112
+ - the entity bean's primary key class name
1113
+ - an indication of the entity bean's reentrancy
1114
+ - an optional specification of the
1115
+ entity bean's cmp-version
1116
+ - an optional specification of the entity bean's
1117
+ abstract schema name
1118
+ - an optional list of container-managed fields
1119
+ - an optional specification of the primary key
1120
+ field
1121
+ - an optional declaration of the bean's environment
1122
+ entries
1123
+ - an optional declaration of the bean's EJB
1124
+ references
1125
+ - an optional declaration of the bean's local
1126
+ EJB references
1127
+ - an optional declaration of the bean's web
1128
+ service references
1129
+ - an optional declaration of the security role
1130
+ references
1131
+ - an optional declaration of the security identity
1132
+ to be used for the execution of the bean's methods
1133
+ - an optional declaration of the bean's
1134
+ resource manager connection factory references
1135
+ - an optional declaration of the bean's
1136
+ resource environment references
1137
+ - an optional declaration of the bean's message
1138
+ destination references
1139
+ - an optional set of query declarations
1140
+ for finder and select methods for an entity
1141
+ bean with cmp-version 2.x.
1142
+
1143
+ The optional abstract-schema-name element must be specified
1144
+ for an entity bean with container-managed persistence and
1145
+ cmp-version 2.x.
1146
+
1147
+ The optional primkey-field may be present in the descriptor
1148
+ if the entity's persistence-type is Container.
1149
+
1150
+ The optional cmp-version element may be present in the
1151
+ descriptor if the entity's persistence-type is Container. If
1152
+ the persistence-type is Container and the cmp-version
1153
+ element is not specified, its value defaults to 2.x.
1154
+
1155
+ The optional home and remote elements must be specified if
1156
+ the entity bean cmp-version is 1.x.
1157
+
1158
+ The optional home and remote elements must be specified if
1159
+ the entity bean has a remote home and remote interface.
1160
+
1161
+ The optional local-home and local elements must be specified
1162
+ if the entity bean has a local home and local interface.
1163
+
1164
+ Either both the local-home and the local elements or both
1165
+ the home and the remote elements must be specified.
1166
+
1167
+ The optional query elements must be present if the
1168
+ persistence-type is Container and the cmp-version is 2.x and
1169
+ query methods other than findByPrimaryKey have been defined
1170
+ for the entity bean.
1171
+
1172
+ The other elements that are optional are "optional" in the
1173
+ sense that they are omitted if the lists represented by them
1174
+ are empty.
1175
+
1176
+ At least one cmp-field element must be present in the
1177
+ descriptor if the entity's persistence-type is Container and
1178
+ the cmp-version is 1.x, and none must not be present if the
1179
+ entity's persistence-type is Bean.
1180
+
1181
+ </xsd:documentation>
1182
+ </xsd:annotation>
1183
+
1184
+ <xsd:sequence>
1185
+ <xsd:group ref="j2ee:descriptionGroup"/>
1186
+ <xsd:element name="ejb-name"
1187
+ type="j2ee:ejb-nameType"/>
1188
+ <xsd:element name="home"
1189
+ type="j2ee:homeType"
1190
+ minOccurs="0"/>
1191
+ <xsd:element name="remote"
1192
+ type="j2ee:remoteType"
1193
+ minOccurs="0"/>
1194
+ <xsd:element name="local-home"
1195
+ type="j2ee:local-homeType"
1196
+ minOccurs="0"/>
1197
+ <xsd:element name="local"
1198
+ type="j2ee:localType"
1199
+ minOccurs="0"/>
1200
+ <xsd:element name="ejb-class"
1201
+ type="j2ee:ejb-classType"/>
1202
+ <xsd:element name="persistence-type"
1203
+ type="j2ee:persistence-typeType"/>
1204
+ <xsd:element name="prim-key-class"
1205
+ type="j2ee:fully-qualified-classType">
1206
+ <xsd:annotation>
1207
+ <xsd:documentation>
1208
+
1209
+ The prim-key-class element contains the
1210
+ fully-qualified name of an
1211
+ entity bean's primary key class.
1212
+
1213
+ If the definition of the primary key class is
1214
+ deferred to deployment time, the prim-key-class
1215
+ element should specify java.lang.Object.
1216
+
1217
+ </xsd:documentation>
1218
+ </xsd:annotation>
1219
+ </xsd:element>
1220
+ <xsd:element name="reentrant"
1221
+ type="j2ee:true-falseType">
1222
+ <xsd:annotation>
1223
+ <xsd:documentation>
1224
+
1225
+ The reentrant element specifies whether an entity
1226
+ bean is reentrant or not.
1227
+
1228
+ The reentrant element must be one of the two
1229
+ following: true or false
1230
+
1231
+ </xsd:documentation>
1232
+ </xsd:annotation>
1233
+ </xsd:element>
1234
+ <xsd:element name="cmp-version"
1235
+ type="j2ee:cmp-versionType"
1236
+ minOccurs="0"/>
1237
+ <xsd:element name="abstract-schema-name"
1238
+ type="j2ee:java-identifierType"
1239
+ minOccurs="0">
1240
+ <xsd:annotation>
1241
+ <xsd:documentation>
1242
+
1243
+ The abstract-schema-name element specifies the name
1244
+ of the abstract schema type of an entity bean with
1245
+ cmp-version 2.x. It is used in EJB QL queries.
1246
+
1247
+ For example, the abstract-schema-name for an entity
1248
+ bean whose local interface is
1249
+ com.acme.commerce.Order might be Order.
1250
+
1251
+ </xsd:documentation>
1252
+ </xsd:annotation>
1253
+ </xsd:element>
1254
+ <xsd:element name="cmp-field"
1255
+ type="j2ee:cmp-fieldType"
1256
+ minOccurs="0"
1257
+ maxOccurs="unbounded"/>
1258
+ <xsd:element name="primkey-field"
1259
+ type="j2ee:string"
1260
+ minOccurs="0">
1261
+ <xsd:annotation>
1262
+ <xsd:documentation>
1263
+
1264
+ The primkey-field element is used to specify the
1265
+ name of the primary key field for an entity with
1266
+ container-managed persistence.
1267
+
1268
+ The primkey-field must be one of the fields declared
1269
+ in the cmp-field element, and the type of the field
1270
+ must be the same as the primary key type.
1271
+
1272
+ The primkey-field element is not used if the primary
1273
+ key maps to multiple container-managed fields
1274
+ (i.e. the key is a compound key). In this case, the
1275
+ fields of the primary key class must be public, and
1276
+ their names must correspond to the field names of
1277
+ the entity bean class that comprise the key.
1278
+
1279
+ </xsd:documentation>
1280
+ </xsd:annotation>
1281
+ </xsd:element>
1282
+ <xsd:group ref="j2ee:jndiEnvironmentRefsGroup"/>
1283
+ <xsd:element name="security-role-ref"
1284
+ type="j2ee:security-role-refType"
1285
+ minOccurs="0" maxOccurs="unbounded"/>
1286
+ <xsd:element name="security-identity"
1287
+ type="j2ee:security-identityType"
1288
+ minOccurs="0"/>
1289
+ <xsd:element name="query"
1290
+ type="j2ee:queryType"
1291
+ minOccurs="0" maxOccurs="unbounded"/>
1292
+ </xsd:sequence>
1293
+ <xsd:attribute name="id" type="xsd:ID"/>
1294
+ </xsd:complexType>
1295
+
1296
+ <!-- **************************************************** -->
1297
+
1298
+ <xsd:complexType name="exclude-listType">
1299
+ <xsd:annotation>
1300
+ <xsd:documentation>
1301
+
1302
+ The exclude-listType specifies one or more methods which
1303
+ the Assembler marks to be uncallable.
1304
+
1305
+ If the method permission relation contains methods that are
1306
+ in the exclude list, the Deployer should consider those
1307
+ methods to be uncallable.
1308
+
1309
+ </xsd:documentation>
1310
+ </xsd:annotation>
1311
+
1312
+ <xsd:sequence>
1313
+ <xsd:element name="description"
1314
+ type="j2ee:descriptionType"
1315
+ minOccurs="0"
1316
+ maxOccurs="unbounded"/>
1317
+ <xsd:element name="method"
1318
+ type="j2ee:methodType"
1319
+ maxOccurs="unbounded"/>
1320
+ </xsd:sequence>
1321
+ <xsd:attribute name="id" type="xsd:ID"/>
1322
+ </xsd:complexType>
1323
+
1324
+ <!-- **************************************************** -->
1325
+
1326
+ <xsd:complexType name="message-driven-beanType">
1327
+ <xsd:annotation>
1328
+ <xsd:documentation>
1329
+
1330
+ The message-driven element declares a message-driven
1331
+ bean. The declaration consists of:
1332
+
1333
+ - an optional description
1334
+ - an optional display name
1335
+ - an optional icon element that contains a small and a large
1336
+ icon file name.
1337
+ - a name assigned to the enterprise bean in
1338
+ the deployment descriptor
1339
+ - the message-driven bean's implementation class
1340
+ - an optional declaration of the bean's messaging
1341
+ type
1342
+ - the message-driven bean's transaction management type
1343
+ - an optional declaration of the bean's
1344
+ message-destination-type
1345
+ - an optional declaration of the bean's
1346
+ message-destination-link
1347
+ - an optional declaration of the message-driven bean's
1348
+ activation configuration properties
1349
+ - an optional declaration of the bean's environment
1350
+ entries
1351
+ - an optional declaration of the bean's EJB references
1352
+ - an optional declaration of the bean's local EJB
1353
+ references
1354
+ - an optional declaration of the bean's web service
1355
+ references
1356
+ - an optional declaration of the security
1357
+ identity to be used for the execution of the bean's
1358
+ methods
1359
+ - an optional declaration of the bean's
1360
+ resource manager connection factory
1361
+ references
1362
+ - an optional declaration of the bean's resource
1363
+ environment references.
1364
+ - an optional declaration of the bean's message
1365
+ destination references
1366
+
1367
+ </xsd:documentation>
1368
+ </xsd:annotation>
1369
+
1370
+ <xsd:sequence>
1371
+ <xsd:group ref="j2ee:descriptionGroup"/>
1372
+ <xsd:element name="ejb-name"
1373
+ type="j2ee:ejb-nameType"/>
1374
+ <xsd:element name="ejb-class"
1375
+ type="j2ee:ejb-classType"/>
1376
+ <xsd:element name="messaging-type"
1377
+ type="j2ee:fully-qualified-classType"
1378
+ minOccurs="0">
1379
+ <xsd:annotation>
1380
+ <xsd:documentation>
1381
+
1382
+ The messaging-type element specifies the message
1383
+ listener interface of the message-driven bean. If
1384
+ the messaging-type element is not specified, it is
1385
+ assumed to be javax.jms.MessageListener.
1386
+
1387
+ </xsd:documentation>
1388
+ </xsd:annotation>
1389
+ </xsd:element>
1390
+ <xsd:element name="transaction-type"
1391
+ type="j2ee:transaction-typeType"/>
1392
+ <xsd:element name="message-destination-type"
1393
+ type="j2ee:message-destination-typeType"
1394
+ minOccurs="0"/>
1395
+ <xsd:element name="message-destination-link"
1396
+ type="j2ee:message-destination-linkType"
1397
+ minOccurs="0"/>
1398
+ <xsd:element name="activation-config"
1399
+ type="j2ee:activation-configType"
1400
+ minOccurs="0"/>
1401
+ <xsd:group ref="j2ee:jndiEnvironmentRefsGroup"/>
1402
+ <xsd:element name="security-identity"
1403
+ type="j2ee:security-identityType"
1404
+ minOccurs="0"/>
1405
+ </xsd:sequence>
1406
+ <xsd:attribute name="id" type="xsd:ID"/>
1407
+ </xsd:complexType>
1408
+
1409
+ <!-- **************************************************** -->
1410
+
1411
+ <xsd:complexType name="method-intfType">
1412
+
1413
+ <xsd:annotation>
1414
+ <xsd:documentation>
1415
+
1416
+ The method-intf element allows a method element to
1417
+ differentiate between the methods with the same name and
1418
+ signature that are multiply defined across the home and
1419
+ component interfaces (e.g, in both an enterprise bean's
1420
+ remote and local interfaces or in both an enterprise bean's
1421
+ home and remote interfaces, etc.); the component and web
1422
+ service endpoint interfaces, and so on.
1423
+
1424
+ The method-intf element must be one of the following:
1425
+
1426
+ Home
1427
+ Remote
1428
+ LocalHome
1429
+ Local
1430
+ ServiceEndpoint
1431
+
1432
+ </xsd:documentation>
1433
+ </xsd:annotation>
1434
+ <xsd:simpleContent>
1435
+ <xsd:restriction base="j2ee:string">
1436
+ <xsd:enumeration value="Home"/>
1437
+ <xsd:enumeration value="Remote"/>
1438
+ <xsd:enumeration value="LocalHome"/>
1439
+ <xsd:enumeration value="Local"/>
1440
+ <xsd:enumeration value="ServiceEndpoint"/>
1441
+ </xsd:restriction>
1442
+ </xsd:simpleContent>
1443
+ </xsd:complexType>
1444
+
1445
+ <!-- **************************************************** -->
1446
+
1447
+ <xsd:complexType name="method-nameType">
1448
+ <xsd:annotation>
1449
+ <xsd:documentation>
1450
+
1451
+ The method-nameType contains a name of an enterprise
1452
+ bean method or the asterisk (*) character. The asterisk is
1453
+ used when the element denotes all the methods of an
1454
+ enterprise bean's client view interfaces.
1455
+
1456
+ </xsd:documentation>
1457
+ </xsd:annotation>
1458
+ <xsd:simpleContent>
1459
+ <xsd:restriction base="j2ee:string"/>
1460
+ </xsd:simpleContent>
1461
+ </xsd:complexType>
1462
+
1463
+ <!-- **************************************************** -->
1464
+
1465
+ <xsd:complexType name="method-paramsType">
1466
+ <xsd:annotation>
1467
+ <xsd:documentation>
1468
+
1469
+ The method-paramsType defines a list of the
1470
+ fully-qualified Java type names of the method parameters.
1471
+
1472
+ </xsd:documentation>
1473
+ </xsd:annotation>
1474
+
1475
+ <xsd:sequence>
1476
+ <xsd:element name="method-param"
1477
+ type="j2ee:java-typeType"
1478
+ minOccurs="0"
1479
+ maxOccurs="unbounded">
1480
+ <xsd:annotation>
1481
+ <xsd:documentation>
1482
+
1483
+ The method-param element contains a primitive
1484
+ or a fully-qualified Java type name of a method
1485
+ parameter.
1486
+
1487
+ </xsd:documentation>
1488
+ </xsd:annotation>
1489
+ </xsd:element>
1490
+ </xsd:sequence>
1491
+ <xsd:attribute name="id" type="xsd:ID"/>
1492
+ </xsd:complexType>
1493
+
1494
+ <!-- **************************************************** -->
1495
+
1496
+ <xsd:complexType name="method-permissionType">
1497
+ <xsd:annotation>
1498
+ <xsd:documentation>
1499
+
1500
+ The method-permissionType specifies that one or more
1501
+ security roles are allowed to invoke one or more enterprise
1502
+ bean methods. The method-permissionType consists of an
1503
+ optional description, a list of security role names or an
1504
+ indicator to state that the method is unchecked for
1505
+ authorization, and a list of method elements.
1506
+
1507
+ The security roles used in the method-permissionType
1508
+ must be defined in the security-role elements of the
1509
+ deployment descriptor, and the methods must be methods
1510
+ defined in the enterprise bean's home, component and/or web
1511
+ service endpoint interfaces.
1512
+
1513
+ </xsd:documentation>
1514
+ </xsd:annotation>
1515
+
1516
+ <xsd:sequence>
1517
+ <xsd:element name="description"
1518
+ type="j2ee:descriptionType"
1519
+ minOccurs="0"
1520
+ maxOccurs="unbounded"/>
1521
+ <xsd:choice>
1522
+ <xsd:element name="role-name"
1523
+ type="j2ee:role-nameType"
1524
+ maxOccurs="unbounded"/>
1525
+ <xsd:element name="unchecked"
1526
+ type="j2ee:emptyType">
1527
+ <xsd:annotation>
1528
+ <xsd:documentation>
1529
+
1530
+ The unchecked element specifies that a method is
1531
+ not checked for authorization by the container
1532
+ prior to invocation of the method.
1533
+
1534
+ </xsd:documentation>
1535
+ </xsd:annotation>
1536
+ </xsd:element>
1537
+ </xsd:choice>
1538
+ <xsd:element name="method"
1539
+ type="j2ee:methodType"
1540
+ maxOccurs="unbounded"/>
1541
+ </xsd:sequence>
1542
+ <xsd:attribute name="id" type="xsd:ID"/>
1543
+ </xsd:complexType>
1544
+
1545
+ <!-- **************************************************** -->
1546
+
1547
+ <xsd:complexType name="methodType">
1548
+ <xsd:annotation>
1549
+ <xsd:documentation>
1550
+ <![CDATA[
1551
+
1552
+ The methodType is used to denote a method of an enterprise
1553
+ bean's home, component, and/or web service endpoint
1554
+ interface, or, in the case of a message-driven bean, the
1555
+ bean's message listener method, or a set of such
1556
+ methods. The ejb-name element must be the name of one of the
1557
+ enterprise beans declared in the deployment descriptor; the
1558
+ optional method-intf element allows to distinguish between a
1559
+ method with the same signature that is multiply defined
1560
+ across the home, component, and/or web service endpoint
1561
+ interfaces; the method-name element specifies the method
1562
+ name; and the optional method-params elements identify a
1563
+ single method among multiple methods with an overloaded
1564
+ method name.
1565
+
1566
+ There are three possible styles of using methodType element
1567
+ within a method element:
1568
+
1569
+ 1.
1570
+ <method>
1571
+ <ejb-name>EJBNAME</ejb-name>
1572
+ <method-name>*</method-name>
1573
+ </method>
1574
+
1575
+ This style is used to refer to all the methods of the
1576
+ specified enterprise bean's home, component, and/or web
1577
+ service endpoint interfaces.
1578
+
1579
+ 2.
1580
+ <method>
1581
+ <ejb-name>EJBNAME</ejb-name>
1582
+ <method-name>METHOD</method-name>
1583
+ </method>
1584
+
1585
+ This style is used to refer to the specified method of
1586
+ the specified enterprise bean. If there are multiple
1587
+ methods with the same overloaded name, the element of
1588
+ this style refers to all the methods with the overloaded
1589
+ name.
1590
+
1591
+ 3.
1592
+ <method>
1593
+ <ejb-name>EJBNAME</ejb-name>
1594
+ <method-name>METHOD</method-name>
1595
+ <method-params>
1596
+ <method-param>PARAM-1</method-param>
1597
+ <method-param>PARAM-2</method-param>
1598
+ ...
1599
+ <method-param>PARAM-n</method-param>
1600
+ </method-params>
1601
+ </method>
1602
+
1603
+ This style is used to refer to a single method within a
1604
+ set of methods with an overloaded name. PARAM-1 through
1605
+ PARAM-n are the fully-qualified Java types of the
1606
+ method's input parameters (if the method has no input
1607
+ arguments, the method-params element contains no
1608
+ method-param elements). Arrays are specified by the
1609
+ array element's type, followed by one or more pair of
1610
+ square brackets (e.g. int[][]). If there are multiple
1611
+ methods with the same overloaded name, this style refers
1612
+ to all of the overloaded methods.
1613
+
1614
+ Examples:
1615
+
1616
+ Style 1: The following method element refers to all the
1617
+ methods of the EmployeeService bean's home, component,
1618
+ and/or web service endpoint interfaces:
1619
+
1620
+ <method>
1621
+ <ejb-name>EmployeeService</ejb-name>
1622
+ <method-name>*</method-name>
1623
+ </method>
1624
+
1625
+ Style 2: The following method element refers to all the
1626
+ create methods of the EmployeeService bean's home
1627
+ interface(s).
1628
+
1629
+ <method>
1630
+ <ejb-name>EmployeeService</ejb-name>
1631
+ <method-name>create</method-name>
1632
+ </method>
1633
+
1634
+ Style 3: The following method element refers to the
1635
+ create(String firstName, String LastName) method of the
1636
+ EmployeeService bean's home interface(s).
1637
+
1638
+ <method>
1639
+ <ejb-name>EmployeeService</ejb-name>
1640
+ <method-name>create</method-name>
1641
+ <method-params>
1642
+ <method-param>java.lang.String</method-param>
1643
+ <method-param>java.lang.String</method-param>
1644
+ </method-params>
1645
+ </method>
1646
+
1647
+ The following example illustrates a Style 3 element with
1648
+ more complex parameter types. The method
1649
+ foobar(char s, int i, int[] iar, mypackage.MyClass mycl,
1650
+ mypackage.MyClass[][] myclaar) would be specified as:
1651
+
1652
+ <method>
1653
+ <ejb-name>EmployeeService</ejb-name>
1654
+ <method-name>foobar</method-name>
1655
+ <method-params>
1656
+ <method-param>char</method-param>
1657
+ <method-param>int</method-param>
1658
+ <method-param>int[]</method-param>
1659
+ <method-param>mypackage.MyClass</method-param>
1660
+ <method-param>mypackage.MyClass[][]</method-param>
1661
+ </method-params>
1662
+ </method>
1663
+
1664
+ The optional method-intf element can be used when it becomes
1665
+ necessary to differentiate between a method that is multiply
1666
+ defined across the enterprise bean's home, component, and/or
1667
+ web service endpoint interfaces with the same name and
1668
+ signature.
1669
+
1670
+ For example, the method element
1671
+
1672
+ <method>
1673
+ <ejb-name>EmployeeService</ejb-name>
1674
+ <method-intf>Remote</method-intf>
1675
+ <method-name>create</method-name>
1676
+ <method-params>
1677
+ <method-param>java.lang.String</method-param>
1678
+ <method-param>java.lang.String</method-param>
1679
+ </method-params>
1680
+ </method>
1681
+
1682
+ can be used to differentiate the create(String, String)
1683
+ method defined in the remote interface from the
1684
+ create(String, String) method defined in the remote home
1685
+ interface, which would be defined as
1686
+
1687
+ <method>
1688
+ <ejb-name>EmployeeService</ejb-name>
1689
+ <method-intf>Home</method-intf>
1690
+ <method-name>create</method-name>
1691
+ <method-params>
1692
+ <method-param>java.lang.String</method-param>
1693
+ <method-param>java.lang.String</method-param>
1694
+ </method-params>
1695
+ </method>
1696
+
1697
+ and the create method that is defined in the local home
1698
+ interface which would be defined as
1699
+
1700
+ <method>
1701
+ <ejb-name>EmployeeService</ejb-name>
1702
+ <method-intf>LocalHome</method-intf>
1703
+ <method-name>create</method-name>
1704
+ <method-params>
1705
+ <method-param>java.lang.String</method-param>
1706
+ <method-param>java.lang.String</method-param>
1707
+ </method-params>
1708
+ </method>
1709
+
1710
+ The method-intf element can be used with all th ree Styles
1711
+ of the method element usage. For example, the following
1712
+ method element example could be used to refer to all the
1713
+ methods of the EmployeeService bean's remote home interface.
1714
+
1715
+ <method>
1716
+ <ejb-name>EmployeeService</ejb-name>
1717
+ <method-intf>Home</method-intf>
1718
+ <method-name>*</method-name>
1719
+ </method>
1720
+
1721
+ ]]>
1722
+ </xsd:documentation>
1723
+ </xsd:annotation>
1724
+
1725
+ <xsd:sequence>
1726
+ <xsd:element name="description"
1727
+ type="j2ee:descriptionType"
1728
+ minOccurs="0" maxOccurs="unbounded"/>
1729
+ <xsd:element name="ejb-name"
1730
+ type="j2ee:ejb-nameType"/>
1731
+ <xsd:element name="method-intf"
1732
+ type="j2ee:method-intfType"
1733
+ minOccurs="0">
1734
+ </xsd:element>
1735
+ <xsd:element name="method-name"
1736
+ type="j2ee:method-nameType"/>
1737
+ <xsd:element name="method-params"
1738
+ type="j2ee:method-paramsType"
1739
+ minOccurs="0"/>
1740
+ </xsd:sequence>
1741
+ <xsd:attribute name="id" type="xsd:ID"/>
1742
+ </xsd:complexType>
1743
+
1744
+ <!-- **************************************************** -->
1745
+
1746
+ <xsd:complexType name="multiplicityType">
1747
+ <xsd:annotation>
1748
+ <xsd:documentation>
1749
+
1750
+ The multiplicityType describes the multiplicity of the
1751
+ role that participates in a relation.
1752
+
1753
+ The value must be one of the two following:
1754
+
1755
+ One
1756
+ Many
1757
+
1758
+ </xsd:documentation>
1759
+ </xsd:annotation>
1760
+ <xsd:simpleContent>
1761
+ <xsd:restriction base="j2ee:string">
1762
+ <xsd:enumeration value="One"/>
1763
+ <xsd:enumeration value="Many"/>
1764
+ </xsd:restriction>
1765
+ </xsd:simpleContent>
1766
+ </xsd:complexType>
1767
+
1768
+ <!-- **************************************************** -->
1769
+
1770
+ <xsd:complexType name="persistence-typeType">
1771
+ <xsd:annotation>
1772
+ <xsd:documentation>
1773
+
1774
+ The persistence-typeType specifies an entity bean's persistence
1775
+ management type.
1776
+
1777
+ The persistence-type element must be one of the two following:
1778
+
1779
+ Bean
1780
+ Container
1781
+
1782
+ </xsd:documentation>
1783
+ </xsd:annotation>
1784
+ <xsd:simpleContent>
1785
+ <xsd:restriction base="j2ee:string">
1786
+ <xsd:enumeration value="Bean"/>
1787
+ <xsd:enumeration value="Container"/>
1788
+ </xsd:restriction>
1789
+ </xsd:simpleContent>
1790
+ </xsd:complexType>
1791
+
1792
+ <!-- **************************************************** -->
1793
+
1794
+ <xsd:complexType name="query-methodType">
1795
+ <xsd:annotation>
1796
+ <xsd:documentation>
1797
+ <![CDATA[
1798
+
1799
+ The query-method specifies the method for a finder or select
1800
+ query.
1801
+
1802
+ The method-name element specifies the name of a finder or select
1803
+ method in the entity bean's implementation class.
1804
+
1805
+ Each method-param must be defined for a query-method using the
1806
+ method-params element.
1807
+
1808
+ It is used by the query-method element.
1809
+
1810
+ Example:
1811
+
1812
+ <query>
1813
+ <description>Method finds large orders</description>
1814
+ <query-method>
1815
+ <method-name>findLargeOrders</method-name>
1816
+ <method-params></method-params>
1817
+ </query-method>
1818
+ <ejb-ql>
1819
+ SELECT OBJECT(o) FROM Order o
1820
+ WHERE o.amount &gt; 1000
1821
+ </ejb-ql>
1822
+ </query>
1823
+
1824
+ ]]>
1825
+ </xsd:documentation>
1826
+ </xsd:annotation>
1827
+
1828
+ <xsd:sequence>
1829
+ <xsd:element name="method-name"
1830
+ type="j2ee:method-nameType"/>
1831
+ <xsd:element name="method-params"
1832
+ type="j2ee:method-paramsType"/>
1833
+ </xsd:sequence>
1834
+ <xsd:attribute name="id" type="xsd:ID"/>
1835
+ </xsd:complexType>
1836
+
1837
+ <!-- **************************************************** -->
1838
+
1839
+ <xsd:complexType name="queryType">
1840
+ <xsd:annotation>
1841
+ <xsd:documentation>
1842
+
1843
+ The queryType defines a finder or select
1844
+ query. It contains
1845
+ - an optional description of the query
1846
+ - the specification of the finder or select
1847
+ method it is used by
1848
+ - an optional specification of the result type
1849
+ mapping, if the query is for a select method
1850
+ and entity objects are returned.
1851
+ - the EJB QL query string that defines the query.
1852
+
1853
+ Queries that are expressible in EJB QL must use the ejb-ql
1854
+ element to specify the query. If a query is not expressible
1855
+ in EJB QL, the description element should be used to
1856
+ describe the semantics of the query and the ejb-ql element
1857
+ should be empty.
1858
+
1859
+ The result-type-mapping is an optional element. It can only
1860
+ be present if the query-method specifies a select method
1861
+ that returns entity objects. The default value for the
1862
+ result-type-mapping element is "Local".
1863
+
1864
+ </xsd:documentation>
1865
+ </xsd:annotation>
1866
+
1867
+ <xsd:sequence>
1868
+ <xsd:element name="description"
1869
+ type="j2ee:descriptionType" minOccurs="0"/>
1870
+ <xsd:element name="query-method"
1871
+ type="j2ee:query-methodType"/>
1872
+ <xsd:element name="result-type-mapping"
1873
+ type="j2ee:result-type-mappingType"
1874
+ minOccurs="0"/>
1875
+ <xsd:element name="ejb-ql"
1876
+ type="j2ee:xsdStringType"/>
1877
+ </xsd:sequence>
1878
+ <xsd:attribute name="id" type="xsd:ID"/>
1879
+ </xsd:complexType>
1880
+
1881
+ <!-- **************************************************** -->
1882
+
1883
+ <xsd:complexType name="relationship-role-sourceType">
1884
+ <xsd:annotation>
1885
+ <xsd:documentation>
1886
+
1887
+ The relationship-role-sourceType designates the source of a
1888
+ role that participates in a relationship. A
1889
+ relationship-role-sourceType is used by
1890
+ relationship-role-source elements to uniquely identify an
1891
+ entity bean.
1892
+
1893
+ </xsd:documentation>
1894
+ </xsd:annotation>
1895
+
1896
+ <xsd:sequence>
1897
+ <xsd:element name="description"
1898
+ type="j2ee:descriptionType"
1899
+ minOccurs="0"
1900
+ maxOccurs="unbounded"/>
1901
+ <xsd:element name="ejb-name"
1902
+ type="j2ee:ejb-nameType"/>
1903
+ </xsd:sequence>
1904
+ <xsd:attribute name="id" type="xsd:ID"/>
1905
+ </xsd:complexType>
1906
+
1907
+ <!-- **************************************************** -->
1908
+
1909
+ <xsd:complexType name="relationshipsType">
1910
+ <xsd:annotation>
1911
+ <xsd:documentation>
1912
+
1913
+ The relationshipsType describes the relationships in
1914
+ which entity beans with container-managed persistence
1915
+ participate. The relationshipsType contains an optional
1916
+ description; and a list of ejb-relation elements, which
1917
+ specify the container managed relationships.
1918
+
1919
+ </xsd:documentation>
1920
+ </xsd:annotation>
1921
+
1922
+ <xsd:sequence>
1923
+ <xsd:element name="description"
1924
+ type="j2ee:descriptionType"
1925
+ minOccurs="0"
1926
+ maxOccurs="unbounded"/>
1927
+ <xsd:element name="ejb-relation"
1928
+ type="j2ee:ejb-relationType"
1929
+ maxOccurs="unbounded">
1930
+
1931
+ <xsd:unique name="role-name-uniqueness">
1932
+ <xsd:annotation>
1933
+ <xsd:documentation>
1934
+
1935
+ The ejb-relationship-role-name contains the name of a
1936
+ relationship role. The name must be unique within
1937
+ a relationship, but can be reused in different
1938
+ relationships.
1939
+
1940
+ </xsd:documentation>
1941
+ </xsd:annotation>
1942
+ <xsd:selector
1943
+ xpath=".//j2ee:ejb-relationship-role-name"/>
1944
+ <xsd:field
1945
+ xpath="."/>
1946
+ </xsd:unique>
1947
+ </xsd:element>
1948
+ </xsd:sequence>
1949
+ <xsd:attribute name="id" type="xsd:ID"/>
1950
+ </xsd:complexType>
1951
+
1952
+ <!-- **************************************************** -->
1953
+
1954
+ <xsd:complexType name="result-type-mappingType">
1955
+ <xsd:annotation>
1956
+ <xsd:documentation>
1957
+
1958
+ The result-type-mappingType is used in the query element to
1959
+ specify whether an abstract schema type returned by a query
1960
+ for a select method is to be mapped to an EJBLocalObject or
1961
+ EJBObject type.
1962
+
1963
+ The value must be one of the following:
1964
+
1965
+ Local
1966
+ Remote
1967
+
1968
+ </xsd:documentation>
1969
+ </xsd:annotation>
1970
+ <xsd:simpleContent>
1971
+ <xsd:restriction base="j2ee:string">
1972
+ <xsd:enumeration value="Local"/>
1973
+ <xsd:enumeration value="Remote"/>
1974
+ </xsd:restriction>
1975
+ </xsd:simpleContent>
1976
+ </xsd:complexType>
1977
+
1978
+ <!-- **************************************************** -->
1979
+
1980
+ <xsd:complexType name="security-identityType">
1981
+ <xsd:annotation>
1982
+ <xsd:documentation>
1983
+
1984
+ The security-identityType specifies whether the caller's
1985
+ security identity is to be used for the execution of the
1986
+ methods of the enterprise bean or whether a specific run-as
1987
+ identity is to be used. It contains an optional description
1988
+ and a specification of the security identity to be used.
1989
+
1990
+ </xsd:documentation>
1991
+ </xsd:annotation>
1992
+
1993
+ <xsd:sequence>
1994
+ <xsd:element name="description"
1995
+ type="j2ee:descriptionType"
1996
+ minOccurs="0"
1997
+ maxOccurs="unbounded"/>
1998
+ <xsd:choice>
1999
+ <xsd:element name="use-caller-identity"
2000
+ type="j2ee:emptyType">
2001
+ <xsd:annotation>
2002
+ <xsd:documentation>
2003
+
2004
+ The use-caller-identity element specifies that
2005
+ the caller's security identity be used as the
2006
+ security identity for the execution of the
2007
+ enterprise bean's methods.
2008
+
2009
+ </xsd:documentation>
2010
+ </xsd:annotation>
2011
+ </xsd:element>
2012
+ <xsd:element name="run-as"
2013
+ type="j2ee:run-asType"/>
2014
+ </xsd:choice>
2015
+ </xsd:sequence>
2016
+ <xsd:attribute name="id" type="xsd:ID"/>
2017
+ </xsd:complexType>
2018
+
2019
+ <!-- **************************************************** -->
2020
+
2021
+ <xsd:complexType name="session-beanType">
2022
+ <xsd:annotation>
2023
+ <xsd:documentation>
2024
+
2025
+ The session-beanType declares an session bean. The
2026
+ declaration consists of:
2027
+
2028
+ - an optional description
2029
+ - an optional display name
2030
+ - an optional icon element that contains a small and a large
2031
+ icon file name
2032
+ - a name assigned to the enterprise bean
2033
+ in the deployment description
2034
+ - the names of the session bean's remote home and
2035
+ remote interfaces, if any
2036
+ - the names of the session bean's local home and
2037
+ local interfaces, if any
2038
+ - the name of the session bean's web service endpoint
2039
+ interface, if any
2040
+ - the session bean's implementation class
2041
+ - the session bean's state management type
2042
+ - the session bean's transaction management type
2043
+ - an optional declaration of the bean's
2044
+ environment entries
2045
+ - an optional declaration of the bean's EJB references
2046
+ - an optional declaration of the bean's local
2047
+ EJB references
2048
+ - an optional declaration of the bean's web
2049
+ service references
2050
+ - an optional declaration of the security role
2051
+ references
2052
+ - an optional declaration of the security identity
2053
+ to be used for the execution of the bean's methods
2054
+ - an optional declaration of the bean's resource
2055
+ manager connection factory references
2056
+ - an optional declaration of the bean's resource
2057
+ environment references.
2058
+ - an optional declaration of the bean's message
2059
+ destination references
2060
+
2061
+ The elements that are optional are "optional" in the sense
2062
+ that they are omitted when if lists represented by them are
2063
+ empty.
2064
+
2065
+ Either both the local-home and the local elements or both
2066
+ the home and the remote elements must be specified for the
2067
+ session bean.
2068
+
2069
+ The service-endpoint element may only be specified if the
2070
+ bean is a stateless session bean.
2071
+
2072
+ </xsd:documentation>
2073
+ </xsd:annotation>
2074
+
2075
+ <xsd:sequence>
2076
+ <xsd:group ref="j2ee:descriptionGroup"/>
2077
+ <xsd:element name="ejb-name"
2078
+ type="j2ee:ejb-nameType"/>
2079
+ <xsd:element name="home"
2080
+ type="j2ee:homeType"
2081
+ minOccurs="0"/>
2082
+ <xsd:element name="remote"
2083
+ type="j2ee:remoteType"
2084
+ minOccurs="0"/>
2085
+ <xsd:element name="local-home"
2086
+ type="j2ee:local-homeType"
2087
+ minOccurs="0"/>
2088
+ <xsd:element name="local"
2089
+ type="j2ee:localType"
2090
+ minOccurs="0"/>
2091
+ <xsd:element name="service-endpoint"
2092
+ type="j2ee:fully-qualified-classType"
2093
+ minOccurs="0">
2094
+ <xsd:annotation>
2095
+ <xsd:documentation>
2096
+
2097
+ The service-endpoint element contains the
2098
+ fully-qualified name of the enterprise bean's web
2099
+ service endpoint interface. The service-endpoint
2100
+ element may only be specified for a stateless
2101
+ session bean. The specified interface must be a
2102
+ valid JAX-RPC service endpoint interface.
2103
+
2104
+ </xsd:documentation>
2105
+ </xsd:annotation>
2106
+ </xsd:element>
2107
+ <xsd:element name="ejb-class"
2108
+ type="j2ee:ejb-classType"/>
2109
+ <xsd:element name="session-type"
2110
+ type="j2ee:session-typeType"/>
2111
+ <xsd:element name="transaction-type"
2112
+ type="j2ee:transaction-typeType"/>
2113
+ <xsd:group ref="j2ee:jndiEnvironmentRefsGroup"/>
2114
+ <xsd:element name="security-role-ref"
2115
+ type="j2ee:security-role-refType"
2116
+ minOccurs="0"
2117
+ maxOccurs="unbounded"/>
2118
+ <xsd:element name="security-identity"
2119
+ type="j2ee:security-identityType"
2120
+ minOccurs="0"/>
2121
+ </xsd:sequence>
2122
+ <xsd:attribute name="id" type="xsd:ID"/>
2123
+ </xsd:complexType>
2124
+
2125
+ <!-- **************************************************** -->
2126
+
2127
+ <xsd:complexType name="session-typeType">
2128
+ <xsd:annotation>
2129
+ <xsd:documentation>
2130
+
2131
+ The session-typeType describes whether the session bean is a
2132
+ stateful session or stateless session. It is used by
2133
+ session-type elements.
2134
+
2135
+ The value must be one of the two following:
2136
+
2137
+ Stateful
2138
+ Stateless
2139
+
2140
+ </xsd:documentation>
2141
+ </xsd:annotation>
2142
+ <xsd:simpleContent>
2143
+ <xsd:restriction base="j2ee:string">
2144
+ <xsd:enumeration value="Stateful"/>
2145
+ <xsd:enumeration value="Stateless"/>
2146
+ </xsd:restriction>
2147
+ </xsd:simpleContent>
2148
+ </xsd:complexType>
2149
+
2150
+ <!-- **************************************************** -->
2151
+
2152
+ <xsd:complexType name="trans-attributeType">
2153
+ <xsd:annotation>
2154
+ <xsd:documentation>
2155
+
2156
+ The trans-attributeType specifies how the container must
2157
+ manage the transaction boundaries when delegating a method
2158
+ invocation to an enterprise bean's business method.
2159
+
2160
+ The value must be one of the following:
2161
+
2162
+ NotSupported
2163
+ Supports
2164
+ Required
2165
+ RequiresNew
2166
+ Mandatory
2167
+ Never
2168
+
2169
+ </xsd:documentation>
2170
+ </xsd:annotation>
2171
+ <xsd:simpleContent>
2172
+ <xsd:restriction base="j2ee:string">
2173
+ <xsd:enumeration value="NotSupported"/>
2174
+ <xsd:enumeration value="Supports"/>
2175
+ <xsd:enumeration value="Required"/>
2176
+ <xsd:enumeration value="RequiresNew"/>
2177
+ <xsd:enumeration value="Mandatory"/>
2178
+ <xsd:enumeration value="Never"/>
2179
+ </xsd:restriction>
2180
+ </xsd:simpleContent>
2181
+ </xsd:complexType>
2182
+
2183
+ <!-- **************************************************** -->
2184
+
2185
+ <xsd:complexType name="transaction-typeType">
2186
+ <xsd:annotation>
2187
+ <xsd:documentation>
2188
+
2189
+ The transaction-typeType specifies an enterprise bean's
2190
+ transaction management type.
2191
+
2192
+ The transaction-type must be one of the two following:
2193
+
2194
+ Bean
2195
+ Container
2196
+
2197
+ </xsd:documentation>
2198
+ </xsd:annotation>
2199
+ <xsd:simpleContent>
2200
+ <xsd:restriction base="j2ee:string">
2201
+ <xsd:enumeration value="Bean"/>
2202
+ <xsd:enumeration value="Container"/>
2203
+ </xsd:restriction>
2204
+ </xsd:simpleContent>
2205
+ </xsd:complexType>
2206
+
2207
+ </xsd:schema>
2208
+