Runtimes Extension Point

org.eclipse.wst.common.project.facet.core.runtimes

This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

<!ELEMENT extension (runtime-component-type | runtime-component-version | adapter | supported)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT runtime-component-type (version-comparator?)>

<!ATTLIST runtime-component-type

id CDATA #REQUIRED>

Defines a runtime component type.



<!ELEMENT version-comparator EMPTY>

<!ATTLIST version-comparator

class CDATA #REQUIRED>

Specifies the version comparator. If not specified, the default version comparator will be used. The default version comparator is capable of handing numerical versions that use decimal notation.



<!ELEMENT runtime-component-version EMPTY>

<!ATTLIST runtime-component-version

type    CDATA #REQUIRED

version CDATA #REQUIRED>

Defines a runtime component version.



<!ELEMENT adapter (runtime-component , factory , type)>

Registers an adapter to be used with some set of runtime component types and versions.



<!ELEMENT runtime-component EMPTY>

<!ATTLIST runtime-component

id      CDATA #IMPLIED

version CDATA #IMPLIED

any     CDATA #IMPLIED>

Used to reference multiple runtime component types and versions.



<!ELEMENT factory EMPTY>

<!ATTLIST factory

class CDATA #REQUIRED>

Specifies the adapter factory. The factory has to implement org.eclipse.core.runtime.IAdapterFactory interface.



<!ELEMENT type EMPTY>

<!ATTLIST type

class CDATA #REQUIRED>

Specifies the type that this adapter will be adapting to.



<!ELEMENT supported (facet+ , runtime-component+)>

Specifies that these project facets are supported by these runtimes.



<!ELEMENT facet EMPTY>

<!ATTLIST facet

id      CDATA #REQUIRED

version CDATA #IMPLIED>

Used to reference one or more version of a project facet.