blob: 5c6b7fa56795cbc883cb61ac543ed87edfa61f2b [file] [log] [blame]
ndaib94eb262004-10-13 15:55:37 +00001<?xml version='1.0' encoding='UTF-8'?>
2<!-- Schema file written by PDE -->
3<schema targetNamespace="org.eclipse.wst.server.core">
4<annotation>
5 <appInfo>
6 <meta.schema plugin="org.eclipse.wst.server.core" id="runtimeTypes" name="Runtime Types"/>
7 </appInfo>
8 <documentation>
9 This extension point is used to provide a new runtime type.
10 </documentation>
11 </annotation>
12
13 <element name="extension">
14 <complexType>
15 <sequence>
16 <element ref="runtimeType" minOccurs="0" maxOccurs="unbounded"/>
17 </sequence>
18 <attribute name="point" type="string" use="required">
19 <annotation>
20 <documentation>
21 a fully qualified identifier of the target extension point
22 </documentation>
23 </annotation>
24 </attribute>
25 <attribute name="id" type="string">
26 <annotation>
27 <documentation>
28 an optional identifier of the extension instance
29 </documentation>
30 </annotation>
31 </attribute>
32 <attribute name="name" type="string">
33 <annotation>
34 <documentation>
35 an optional name of the extension instance
36 </documentation>
37 </annotation>
38 </attribute>
39 </complexType>
40 </element>
41
42 <element name="runtimeType">
43 <annotation>
44 <appInfo>
45 <meta.element labelAttribute="name"/>
46 </appInfo>
47 </annotation>
48 <complexType>
49 <sequence>
50 <element ref="moduleType" minOccurs="0" maxOccurs="unbounded"/>
51 </sequence>
52 <attribute name="id" type="string" use="required">
53 <annotation>
54 <documentation>
55 specifies a unique identifier for this extension point
56 </documentation>
57 </annotation>
58 </attribute>
59 <attribute name="name" type="string" use="required">
60 <annotation>
61 <documentation>
62 a translatable name used to identify the runtime type
63 </documentation>
64 </annotation>
65 </attribute>
66 <attribute name="description" type="string" use="required">
67 <annotation>
68 <documentation>
69 a translatable description of the runtime type
70 </documentation>
71 </annotation>
72 </attribute>
73 <attribute name="vendor" type="string">
74 <annotation>
75 <documentation>
76 a translatable vendor name
77 </documentation>
78 </annotation>
79 </attribute>
80 <attribute name="version" type="string">
81 <annotation>
82 <documentation>
83 a translatable version number
84 </documentation>
85 </annotation>
86 </attribute>
87 <attribute name="vendorId" type="string">
88 <annotation>
89 <documentation>
90 an id used to identify the vendor
91 </documentation>
92 </annotation>
93 </attribute>
94 <attribute name="class" type="string">
95 <annotation>
96 <documentation>
deboerda1df6a2004-12-03 13:35:32 +000097 specifies the fully qualified name of the Java class that extends &lt;samp&gt;RuntimeDelegate&lt;/samp&gt;.
98Runtime instances of this type will delegate to instances of this class. Delegates must also have a public 0-arg constructor.
ndaib94eb262004-10-13 15:55:37 +000099 </documentation>
100 </annotation>
101 </attribute>
102 <attribute name="order" type="string">
103 <annotation>
104 <documentation>
105 an integer order specifying the relative importance of this runtime
106 </documentation>
107 </annotation>
108 </attribute>
109 </complexType>
110 </element>
111
112 <element name="moduleType">
113 <complexType>
114 <attribute name="types" type="string" use="required">
115 <annotation>
116 <documentation>
117 a comma separated list of the module types that this runtime supports
118 </documentation>
119 </annotation>
120 </attribute>
121 <attribute name="versions" type="string" use="required">
122 <annotation>
123 <documentation>
124 a comma separated list of the module versions that this runtime supports
125 </documentation>
126 </annotation>
127 </attribute>
128 </complexType>
129 </element>
130
131 <annotation>
132 <appInfo>
133 <meta.section type="examples"/>
134 </appInfo>
135 <documentation>
136 The following is an example of a runtime type extension point:
137
138&lt;p&gt;
139&lt;pre&gt;
140 &lt;extension point=&quot;org.eclipse.wst.server.core.runtimeTypes&quot;&gt;
141 &lt;runtimeType
142 id=&quot;com.example.runtime&quot;
143 name=&quot;%runtimeTypeName&quot;
144 description=&quot;%runtimeTypeDescription&quot;
145 vendor=&quot;%runtimeTypeVendor&quot;
146 version=&quot;1.0&quot;
deboerda1df6a2004-12-03 13:35:32 +0000147 class=&quot;com.example.ExampleRuntimeDelegate&quot;&gt;
ndaib94eb262004-10-13 15:55:37 +0000148 &lt;moduleType
149 types=&quot;j2ee.web&quot;
150 versions=&quot;1.2, 1.3, 1.4&quot;/&gt;
151 &lt;/runtimeType&gt;
152 &lt;/extension&gt;
153&lt;/pre&gt;
154&lt;/p&gt;
155 </documentation>
156 </annotation>
157
158 <annotation>
159 <appInfo>
160 <meta.section type="apiInfo"/>
161 </appInfo>
162 <documentation>
deboerda1df6a2004-12-03 13:35:32 +0000163 Value of the attribute &lt;b&gt;class&lt;/b&gt; must be a fully qualified name of a Java class that extends &lt;b&gt;org.eclipse.wst.server.core.model.RuntimeDelegate&lt;/b&gt; and contains a public 0-arg constructor.
ndaib94eb262004-10-13 15:55:37 +0000164 </documentation>
165 </annotation>
166
167 <annotation>
168 <appInfo>
169 <meta.section type="copyright"/>
170 </appInfo>
171 <documentation>
deboer09c692b2005-04-20 15:07:15 +0000172 Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
ndaib94eb262004-10-13 15:55:37 +0000173All rights reserved. This program and the accompanying materials are made
deboerdf10c152005-02-17 18:24:46 +0000174available under the terms of the Eclipse Public License v1.0 which accompanies
ndaib94eb262004-10-13 15:55:37 +0000175this distribution, and is available at
deboerdf10c152005-02-17 18:24:46 +0000176&lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
ndaib94eb262004-10-13 15:55:37 +0000177 </documentation>
178 </annotation>
179
180</schema>