| <?xml version='1.0' encoding='UTF-8'?>
|
| <!-- Schema file written by PDE -->
|
| <schema targetNamespace="org.eclipse.wst.server.core">
|
| <annotation>
|
| <appInfo>
|
| <meta.schema plugin="org.eclipse.wst.server.core" id="serverTypes" name="Server Types"/>
|
| </appInfo>
|
| <documentation>
|
| This extension point is used to provide support for a new server type.
|
| </documentation>
|
| </annotation>
|
|
|
| <element name="extension">
|
| <complexType>
|
| <sequence>
|
| <element ref="serverType"/>
|
| </sequence>
|
| <attribute name="point" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| a fully qualified identifier of the target extension point
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="id" type="string">
|
| <annotation>
|
| <documentation>
|
| an optional identifier of the extension instance
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="name" type="string">
|
| <annotation>
|
| <documentation>
|
| an optional name of the extension instance
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <element name="serverType">
|
| <complexType>
|
| <sequence>
|
| </sequence>
|
| <attribute name="id" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
|
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="runtimeTypeId" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
|
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="name" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| a translatable name used to identify this server type
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="description" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| a translatable description of this server type
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="class" type="string">
|
| <annotation>
|
| <documentation>
|
| specifies the fully qualified name of the Java class that implements <samp>IServerDelegate</samp>. |
| Server instances of this type will delegate to instances of this class.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="workingCopyClass" type="string">
|
| <annotation>
|
| <documentation>
|
| specifies the fully qualified name of the Java class that implements <samp>IServerWorkingCopyDelegate</samp>. |
| Server instances of this type will delegate to instances of this class.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="configurationTypeId" type="string">
|
| <annotation>
|
| <documentation>
|
| the id of the server configuration type that this server requires
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="startable" type="string">
|
| <annotation>
|
| <documentation>
|
|
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="order" type="string">
|
| <annotation>
|
| <documentation>
|
| an integer order specifying the relative importance of this server type
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="launchConfigId" type="string">
|
| <annotation>
|
| <documentation>
|
| the launch configuration id for the launch configuration that is able to start this server
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="hosts" type="string">
|
| <annotation>
|
| <documentation>
|
| local and/or remote
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="runtime" type="string">
|
| <annotation>
|
| <documentation>
|
| "true" if this server requires a runtime, "false" otherwise
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="monitorable" type="boolean">
|
| <annotation>
|
| <documentation>
|
| "true" if the class implements IMonitorableServer, and "false" otherwise
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="launchModes" type="string">
|
| <annotation>
|
| <documentation>
|
| the launch modes that this server supports
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="testEnvironment" type="string">
|
| <annotation>
|
| <documentation>
|
| "true" if this server should not be creatable unless there is an existing runtime with the test environment flag set to true, "false" otherwise
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="initialState" type="string">
|
| <annotation>
|
| <documentation>
|
| the intial state of the server, either "started", or "stopped". if this attribute is not specified, the server state will be "unknown"
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="stateSet" type="string">
|
| <annotation>
|
| <documentation>
|
| the state set of the server (changes menu options and UI). values are "managed", "attach", and "publish"
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="examples"/>
|
| </appInfo>
|
| <documentation>
|
| The following is an example of a server type extension point: |
| |
| <p> |
| <pre> |
| <extension point="org.eclipse.wst.server.core.serverTypes"> |
| <serverType |
| id="com.example.serverType" |
| name="%serverTypeName" |
| description="%serverTypeDescription" |
| hosts="localhost, remote" |
| runtime="true" |
| monitorable="true" |
| initialState="stopped" |
| configurationTypeId="com.example.serverConfiguration" |
| launchConfigId="com.example.launchConfigurationType" |
| runtimeTypeId="com.example.runtime" |
| class="com.example.ExampleServerDelegate" |
| workingCopyClass="com.example.ExampleServerWorkingCopyDelegate"> |
| </serverType> |
| </extension> |
| </pre> |
| </p>
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="apiInfo"/>
|
| </appInfo>
|
| <documentation>
|
| 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.model.IServerDelegate</b>.
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="copyright"/>
|
| </appInfo>
|
| <documentation>
|
| Copyright (c) 2000, 2003 IBM Corporation and others.<br> |
| All rights reserved. This program and the accompanying materials are made |
| available under the terms of the Common Public License v1.0 which accompanies |
| this distribution, and is available at |
| <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>
|
| </documentation>
|
| </annotation>
|
|
|
| </schema>
|