Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Web Tools Guide
Previous Page Home Next Page

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>

  • 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

The runtimeTargetHandler element is deprecated

<!ELEMENT runtimeTargetHandler EMPTY>

<!ATTLIST runtimeTargetHandler

id             CDATA #REQUIRED

runtimeTypeIds CDATA #REQUIRED

class          CDATA #REQUIRED

order          CDATA #IMPLIED>

  • id - specifies a unique identifier for this extension point
  • runtimeTypeIds - a comma separated list of runtime type ids that this handler may support. Used for memory & performance reasons
  • class - specifies the fully qualified name of the Java class that extends RuntimeTargetHandlerDelegate. Runtime target handler instances of this type will delegate to instances of this class.
  • order - an integer order used to sort handlers relative to each other

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 v1.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v10.html


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire