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>
|
deboer | da1df6a | 2004-12-03 13:35:32 +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>
|
| 81 | <meta.section type="examples"/>
|
| 82 | </appInfo>
|
| 83 | <documentation>
|
| 84 | The following is an example of a launchable adapter extension point: |
| 85 | |
| 86 | <p> |
| 87 | <pre> |
| 88 | <extension point="org.eclipse.wst.server.core.launchableAdapters"> |
| 89 | <launchableAdapter |
| 90 | id="com.example.launchableAdapter" |
| 91 | class="com.example.ExampleLaunchableAdapterDelegate"/> |
| 92 | </extension> |
| 93 | </pre> |
| 94 | </p>
|
| 95 | </documentation>
|
| 96 | </annotation>
|
| 97 |
|
| 98 | <annotation>
|
| 99 | <appInfo>
|
| 100 | <meta.section type="apiInfo"/>
|
| 101 | </appInfo>
|
| 102 | <documentation>
|
deboer | da1df6a | 2004-12-03 13:35:32 +0000 | [diff] [blame] | 103 | Value of the attribute <b>class</b> must be a fully qualified name of a Java class that extends <b>org.eclipse.wst.server.core.model.LaunchableAdapterDelegate</b> and contains a public 0-arg constructor.
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 104 | </documentation>
|
| 105 | </annotation>
|
| 106 |
|
| 107 | <annotation>
|
| 108 | <appInfo>
|
| 109 | <meta.section type="copyright"/>
|
| 110 | </appInfo>
|
| 111 | <documentation>
|
deboer | 09c692b | 2005-04-20 15:07:15 +0000 | [diff] [blame^] | 112 | Copyright (c) 2000, 2005 IBM Corporation and others.<br> |
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 113 | All rights reserved. This program and the accompanying materials are made |
deboer | df10c15 | 2005-02-17 18:24:46 +0000 | [diff] [blame] | 114 | available under the terms of the Eclipse Public License v1.0 which accompanies |
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 115 | this distribution, and is available at |
deboer | df10c15 | 2005-02-17 18:24:46 +0000 | [diff] [blame] | 116 | <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] | 117 | </documentation>
|
| 118 | </annotation>
|
| 119 |
|
| 120 | </schema>
|