org.eclipse.wst.server.core.model
Class RuntimeLocatorDelegate
java.lang.Object
org.eclipse.wst.server.core.model.RuntimeLocatorDelegate
- public abstract class RuntimeLocatorDelegate
- extends java.lang.Object
A runtime locator provides the ability to locate or search for additional
runtimes of a particular type.
This abstract class is intended to be extended only by clients
to extend the runtimeLocators
extension point.
- Since:
- 1.0
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuntimeLocatorDelegate
public RuntimeLocatorDelegate()
searchForRuntimes
public abstract void searchForRuntimes(IPath path,
RuntimeLocatorDelegate.IRuntimeSearchListener listener,
IProgressMonitor monitor)
- Searches for local runtimes.
It uses the callback listener to report runtimes that are found.
The path contains the absolute path of the folder to search in,
or
null
to search the entire machine.
- Parameters:
path
- the path to search for runtimes inlistener
- a listener to report status tomonitor
- a progress monitor, or null
if progress
reporting and cancellation are not desired