# Runtime Types

###### Identifier:

org.eclipse.wst.server.core.runtimeTypes

###### Since:

1.0

###### Description:

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

###### Configuration Markup:

<!ELEMENT extension (runtimeType+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance

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

facetRuntimeComponent CDATA #IMPLIED

facetRuntimeVersion CDATA #IMPLIED>

- id - specifies a unique identifier for this extension point
- name - a translatable name used to identify the runtime type
- description - a translatable description of the runtime type
- vendor - a translatable vendor name
- version - a translatable version number
- vendorId - an id used to identify the vendor
- class - specifies the fully qualified name of the Java class that extends `RuntimeDelegate`. Runtime instances of this type will delegate to instances of this class. Delegates must also have a public 0-arg constructor.
- facetRuntimeComponent -
- facetRuntimeVersion -

<!ELEMENT moduleType EMPTY>

<!ATTLIST moduleType

types CDATA #REQUIRED

versions CDATA #REQUIRED>

- types - a comma separated list of the module types that this runtime supports
- versions - a comma separated list of the module versions that this runtime supports

###### Examples:

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>

Copyright (c) 2000, 2005 IBM Corporation and others.
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 http://www.eclipse.org/legal/epl-v10.html