|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVMRunner
A VM runner starts a Java VM running a Java program.
Clients may implement this interface to launch a new kind of VM.
Method Summary | |
---|---|
void |
run(VMRunnerConfiguration configuration,
ILaunch launch,
IProgressMonitor monitor)
Launches a Java VM as specified in the given configuration, contributing results (debug targets and processes), to the given launch. |
Method Detail |
---|
void run(VMRunnerConfiguration configuration, ILaunch launch, IProgressMonitor monitor) throws CoreException
configuration
- the configuration settings for this runlaunch
- the launch to contribute tomonitor
- progress monitor or null
A cancelable progress monitor is provided by the Job
framework. It should be noted that the setCanceled(boolean) method should never be called on the provided
monitor or the monitor passed to any delegates from this method; due to a limitation in the progress monitor
framework using the setCanceled method can cause entire workspace batch jobs to be canceled, as the canceled flag
is propagated up the top-level parent monitor. The provided monitor is not guaranteed to have been started.
CoreException
- if an exception occurs while launching
|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.