blob: 1e791e39e07fac873cc8905b4e73dbc44f04aeb9 [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="launchableAdapters" name="Launchable Adapters"/>
7 </appInfo>
8 <documentation>
9 This extension point provides a way to invoke code during the server core plugin startup. Use sparingly.
10 </documentation>
11 </annotation>
12
13 <element name="extension">
14 <complexType>
15 <sequence>
16 <element ref="launchableAdapter" 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="launchableAdapter">
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="class" type="string" use="required">
59 <annotation>
60 <documentation>
deboerda1df6a2004-12-03 13:35:32 +000061 specifies the fully qualified name of the Java class that extends &lt;samp&gt;LaunchableAdapterDelegate&lt;/samp&gt;.
ndaib94eb262004-10-13 15:55:37 +000062Launchable adapter instances of this type will delegate to instances of this class.
63 </documentation>
64 <appInfo>
deboer616c3a12005-03-08 16:28:10 +000065 <meta.attribute kind="java" basedOn="org.eclipse.wst.server.core.model.LaunchableAdapterDelegate"/>
ndaib94eb262004-10-13 15:55:37 +000066 </appInfo>
67 </annotation>
68 </attribute>
69 </complexType>
70 </element>
71
72 <annotation>
73 <appInfo>
74 <meta.section type="examples"/>
75 </appInfo>
76 <documentation>
77 The following is an example of a launchable adapter extension point:
78
79&lt;p&gt;
80&lt;pre&gt;
81 &lt;extension point=&quot;org.eclipse.wst.server.core.launchableAdapters&quot;&gt;
82 &lt;launchableAdapter
83 id=&quot;com.example.launchableAdapter&quot;
84 class=&quot;com.example.ExampleLaunchableAdapterDelegate&quot;/&gt;
85 &lt;/extension&gt;
86&lt;/pre&gt;
87&lt;/p&gt;
88 </documentation>
89 </annotation>
90
91 <annotation>
92 <appInfo>
93 <meta.section type="apiInfo"/>
94 </appInfo>
95 <documentation>
deboerda1df6a2004-12-03 13:35:32 +000096 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.LaunchableAdapterDelegate&lt;/b&gt; and contains a public 0-arg constructor.
ndaib94eb262004-10-13 15:55:37 +000097 </documentation>
98 </annotation>
99
100 <annotation>
101 <appInfo>
102 <meta.section type="copyright"/>
103 </appInfo>
104 <documentation>
105 Copyright (c) 2000, 2003 IBM Corporation and others.&lt;br&gt;
106All rights reserved. This program and the accompanying materials are made
deboerdf10c152005-02-17 18:24:46 +0000107available under the terms of the Eclipse Public License v1.0 which accompanies
ndaib94eb262004-10-13 15:55:37 +0000108this distribution, and is available at
deboerdf10c152005-02-17 18:24:46 +0000109&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 +0000110 </documentation>
111 </annotation>
112
113</schema>