Runtime Types

Identifier:
org.eclipse.wst.server.core.runtimeTypes

Since:
1.0

Description:
This extension point is used to provide a new runtime target handler. Runtime target handlers are called whenever a runtime target is added or removed from a project. They can be used to switch Java classpaths, setup default resources, etc. This extension point as well as the classes required to implement it are deprecated due to the addition of facets in WTP 1.0. If you were using this extension point for classpath then you can use the org.eclipse.jst.server.core.runtimeClasspathProviders extension point instead.

Configuration Markup:

<!ELEMENT extension (runtimeTargetHandler+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


The runtimeTargetHandler element is deprecated

<!ELEMENT runtimeTargetHandler EMPTY>

<!ATTLIST runtimeTargetHandler

id             CDATA #REQUIRED

runtimeTypeIds CDATA #REQUIRED

class          CDATA #REQUIRED

order          CDATA #IMPLIED>


Examples:
The following is an example of a runtime target handler extension point:

   <extension 
         point="org.eclipse.wst.server.core.runtimeTargetHandlers">
      <runtimeTargetHandler
            id="com.example.runtimeTargetHandler"
            runtimeTypeIds="com.example.runtime, com.example2.*"
            class="com.example.ExampleRuntimeTargetHandler"/>
    </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 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/