blob: fa2c95bc623d0ccabd0ce3c7cbf9a0cc6f1e077c [file] [log] [blame]
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title>Workbench Extension Points</title>
</head>
<body link="#0000FF" vlink="#800080">
<center>
<h1>
Java VM Install Types</h1></center>
<b><i>Identifier: </i></b>org.eclipse.jdt.launching.vmInstallTypes
<p><b><i>Description: </i></b>This extension point represents different
kinds of Java runtime environments and&nbsp; development kits. Each extension
must implement <code>org.eclipse.jdt.launching.IVMInstallType</code>. An IVMInstallType
is responsible for creating and managing a set of instances of its corresponding
IVMInstall class. Through creating different IVMInstall objects, an IVMInstallType
allows for specific behaviour for various Java VMs.
<br>A UI for managing IVMInstalls is provided by the Java UI plugin.
<p><b><i>Configuration Markup:</i></b>
<p><tt>&nbsp;&nbsp; &lt;!ELEMENT vmInstallType EMPTY&gt;</tt>
<br><tt>&nbsp;&nbsp; &lt;!ATTLIST vmInstallType</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
CDATA #REQUIRED</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
CDATA #REQUIRED</tt>
<br><tt>&nbsp;&nbsp; ></tt>
<ul>
<li>
<b>id</b> - a unique identifier that can be used to reference this IVMInstallType</li>
<li>
<b>class</b> - the class that implements this VM install type. The class
must implement IVMInstallType.</li>
</ul>
<b><i>Examples:</i></b>
<br>The following is an example of an IVMInstallType for the J9 VM:
<p>&lt;extension
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; point="org.eclipse.jdt.launching.vmInstallTypes">
<br>&nbsp;&nbsp; &lt;vmInstallType
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class="org.eclipse.jdt.internal.launching.j9.J9VMInstallType"
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id="org.eclipse.jdt.internal.launching.j9.J9Type">
<br>&nbsp;&nbsp; &lt;/vmInstallType>
<br>&lt;/extension>
<p><b><i>Supplied Implementation:</i></b>
<br>Abstract implementations of IVMInstall and IVMInstallType are provided.
The Java UI plugin defines a VM install type for the standard 1.2/1.3 level
<b>JRE</b>.
<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corp. 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a>
</body>
</html>