forked from wildfly/wildfly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jboss-ejb-client_1_4.xsd
367 lines (349 loc) · 15.9 KB
/
jboss-ejb-client_1_4.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ JBoss, Home of Professional Open Source.
~ Copyright 2020, Red Hat, Inc., and individual contributors
~ as indicated by the @author tags. See the copyright.txt file in the
~ distribution for a full listing of individual contributors.
~
~ This is free software; you can redistribute it and/or modify it
~ under the terms of the GNU Lesser General Public License as
~ published by the Free Software Foundation; either version 2.1 of
~ the License, or (at your option) any later version.
~
~ This software is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
~ Lesser General Public License for more details.
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this software; if not, write to the Free
~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:jboss:ejb-client:1.4"
xmlns="urn:jboss:ejb-client:1.4"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="1.4">
<!-- Root element -->
<xsd:element name="jboss-ejb-client" type="jboss-ejb-clientType">
<xsd:annotation>
<xsd:documentation>
Root element for a jboss-ejb-client.xml file
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="jboss-ejb-clientType">
<xsd:annotation>
<xsd:documentation>
The EJB client configurations
</xsd:documentation>
</xsd:annotation>
<xsd:all>
<xsd:element name="client-context" type="client-contextType">
<xsd:annotation>
<xsd:documentation>
Configurations that will be used to setup an EJB client context for the
deployment.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:all>
</xsd:complexType>
<xsd:complexType name="client-contextType">
<xsd:all>
<xsd:element name="ejb-receivers" type="ejb-receiversType">
<xsd:annotation>
<xsd:documentation>
Configures EJB receivers for the client context
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="clusters" type="clustersType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Cluster configurations applicable for this client context
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="profile" type="profileType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Remote connection profile selected for this client context
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="http-connections" type="http-connectionsType" >
<xsd:annotation>
<xsd:documentation>
Configures remote http-connection for EJB invocation
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:all>
<xsd:attribute name="invocation-timeout" type="xsd:long" use="optional">
<xsd:annotation>
<xsd:documentation>
A timeout, in milliseconds, that will be used for EJB invocations. A value of zero
or a negative value will imply a "wait forever" semantic where the invocation will never timeout
and the client will wait for the invocation result indefinitely.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="deployment-node-selector" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>
The fully qualified class name of the class which implements the
org.jboss.ejb.client.DeploymentNodeSelector
interface. The instance of this class will be used for selecting nodes, from among multiple eligible
nodes within an EJB client context, which can handle a particular deployment
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="default-compression" type="xsd:short" use="optional">
<xsd:annotation>
<xsd:documentation>
Default compression level (from 0 to 9) of request and response message payload.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="ejb-receiversType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="remoting-ejb-receiver" type="remoting-ejb-receiverType">
<xsd:annotation>
<xsd:documentation>
Configures a remoting based EJB receiver
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
<xsd:attribute name="exclude-local-receiver" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>
Set to true if the local receiver which gets added to the EJB client context by default, has to be
excluded from the context
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="local-receiver-pass-by-value" type="xsd:boolean" use="optional" default="true">
<xsd:annotation>
<xsd:documentation>
Set to false if the local receiver that's available in the EJB client context, should use
pass-by-reference (instead of pass-by-value) semantics for the EJB invocations.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="remoting-ejb-receiverType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="channel-creation-options" type="channel-creation-optionsType" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
Configures the channel creation options for this remoting EJB receiver
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
<xsd:attribute name="outbound-connection-ref" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
Reference to an outbound connection configured in the remoting subsystem
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="connect-timeout" type="xsd:long" use="optional">
<xsd:annotation>
<xsd:documentation>
The timeout, in milliseconds, to be used while creating a connection
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="http-connectionsType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="http-connection" type="http-connectionType" >
<xsd:annotation>
<xsd:documentation>
Configures remote HTTP Connection for EJB invocation
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:complexType>
<xsd:complexType name="http-connectionType">
<xsd:attribute name="uri" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
Uniform Resource Identifier for the HTTP connection
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="clustersType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="cluster" type="clusterType">
<xsd:annotation>
<xsd:documentation>
Configures a cluster in the client context
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:complexType>
<xsd:complexType name="clusterType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="channel-creation-options" type="channel-creation-optionsType" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
Configures the channel creation options for the nodes in this cluster
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="connection-creation-options" type="connection-creation-optionsType" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
Configures the connection creation options for the nodes in this cluster
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="node" type="clusterNodeType" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
Configures the channel creation options for the nodes in this cluster
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The name of the cluster
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="connect-timeout" type="xsd:long" use="optional">
<xsd:annotation>
<xsd:documentation>
The timeout in milliseconds while creating a connection for the nodes in the cluster
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="max-allowed-connected-nodes" type="xsd:long" use="optional">
<xsd:annotation>
<xsd:documentation>
The maximum number of nodes to which the connection will be established in the cluster
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="cluster-node-selector" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>
The fully qualified class name of the class which implements the
org.jboss.ejb.client.ClusterNodeSelector
interface. The instance of this class will be used for selecting nodes, within the cluster, for
handling invocations
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="username" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>
The username that will be used for authentication during connection creation for nodes in the
cluster
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="security-realm" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>
The security-realm that will be used for authentication during connection creation for nodes in the
cluster
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="clusterNodeType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="channel-creation-options" type="channel-creation-optionsType" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
Configures the channel creation options for the node
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="connection-creation-options" type="connection-creation-optionsType" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
Configures the connection creation options for the node
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The name of the cluster node
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="connect-timeout" type="xsd:long" use="optional">
<xsd:annotation>
<xsd:documentation>
The timeout in milliseconds while creating a connection for the node
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="username" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>
The username that will be used for authentication during connection creation for the node
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="security-realm" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>
The security-realm that will be used for authentication during connection creation for the node
cluster
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="channel-creation-optionsType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="property" type="propertyType"/>
</xsd:choice>
</xsd:complexType>
<xsd:complexType name="connection-creation-optionsType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="property" type="propertyType"/>
</xsd:choice>
</xsd:complexType>
<xsd:complexType name="propertyType">
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The name of the property. Example org.xnio.Options.SASL_POLICY_NOANONYMOUS
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="value" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The value of the property.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="profileType">
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The name of the profile.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:schema>