<?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" minOccurs="1" maxOccurs="unbounded"/> | |
</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"> | |
<annotation> | |
<appInfo> | |
<meta.element labelAttribute="id"/> | |
</appInfo> | |
</annotation> | |
<complexType> | |
<attribute name="id" type="string" use="required"> | |
<annotation> | |
<documentation> | |
unique identifier for the server type | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="name" type="string" use="required"> | |
<annotation> | |
<documentation> | |
a translatable name used to identify this server type | |
</documentation> | |
<appInfo> | |
<meta.attribute translatable="true"/> | |
</appInfo> | |
</annotation> | |
</attribute> | |
<attribute name="description" type="string" use="required"> | |
<annotation> | |
<documentation> | |
a translatable description of this server type | |
</documentation> | |
<appInfo> | |
<meta.attribute translatable="true"/> | |
</appInfo> | |
</annotation> | |
</attribute> | |
<attribute name="class" type="string" use="required"> | |
<annotation> | |
<documentation> | |
specifies the fully qualified name of the Java class that extends <samp>org.eclipse.wst.server.core.model.ServerDelegate</samp>. | |
Server instances of this type will delegate to instances of this class. Delegates must also have a public 0-arg constructor | |
</documentation> | |
<appInfo> | |
<meta.attribute kind="java" basedOn="org.eclipse.wst.server.core.model.ServerDelegate"/> | |
</appInfo> | |
</annotation> | |
</attribute> | |
<attribute name="behaviourClass" type="string"> | |
<annotation> | |
<documentation> | |
specifies the fully qualified name of the Java class that implements <samp>org.eclipse.wst.server.core.model.ServerBehaviourDelegate</samp>. | |
Server instances of this type will delegate to instances of this class. Delegates must also have a public 0-arg constructor | |
</documentation> | |
<appInfo> | |
<meta.attribute kind="java" basedOn="org.eclipse.wst.server.core.model.ServerBehaviourDelegate"/> | |
</appInfo> | |
</annotation> | |
</attribute> | |
<attribute name="hasConfiguration" type="boolean"> | |
<annotation> | |
<documentation> | |
true if this server has server configuration files | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="runtimeTypeId" type="string" use="required"> | |
<annotation> | |
<documentation> | |
the runtime type id that this server type corresponds to | |
</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="supportsRemoteHosts" type="boolean"> | |
<annotation> | |
<documentation> | |
true if this server type can work with remote host names, false if this server type can only work on localhost. if unspecified, false is assumed | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="runtime" type="boolean"> | |
<annotation> | |
<documentation> | |
true if this server requires a runtime, and false otherwise | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="launchModes" type="string"> | |
<annotation> | |
<documentation> | |
a comma separated list of the launch modes that this server supports | |
</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="startTimeout" type="string"> | |
<annotation> | |
<documentation> | |
the timeout value (in ms) that the tool will wait for the server to be started. The default is 2 minutes | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="stopTimeout" type="string"> | |
<annotation> | |
<documentation> | |
the timeout value (in ms) that the tool will wait for the server to be stopped. The default is 2 minutes | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="startBeforePublish" type="boolean"> | |
<annotation> | |
<documentation> | |
boolean value "true" or "false" to specify whether the server needs to be started for publishing to occur. If "true", the server will be started on every call to publish() before executing the publish code | |
</documentation> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<annotation> | |
<appInfo> | |
<meta.section type="since"/> | |
</appInfo> | |
<documentation> | |
1.0 | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="examples"/> | |
</appInfo> | |
<documentation> | |
The following is an example of a server type extension point: | |
<pre> | |
<extension | |
point="org.eclipse.wst.server.core.serverTypes"> | |
<serverType | |
id="com.example.serverType" | |
name="%serverTypeName" | |
description="%serverTypeDescription" | |
supportsRemoteHosts="true" | |
runtime="true" | |
initialState="stopped" | |
hasConfiguration="true" | |
launchConfigId="com.example.launchConfigurationType" | |
runtimeTypeId="com.example.runtime" | |
class="com.example.ExampleServerDelegate" | |
behaviourClass="com.example.ExampleServerBehaviourDelegate"/> | |
</extension> | |
</pre> | |
</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 extends the abstract class <code>org.eclipse.wst.server.core.model.ServerDelegate</code> and has a public 0-arg constructor. | |
Value of the attribute <b>behaviourClass</b> must be a fully qualified name of a Java class that extends the abstract class <code>org.eclipse.wst.server.core.model.ServerBehaviourDelegate</code> and has a public 0-arg constructor. | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="implementation"/> | |
</appInfo> | |
<documentation> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="copyright"/> | |
</appInfo> | |
<documentation> | |
Copyright (c) 2000, 2005 IBM Corporation and others.<br> | |
All rights reserved. This program and the accompanying materials are made | |
available under the terms of the Eclipse Public License v1.0 which accompanies | |
this distribution, and is available at | |
<a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> | |
</documentation> | |
</annotation> | |
</schema> |