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="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>
|
deboer | da1df6a | 2004-12-03 13:35:32 +0000 | [diff] [blame] | 97 | specifies the fully qualified name of the Java class that extends <samp>RuntimeDelegate</samp>. |
| 98 | Runtime instances of this type will delegate to instances of this class. Delegates must also have a public 0-arg constructor.
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 99 | </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 | <p> |
| 139 | <pre> |
| 140 | <extension point="org.eclipse.wst.server.core.runtimeTypes"> |
| 141 | <runtimeType |
| 142 | id="com.example.runtime" |
| 143 | name="%runtimeTypeName" |
| 144 | description="%runtimeTypeDescription" |
| 145 | vendor="%runtimeTypeVendor" |
| 146 | version="1.0" |
deboer | da1df6a | 2004-12-03 13:35:32 +0000 | [diff] [blame] | 147 | class="com.example.ExampleRuntimeDelegate"> |
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 148 | <moduleType |
| 149 | types="j2ee.web" |
| 150 | versions="1.2, 1.3, 1.4"/> |
| 151 | </runtimeType> |
| 152 | </extension> |
| 153 | </pre> |
| 154 | </p>
|
| 155 | </documentation>
|
| 156 | </annotation>
|
| 157 |
|
| 158 | <annotation>
|
| 159 | <appInfo>
|
| 160 | <meta.section type="apiInfo"/>
|
| 161 | </appInfo>
|
| 162 | <documentation>
|
deboer | da1df6a | 2004-12-03 13:35:32 +0000 | [diff] [blame] | 163 | 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.RuntimeDelegate</b> and contains a public 0-arg constructor.
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 164 | </documentation>
|
| 165 | </annotation>
|
| 166 |
|
| 167 | <annotation>
|
| 168 | <appInfo>
|
| 169 | <meta.section type="copyright"/>
|
| 170 | </appInfo>
|
| 171 | <documentation>
|
deboer | 09c692b | 2005-04-20 15:07:15 +0000 | [diff] [blame^] | 172 | Copyright (c) 2000, 2005 IBM Corporation and others.<br> |
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 173 | All rights reserved. This program and the accompanying materials are made |
deboer | df10c15 | 2005-02-17 18:24:46 +0000 | [diff] [blame] | 174 | available under the terms of the Eclipse Public License v1.0 which accompanies |
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 175 | this distribution, and is available at |
deboer | df10c15 | 2005-02-17 18:24:46 +0000 | [diff] [blame] | 176 | <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] | 177 | </documentation>
|
| 178 | </annotation>
|
| 179 |
|
| 180 | </schema>
|