forked from jbossas/console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jboss_7_0.xsd
1541 lines (1421 loc) · 66.5 KB
/
jboss_7_0.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
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ JBoss, Home of Professional Open Source.
~ Copyright 2010, 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.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="urn:jboss:domain:1.0"
targetNamespace="urn:jboss:domain:1.0"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
>
<xs:element name="domain">
<xs:annotation>
<xs:documentation>
Root element for the master document specifying the core configuration
for the servers in a domain. There should be one such master
document per domain, available to the host controller that
is configured to act as the domain controller.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="extensions" type="extensionsType" minOccurs="0" maxOccurs="1"/>
<xs:element name="paths" type="named-pathsType" minOccurs="0" maxOccurs="1" />
<xs:element name="profiles" type="profilesType" minOccurs="0" maxOccurs="1"/>
<xs:element name="interfaces" type="named-interfacesType" minOccurs="0" maxOccurs="1"/>
<xs:element name="socket-binding-groups" type="socket-binding-groupsType" minOccurs="0" maxOccurs="1"/>
<xs:element name="system-properties" type="properties-with-boottime" minOccurs="0" maxOccurs="1"/>
<xs:element name="deployments" type="domain-deploymentsType" minOccurs="0" maxOccurs="1"/>
<xs:element name="server-groups" type="server-groupsType" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="host">
<xs:annotation>
<xs:documentation>
Root element for a document configuring a host controller and
the group of servers under the control of that host controller.
The standard usage would be for a domain to have one such host controller
on each physical (or virtual) host machine. Emphasis in this
document is on enumerating the servers, configuring items that
are specific to the host environment (e.g. IP addresses), and
on any server-specific configuration settings.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="extensions" type="extensionsType" minOccurs="0"/>
<xs:element name="paths" type="specified-pathsType" minOccurs="0" maxOccurs="1" />
<xs:element name="system-properties" type="properties-with-boottime" minOccurs="0"/>
<xs:element name="management" type="managementType" minOccurs="0" maxOccurs="1"/>
<xs:element name="management-interfaces" type="management-interfacesType" minOccurs="0"/>
<xs:element name="domain-controller" type="domain-controllerType"/>
<xs:element name="interfaces" type="specified-interfacesType" minOccurs="0"/>
<xs:element name="jvms" type="jvmsType" minOccurs="0"/>
<xs:element name="servers" type="serversType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The name to use for this host's host controller. Must be
unique across the domain. If not set, defaults to the
runtime value of InetAddress.getLocalHost().getHostName().
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="server">
<xs:annotation>
<xs:documentation>
Root element for a document specifying the configuration
of a single "standalone" server that does not operate
as part of a domain.
Note that this element is distinct from the 'serverType'
specified in this schema. The latter type forms part of the
configuration of a server that operates as part of a domain.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="extensions" type="extensionsType" minOccurs="0" maxOccurs="1"/>
<xs:element name="paths" type="specified-pathsType" minOccurs="0" maxOccurs="1"/>
<xs:element name="management" type="managementType" minOccurs="0" maxOccurs="1"/>
<xs:element name="management-interfaces" type="management-interfacesType" minOccurs="0" maxOccurs="1"/>
<xs:element name="profile" type="standalone-profileType"/>
<xs:element name="interfaces" type="specified-interfacesType" minOccurs="0" maxOccurs="1"/>
<xs:element name="socket-binding-group" type="standalone-socket-binding-groupType" minOccurs="0" maxOccurs="1"/>
<xs:element name="system-properties" type="properties" minOccurs="0" maxOccurs="1"/>
<xs:element name="deployments" type="mapped-deploymentsType" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The name to use for this server. If not set, defaults to
the runtime value of InetAddress.getLocalHost().getHostName().
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:complexType name="managementType">
<xs:annotation>
<xs:documentation>
The centralized configuration for the management of standalone servers and the domain.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="security-realms">
<xs:complexType>
<xs:sequence>
<xs:element name="security-realm" type="security-realmType" minOccurs="1"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="connections">
<xs:complexType>
<xs:sequence>
<xs:element name="ldap" type="ldapType" minOccurs="1" /> <!-- TODO minOccurs only while ldap is only supported connection. -->
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ldapType"> <!-- TODO - May extend from a common connection type for name -->
<xs:annotation>
<xs:documentation>
The LDAP connection definition.
</xs:documentation>
</xs:annotation>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The name of this connection.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="url" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The URL to connect to ldap.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<!-- TODO - Later will be optional if we support GSSAPI to connect to LDAP -->
<xs:attribute name="search-dn" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The distinguished name to use when connecting to LDAP to perform searches.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="search-credential" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The credential to use when connecting to perform a search.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<!-- TODO - May drop this and just allow free name/value properties for extension. -->
<xs:attribute name="initial-context-factory" type="xs:string" default="com.sun.jndi.ldap.LdapCtxFactory">
<xs:annotation>
<xs:documentation>
The initial context factory to establish the LdapContext.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="security-realmType">
<xs:annotation>
<xs:documentation>
Configuration of a security realm for securing access to the management interfaces.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="server-identities" type="server-identitiesType" />
<xs:element name="authentication" type="authenticationType" />
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The name of this security-realm, each security-realm must be assigned a unique name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="server-identitiesType">
<xs:annotation>
<xs:documentation>
Configuration of the identities that represent the server.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ssl" type="sslType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sslType">
<xs:annotation>
<xs:documentation>
Configuration of the SSL identity of this server.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="keystore" type="keystoreType" />
</xs:sequence>
<xs:attribute name="protocol" type="xs:string" default="TLS">
<xs:annotation>
<xs:documentation>
The protocol to use when creating the SSLContext.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="keystoreType">
<xs:annotation>
<xs:documentation>
The keystore configuration for the server.
</xs:documentation>
</xs:annotation>
<xs:attribute name="file" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The file location of the keystore.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="password" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The password to open the keystore.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="authenticationType">
<xs:annotation>
<xs:documentation>
Configuration of the server side authentication mechanisms.
</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element name="users" type="usersAuthenticationType" minOccurs="0" />
<xs:element name="ldap" type="ldapAuthenticationType" minOccurs="0" />
</xs:choice>
<xs:attribute name="useDomainController" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
Should the request delegate to the domain controller or handle the authentication locally.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="ldapAuthenticationType">
<xs:annotation>
<xs:documentation>
Definition to use LDAP as the user repository.
</xs:documentation>
</xs:annotation>
<xs:attribute name="connection" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The name of the connection to use to connect to LDAP.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="base-dn" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The base distinguished name to commence the search for the user.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="username-attribute" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The name of the attribute to search for the user.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="recursive" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
Should the search be recursive.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="user-dn" type="xs:string" default="dn">
<xs:annotation>
<xs:documentation>
The name of the attribute which is the users distinguished name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="usersAuthenticationType">
<xs:annotation>
<xs:documentation>
A set of users
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="user" type="userType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="userType">
<xs:annotation>
<xs:documentation>
A single user.
</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element name="password" type="xs:string" />
</xs:choice>
<xs:attribute name="username" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The users username.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="management-interfaceType">
<xs:annotation>
<xs:documentation>
Configuration of a host's or standalone server's exposed management interface.
</xs:documentation>
</xs:annotation>
<xs:attribute name="interface" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
Network interface on which the host's socket for
management communication should be opened.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="port" type="xs:int" use="optional">
<xs:annotation>
<xs:documentation>
Port on which the host's socket for
management communication should be opened.
If not specified the port will not be opened.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="secure-port" type="xs:int" use="optional">
<xs:annotation>
<xs:documentation>
Secure port on which the host's socket for
management communication should be opened.
If not specified the port will not be opened.
If specified the security-realm will be required to obtain
the SSL configuration.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="security-realm" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The security realm to use for this management interface, the capabilities
of the security realm will be queried to identify the authentication mechanism(s) to
offer.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="management-interfacesType">
<xs:all minOccurs="0">
<xs:element name="native-interface" type="management-interfaceType"/>
<xs:element name="http-interface" type="management-interfaceType"/>
</xs:all>
</xs:complexType>
<xs:complexType name="domain-controllerType">
<xs:choice>
<xs:element name="local" type="domain-controller-localType"/>
<xs:element name="remote" type="domain-controller-remoteType"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="domain-controller-localType">
<!-- FIXME this is a total ripoff of serverType to make it easy
to initially test booting a server by having the DC act as such.
We need a proper description of what a DC is
-->
<xs:all>
<xs:element name="priority" type="priorityType" minOccurs="0"/>
<xs:element name="cpu-affinity" type="cpu-affinityType" minOccurs="0"/>
<xs:element name="interface-specs" type="specified-interfacesType" minOccurs="0"/>
<xs:element name="socket-binding-group" type="socket-binding-group-refType" minOccurs="0"/>
<xs:element name="system-properties" type="properties" minOccurs="0"/>
<xs:element name="jvm" minOccurs="0" type="jvmType"/>
</xs:all>
<xs:attribute name="name" type="xs:string" use="optional" default="DomainController"/>
</xs:complexType>
<xs:complexType name="domain-controller-remoteType">
<!-- TODO need different discovery mechanisms -->
<xs:attribute name="location" type="xs:anyURI" use="required"/>
<!-- the interface to bind to for outbound connections to the given location -->
<xs:attribute name="bind-interface" type="xs:string" use="optional"/>
<xs:attribute name="callback-location" type="xs:anyURI" use="required"/>
<xs:attribute name="outbound-interface" type="xs:string"/>
<xs:attribute name="callback-outbound-interface" type="xs:string"/>
</xs:complexType>
<xs:complexType name="serversType">
<xs:sequence>
<xs:element name="server" type="serverType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="serverType">
<xs:all>
<xs:element name="paths" type="specified-pathsType" minOccurs="0" maxOccurs="1" />
<xs:element name="priority" type="priorityType" minOccurs="0"/>
<xs:element name="cpu-affinity" type="cpu-affinityType" minOccurs="0"/>
<xs:element name="interface-specs" type="specified-interfacesType" minOccurs="0"/>
<xs:element name="socket-binding-group" type="socket-binding-group-refType" minOccurs="0"/>
<!--<xs:element name="loggers" type="loggersType" minOccurs="0"/>-->
<xs:element name="system-properties" type="properties-with-boottime" minOccurs="0"/>
<xs:element name="jvm" minOccurs="0" type="serverJvmType"/>
</xs:all>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="group" type="xs:string" use="required"/>
<xs:attribute name="auto-start" type="xs:boolean" default="true"/>
</xs:complexType>
<xs:complexType name="priorityType">
<xs:attribute name="value" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="cpu-affinityType">
<xs:attribute name="cpus" type="xs:string">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="extensionsType">
<xs:annotation>
<xs:documentation>Contains a list of extension modules.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="extension" type="extensionType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="extensionType">
<xs:annotation>
<xs:documentation>
A module that extends the standard capabilities of a domain
or a standalone server.
</xs:documentation>
</xs:annotation>
<xs:attribute name="module" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>The name of the module</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="server-groupsType">
<xs:sequence>
<xs:element name="server-group" type="server-groupType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="server-groupType">
<xs:sequence>
<xs:element name="jvm" type="namedJvmType" minOccurs="0"/>
<xs:element name="socket-binding-group" type="socket-binding-group-refType" minOccurs="1"/>
<xs:element name="deployments" type="mapped-deploymentsType" minOccurs="0"/>
<xs:element name="system-properties" minOccurs="0" type="properties-with-boottime"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of the server group
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="profile" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of the profile this server is running.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="mapped-deploymentsType">
<xs:annotation>
<xs:documentation>Contains a list of deployments that have been mapped to a server-group.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="deployment" type="mapped-deploymentType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="mapped-deploymentType">
<xs:annotation>
<xs:documentation>A deployment that has been mapped to a server group.</xs:documentation>
</xs:annotation>
<xs:sequence>
<!-- TODO: maxOccurs should be unbounded once overlays are in place -->
<xs:choice maxOccurs="1">
<xs:element name="content" type="contentType"/>
<xs:element name="fs-archive" type="fs-archiveType"/>
<xs:element name="fs-exploded" type="fs-explodedType"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="name" use="required">
<xs:annotation>
<xs:documentation>Unique identifier of the deployment. Must be unique across all deployments.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="runtime-name" use="required">
<xs:annotation>
<xs:documentation>Name by which the deployment will be known within a running server.of the deployment.
Does not need to be unique across all deployments in the domain, although it must be unique within
an individual server. For example, two different deployments running on different servers in
the domain could both have a 'runtime-name' of 'example.war', with one having a 'name'
of 'example.war_v1' and another with an 'name' of 'example.war_v2'.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<!-- TODO clarify what a value of 'false' means -->
<xs:attribute name="enabled" use="optional" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>Whether the deployment deploy automatically when the server starts up.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="contentType">
<xs:attribute name="sha1" use="required">
<xs:annotation>
<xs:documentation>The checksum of the content</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="fs-archiveType">
<xs:annotation>
<xs:documentation>Archived content found on the filesystem</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="fs-baseType"/>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="fs-baseType">
<xs:complexContent>
<xs:extension base="pathType"/>
</xs:complexContent>
<!-- TODO: make path required
<xs:complexContent>
<xs:restriction base="pathType">
<xs:attribute name="path" use="required"/>
</xs:restriction>
</xs:complexContent>
-->
</xs:complexType>
<xs:complexType name="fs-explodedType">
<xs:annotation>
<xs:documentation>Exploded content found on the filesystem</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="fs-baseType"/>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="domain-deploymentsType">
<xs:annotation>
<xs:documentation>Contains a list of domain-level deployments</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="deployment" type="deploymentType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deploymentType">
<xs:annotation>
<xs:documentation>Deployment represents anything that can be deployed (e.g. an application such as EJB-JAR,
WAR, EAR,
any kind of standard archive such as RAR or JBoss-specific deployment),
which can be enabled or disabled on a domain level.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="mapped-deploymentType" />
</xs:complexContent>
</xs:complexType>
<!-- TODO this is not used anywhere yet -->
<xs:complexType name="clustersType">
<xs:complexContent>
<xs:extension base="server-groupType">
<xs:sequence>
<xs:element name="partition-name" type="xs:string"/>
<xs:element name="state-transfer-timeout" type="xs:integer"/>
<xs:element name="method-call-timeout" type="xs:integer"/>
</xs:sequence>
<xs:attribute name="category" type="xs:string" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- domain-configuration related definitions -->
<xs:complexType name="domain-configurationType">
<xs:annotation>
<xs:documentation>The domain controller/server bootstrap configuration</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="bootstrapURI"/>
</xs:sequence>
</xs:complexType>
<xs:element name="bootstrapURI" type="xs:string">
<xs:annotation>
<xs:documentation>The URI for bootstrapping a domain server</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="profilesType">
<xs:annotation>
<xs:documentation>Contains a list of profiles available for use in the domain</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="profile" type="domain-profileType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="domain-profileType">
<xs:annotation>
<xs:documentation>Contains a list of subsystems</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="include" type="profile-includeType" minOccurs="0" maxOccurs="unbounded"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A profile declaration may include configuration
elements from other namespaces for the subsystems that make up the profile.
</xs:documentation>
</xs:annotation>
</xs:any>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the profile</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="profile-includeType">
<xs:annotation>
<xs:documentation>Specifies that a contents of a named profile are to be included in
the profile whose definition includes this type.
</xs:documentation>
</xs:annotation>
<xs:attribute name="profile" use="required">
<xs:annotation>
<xs:documentation>Name of the profile to include</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="standalone-profileType">
<xs:annotation>
<xs:documentation>Contains a list of subsystems</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:any namespace="##other">
<xs:annotation>
<xs:documentation>A profile declaration may include configuration
elements from other namespaces for the subsystems that make up the profile.
</xs:documentation>
</xs:annotation>
</xs:any>
</xs:choice>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the profile</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- general socket definition -->
<xs:complexType name="socket-binding-groupsType">
<xs:annotation>
<xs:documentation>Contains a list of socket binding groups</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="socket-binding-group" type="socket-binding-groupType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="socket-binding-groupType">
<xs:annotation>
<xs:documentation>Contains a list of socket configurations</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="include" type="socket-binding-group-includeType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="socket-binding" type="socket-bindingType" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="default-interface" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
Name of an interface that should be used as the interface for
any sockets that do not explicitly declare one.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="socket-binding-group-includeType">
<xs:annotation>
<xs:documentation>Specifies that a contents of a named socket-binding-group are to be included in
the socket-binding-group whose definition includes this type.
</xs:documentation>
</xs:annotation>
<xs:attribute name="socket-binding-group" use="required">
<xs:annotation>
<xs:documentation>Name of the socket-binding-group to include</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="standalone-socket-binding-groupType">
<xs:annotation>
<xs:documentation>Contains a list of socket configurations</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="socket-binding" type="socket-bindingType" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="default-interface" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
Name of an interface that should be used as the interface for
any sockets that do not explicitly declare one.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="port-offset" type="xs:int" use="optional" default="0">
<xs:annotation>
<xs:documentation>
Increment to apply to the base port values defined in the
socket group to derive the values to use on this
server.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="socket-bindingType">
<xs:annotation>
<xs:documentation>Configuration information for a socket.</xs:documentation>
</xs:annotation>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="interface" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
Name of the interface to which the socket should be bound, or, for multicast
sockets, the interface on which it should listen. This should
be one of the declared interfaces.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="port" type="xs:unsignedShort" use="optional" default="0">
<xs:annotation>
<xs:documentation>
Number of the port to which the socket should be bound.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="fixed-port" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>
Whether the port value should remain fixed even if numerically offsets
are applied to the other sockets in the socket group..
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="multicast-address" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
Multicast address on which the socket should receive multicast
traffic. If unspecified, the socket will not be configured
to receive multicast.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="multicast-port" type="xs:positiveInteger" use="optional">
<xs:annotation>
<xs:documentation>
Port on which the socket should receive multicast
traffic. Must be configured if 'multicast-address' is configured.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="socket-binding-group-refType">
<xs:attribute name="ref" type="xs:string">
<xs:annotation>
<xs:documentation>
The socket group to use for the server group or server.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="port-offset" type="xs:int" default="0">
<xs:annotation>
<xs:documentation>
Increment to apply to the base port values defined in the
referenced socket group to derive the values to use on this
server.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="named-interfacesType">
<xs:annotation>
<xs:documentation>
A list of named network interfaces. The interfaces may or may
not be fully specified (i.e. include criteria on how to determine
their IP address.)
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="interface" type="named-interfaceType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<!-- TODO make this and specified-interfaceType the same except for interface-criteriaGroup minOccurs -->
<xs:complexType name="named-interfaceType">
<xs:annotation>
<xs:documentation>
A named network interface, but without any criteria
for determining the IP address to associate with that interface.
Acts as a placeholder in the model (e.g. at the domain level)
until a fully specified interface definition is applied at a
lower level (e.g. at the server level, where available addresses
are known.)
</xs:documentation>
</xs:annotation>
<xs:group ref="interface-criteriaGroup" minOccurs="0"/>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="specified-interfacesType">
<xs:annotation>
<xs:documentation>
A list of fully specified named network interfaces.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="interface" type="specified-interfaceType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="specified-interfaceType">
<xs:annotation>
<xs:documentation>
A named network interface, along with required criteria
for determining the IP address to associate with that interface.
</xs:documentation>
</xs:annotation>
<xs:group ref="interface-criteriaGroup" minOccurs="1"/>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
<xs:group name="interface-criteriaGroup">
<xs:annotation>
<xs:documentation>
A set of criteria that can be used at runtime to determine
what IP address to use for an interface.
</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element name="any-address" type="any-addressType"/>
<xs:element name="any-ipv6-address" type="any-ipv6-addressType"/>
<xs:element name="any-ipv4-address" type="any-ipv4-addressType"/>
<xs:choice maxOccurs="unbounded">
<xs:element name="inet-address" type="inet-addressType"/>
<xs:element name="loopback" type="loopbackType"/>
<xs:element name="multicast" type="multicastType"/>
<xs:element name="point-to-point" type="point-to-pointType"/>
<xs:element name="virtual" type="interface-virtualType"/>
<xs:element name="up" type="interface-upType"/>
<xs:element name="public-address" type="public-addressType"/>
<xs:element name="link-local-address" type="link-local-addressType"/>
<xs:element name="site-local-address" type="site-local-addressType"/>
<xs:element name="nic" type="nicType"/>
<xs:element name="nic-match" type="nic-matchType"/>
<xs:element name="subnet-match" type="subnet-matchType"/>
<xs:element name="not" type="address-exclusionType"/>
<xs:element name="any" type="address-exclusionType"/>
</xs:choice>
</xs:choice>
</xs:group>
<xs:complexType name="inet-addressType">
<xs:attribute name="value" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
Either a IP address in IPv6 or IPv4 dotted decimal notation,
or a hostname that can be resolved to an IP address.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="nicType">
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The name of a network interface (e.g. eth0, eth1, lo).
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="nic-matchType">
<xs:attribute name="pattern" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
A regular expression against which the names of the network
interfaces available on the machine can be matched to find
an acceptable interface.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>