Runtime Types

org.eclipse.wst.server.core.runtimeTypes

1.0

This extension point is used to provide a new runtime type.

<!ELEMENT extension (runtimeType*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT runtimeType (moduleType*)>

<!ATTLIST runtimeType

id          CDATA #REQUIRED

name        CDATA #REQUIRED

description CDATA #REQUIRED

vendor      CDATA #IMPLIED

version     CDATA #IMPLIED

vendorId    CDATA #IMPLIED

class       CDATA #IMPLIED>


<!ELEMENT moduleType EMPTY>

<!ATTLIST moduleType

types    CDATA #REQUIRED

versions CDATA #REQUIRED>


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

<extension point=

"org.eclipse.wst.server.core.runtimeTypes"

>

<runtimeType id=

"com.example.runtime"

name=

"%runtimeTypeName"

description=

"%runtimeTypeDescription"

vendor=

"%runtimeTypeVendor"

version=

"1.0"

class=

"com.example.ExampleRuntimeDelegate"

>

<moduleType types=

"j2ee.web"

versions=

"1.2, 1.3, 1.4"

/>

</runtimeType>

</extension>

Value of the attribute class must be a fully qualified name of a Java class that extends org.eclipse.wst.server.core.model.RuntimeDelegate and contains a public 0-arg constructor.