01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.launching;
11:
12: import org.eclipse.core.runtime.CoreException;
13: import org.eclipse.core.runtime.IProgressMonitor;
14: import org.eclipse.debug.core.ILaunch;
15:
16: /**
17: * A VM runner starts a Java VM running a Java program.
18: * <p>
19: * Clients may implement this interface to launch a new kind of VM.
20: * </p>
21: */
22: public interface IVMRunner {
23:
24: /**
25: * Launches a Java VM as specified in the given configuration,
26: * contributing results (debug targets and processes), to the
27: * given launch.
28: *
29: * @param configuration the configuration settings for this run
30: * @param launch the launch to contribute to
31: * @param monitor progress monitor or <code>null</code>
32: * @exception CoreException if an exception occurs while launching
33: */
34: public void run(VMRunnerConfiguration configuration,
35: ILaunch launch, IProgressMonitor monitor)
36: throws CoreException;
37:
38: }
|