blob: e4410781cae2ded571191d765e194f5f8e10f36e [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 target handler. Runtime target handlers are called whenever a runtime target is added or removed from a project. They can be used to switch Java classpaths, setup default resources, etc.
10 </documentation>
11 </annotation>
12
13 <element name="extension">
14 <complexType>
15 <sequence>
16 <element ref="runtimeTargetHandler" 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="runtimeTargetHandler">
43 <annotation>
44 <appInfo>
45 <meta.element labelAttribute="name"/>
46 </appInfo>
47 </annotation>
48 <complexType>
49 <sequence>
50 </sequence>
51 <attribute name="id" type="string" use="required">
52 <annotation>
53 <documentation>
54 specifies a unique identifier for this extension point
55 </documentation>
56 </annotation>
57 </attribute>
58 <attribute name="runtimeTypeIds" type="string" use="required">
59 <annotation>
60 <documentation>
61 a comma separated list of runtime type ids that this handler may support. Used for memory &amp; performance reasons
62 </documentation>
63 </annotation>
64 </attribute>
65 <attribute name="class" type="string" use="required">
66 <annotation>
67 <documentation>
deboerda1df6a2004-12-03 13:35:32 +000068 specifies the fully qualified name of the Java class that extends &lt;samp&gt;RuntimeTargetHandlerDelegate&lt;/samp&gt;.
ndaib94eb262004-10-13 15:55:37 +000069Runtime target handler instances of this type will delegate to instances of this class.
70 </documentation>
71 <appInfo>
deboer616c3a12005-03-08 16:28:10 +000072 <meta.attribute kind="java" basedOn="org.eclipse.wst.server.core.model.RuntimeTargetHandlerDelegate"/>
ndaib94eb262004-10-13 15:55:37 +000073 </appInfo>
74 </annotation>
75 </attribute>
76 <attribute name="order" type="string">
77 <annotation>
78 <documentation>
79 an integer order used to sort handlers relative to each other
80 </documentation>
81 </annotation>
82 </attribute>
83 </complexType>
84 </element>
85
86 <annotation>
87 <appInfo>
88 <meta.section type="examples"/>
89 </appInfo>
90 <documentation>
91 The following is an example of a runtime target handler extension point:
92
93&lt;p&gt;
94&lt;pre&gt;
95 &lt;extension point=&quot;org.eclipse.wst.server.core.runtimeTargetHandlers&quot;&gt;
96 &lt;runtimeTargetHandler
97 id=&quot;com.example.runtimeTargetHandler&quot;
98 runtimeTypeIds=&quot;com.example.runtime, com.example2.*&quot;
99 class=&quot;com.example.ExampleRuntimeTargetHandler&quot;/&gt;
100 &lt;/extension&gt;
101&lt;/pre&gt;
102&lt;/p&gt;
103 </documentation>
104 </annotation>
105
106 <annotation>
107 <appInfo>
108 <meta.section type="apiInfo"/>
109 </appInfo>
110 <documentation>
deboerda1df6a2004-12-03 13:35:32 +0000111 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.RuntimeTargetHandlerDelegate&lt;/b&gt; and contains a public 0-arg constructor.
ndaib94eb262004-10-13 15:55:37 +0000112 </documentation>
113 </annotation>
114
115 <annotation>
116 <appInfo>
117 <meta.section type="copyright"/>
118 </appInfo>
119 <documentation>
deboer09c692b2005-04-20 15:07:15 +0000120 Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
ndaib94eb262004-10-13 15:55:37 +0000121All rights reserved. This program and the accompanying materials are made
deboerdf10c152005-02-17 18:24:46 +0000122available under the terms of the Eclipse Public License v1.0 which accompanies
ndaib94eb262004-10-13 15:55:37 +0000123this distribution, and is available at
deboerdf10c152005-02-17 18:24:46 +0000124&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 +0000125 </documentation>
126 </annotation>
127
128</schema>