Server Types

org.eclipse.wst.server.core.serverTypes

1.0

This extension point is used to provide support for a new server type.

<!ELEMENT extension (serverType)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT serverType EMPTY>

<!ATTLIST serverType

id                  CDATA #REQUIRED

name                CDATA #REQUIRED

description         CDATA #REQUIRED

class               CDATA #REQUIRED

behaviourClass      CDATA #IMPLIED

hasConfiguration    (true | false)

runtimeTypeId       CDATA #REQUIRED

launchConfigId      CDATA #IMPLIED

supportsRemoteHosts (true | false)

runtime             (true | false)

launchModes         CDATA #IMPLIED

initialState        CDATA #IMPLIED

startTimeout        CDATA #IMPLIED

stopTimeout         CDATA #IMPLIED

startBeforePublish  (true | false) >


The following is an example of a server type extension point:
   

<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>

Value of the attribute class must be a fully qualified name of a Java class that extends the abstract class org.eclipse.wst.server.core.model.ServerDelegate and has a public 0-arg constructor. Value of the attribute behaviourClass must be a fully qualified name of a Java class that extends the abstract class org.eclipse.wst.server.core.model.ServerBehaviourDelegate and has a public 0-arg constructor.