ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 1 | <?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>
|
deboer | e44738c | 2005-03-08 22:14:38 +0000 | [diff] [blame] | 9 | This extension point provides a way for a server to support the Run on Server scenario.
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 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>
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 61 | specifies the fully qualified name of the Java class that extends <samp>LaunchableAdapterDelegate</samp>.
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 62 | Launchable adapter instances of this type will delegate to instances of this class.
|
| 63 | </documentation>
|
| 64 | <appInfo>
|
deboer | 616c3a1 | 2005-03-08 16:28:10 +0000 | [diff] [blame] | 65 | <meta.attribute kind="java" basedOn="org.eclipse.wst.server.core.model.LaunchableAdapterDelegate"/>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 66 | </appInfo>
|
| 67 | </annotation>
|
| 68 | </attribute>
|
deboer | e44738c | 2005-03-08 22:14:38 +0000 | [diff] [blame] | 69 | <attribute name="typeIds" type="string">
|
| 70 | <annotation>
|
| 71 | <documentation>
|
| 72 |
|
| 73 | </documentation>
|
| 74 | </annotation>
|
| 75 | </attribute>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 76 | </complexType>
|
| 77 | </element>
|
| 78 |
|
| 79 | <annotation>
|
| 80 | <appInfo>
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 81 | <meta.section type="since"/>
|
| 82 | </appInfo>
|
| 83 | <documentation>
|
| 84 | 1.0
|
| 85 | </documentation>
|
| 86 | </annotation>
|
| 87 |
|
| 88 | <annotation>
|
| 89 | <appInfo>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 90 | <meta.section type="examples"/>
|
| 91 | </appInfo>
|
| 92 | <documentation>
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 93 | The following is an example of a launchable adapter extension point:
|
| 94 |
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 95 | <pre>
|
lmandel | eef9611 | 2005-12-09 22:43:22 +0000 | [diff] [blame] | 96 | <extension
|
| 97 | point="org.eclipse.wst.server.core.launchableAdapters">
|
| 98 | <launchableAdapter
|
| 99 | id="com.example.launchableAdapter"
|
| 100 | class="com.example.ExampleLaunchableAdapterDelegate"/>
|
| 101 | </extension>
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 102 | </pre>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 103 | </documentation>
|
| 104 | </annotation>
|
| 105 |
|
| 106 | <annotation>
|
| 107 | <appInfo>
|
| 108 | <meta.section type="apiInfo"/>
|
| 109 | </appInfo>
|
| 110 | <documentation>
|
lmandel | eef9611 | 2005-12-09 22:43:22 +0000 | [diff] [blame] | 111 | Value of the attribute <b>class</b> must be a fully qualified name of a Java class that extends <code>org.eclipse.wst.server.core.model.LaunchableAdapterDelegate</code> and contains a public 0-arg constructor.
|
| 112 | </documentation>
|
| 113 | </annotation>
|
| 114 |
|
| 115 | <annotation>
|
| 116 | <appInfo>
|
| 117 | <meta.section type="implementation"/>
|
| 118 | </appInfo>
|
| 119 | <documentation>
|
| 120 |
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 121 | </documentation>
|
| 122 | </annotation>
|
| 123 |
|
| 124 | <annotation>
|
| 125 | <appInfo>
|
| 126 | <meta.section type="copyright"/>
|
| 127 | </appInfo>
|
| 128 | <documentation>
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 129 | Copyright (c) 2000, 2005 IBM Corporation and others.<br>
|
| 130 | All rights reserved. This program and the accompanying materials are made
|
| 131 | available under the terms of the Eclipse Public License v1.0 which accompanies
|
| 132 | this distribution, and is available at
|
deboer | df10c15 | 2005-02-17 18:24:46 +0000 | [diff] [blame] | 133 | <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 134 | </documentation>
|
| 135 | </annotation>
|
| 136 |
|
| 137 | </schema>
|