KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > launching > IVMRunner


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.jdt.launching;
13
14 import org.eclipse.core.runtime.CoreException;
15 import org.eclipse.core.runtime.IProgressMonitor;
16 import org.eclipse.debug.core.ILaunch;
17
18
19
20 /**
21  * A VM runner starts a Java VM running a Java program.
22  * <p>
23  * Clients may implement this interface to launch a new kind of VM.
24  * </p>
25  */

26 public interface IVMRunner {
27         
28     /**
29      * Launches a Java VM as specified in the given configuration,
30      * contributing results (debug targets and processes), to the
31      * given launch.
32      *
33      * @param configuration the configuration settings for this run
34      * @param launch the launch to contribute to
35      * @param monitor progress monitor or <code>null</code>
36      * @exception CoreException if an exception occurs while launching
37      */

38     public void run(VMRunnerConfiguration configuration, ILaunch launch, IProgressMonitor monitor) throws CoreException;
39     
40 }
41
Popular Tags