deboer | 3fb382d | 2005-04-19 16:13:42 +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="serverLocators" name="Server Locators"/> |
| 7 | </appInfo> |
| 8 | <documentation> |
| 9 | This extension point is used to locate new servers on the local or remote machines. |
| 10 | </documentation> |
| 11 | </annotation> |
| 12 | |
| 13 | <element name="extension"> |
| 14 | <complexType> |
| 15 | <sequence> |
| 16 | <element ref="serverLocator" 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="serverLocator"> |
| 43 | <annotation> |
| 44 | <appInfo> |
| 45 | <meta.element labelAttribute="name"/> |
| 46 | </appInfo> |
| 47 | </annotation> |
| 48 | <complexType> |
| 49 | <attribute name="id" type="string" use="required"> |
| 50 | <annotation> |
| 51 | <documentation> |
| 52 | specifies a unique identifier for this extension point |
| 53 | </documentation> |
| 54 | </annotation> |
| 55 | </attribute> |
| 56 | <attribute name="class" type="string" use="required"> |
| 57 | <annotation> |
| 58 | <documentation> |
deboer | 616c3a1 | 2005-03-08 16:28:10 +0000 | [diff] [blame] | 59 | specifies the fully qualified name of the Java class that implements <samp>ServerLocatorDelegate</samp>. |
deboer | 3fb382d | 2005-04-19 16:13:42 +0000 | [diff] [blame] | 60 | Server locator instances of this type will delegate to instances of this class. |
| 61 | </documentation> |
| 62 | <appInfo> |
| 63 | <meta.attribute kind="java"/> |
| 64 | </appInfo> |
| 65 | </annotation> |
| 66 | </attribute> |
| 67 | <attribute name="supportsRemoteHosts" type="string" use="required"> |
| 68 | <annotation> |
| 69 | <documentation> |
| 70 | local and/or remote |
| 71 | </documentation> |
| 72 | </annotation> |
| 73 | </attribute> |
| 74 | <attribute name="typeIds" type="string" use="required"> |
| 75 | <annotation> |
| 76 | <documentation> |
| 77 | |
| 78 | </documentation> |
| 79 | </annotation> |
| 80 | </attribute> |
| 81 | </complexType> |
| 82 | </element> |
| 83 | |
| 84 | <annotation> |
| 85 | <appInfo> |
| 86 | <meta.section type="examples"/> |
| 87 | </appInfo> |
| 88 | <documentation> |
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 89 | The following is an example of a server locator extension point: |
| 90 | |
| 91 | <p> |
| 92 | <pre> |
| 93 | <extension point="org.eclipse.wst.server.core.serverLocators"> |
| 94 | <serverLocator |
| 95 | id="com.example.locator" |
| 96 | name="%serverLocatorName" |
| 97 | description="%serverLocatorDescription" |
| 98 | class="com.example.ExampleServerLocator"/> |
| 99 | </extension> |
| 100 | </pre> |
deboer | 3fb382d | 2005-04-19 16:13:42 +0000 | [diff] [blame] | 101 | </p> |
| 102 | </documentation> |
| 103 | </annotation> |
| 104 | |
| 105 | <annotation> |
| 106 | <appInfo> |
| 107 | <meta.section type="apiInfo"/> |
| 108 | </appInfo> |
| 109 | <documentation> |
| 110 | Value of the attribute <b>class</b> must be a fully qualified name of a Java class that implements the interface <b>org.eclipse.wst.server.core.internal.provisional.ServerLocatorDelegate</b>. |
| 111 | </documentation> |
| 112 | </annotation> |
| 113 | |
| 114 | <annotation> |
| 115 | <appInfo> |
| 116 | <meta.section type="copyright"/> |
| 117 | </appInfo> |
| 118 | <documentation> |
deboer | 09c692b | 2005-04-20 15:07:15 +0000 | [diff] [blame^] | 119 | Copyright (c) 2000, 2005 IBM Corporation and others.<br> |
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 120 | All rights reserved. This program and the accompanying materials are made |
deboer | df10c15 | 2005-02-17 18:24:46 +0000 | [diff] [blame] | 121 | available under the terms of the Eclipse Public License v1.0 which accompanies |
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 122 | this distribution, and is available at |
deboer | 3fb382d | 2005-04-19 16:13:42 +0000 | [diff] [blame] | 123 | <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| 124 | </documentation> |
| 125 | </annotation> |
| 126 | |
| 127 | </schema> |