Class EquinoxLauncher.Running
- java.lang.Object
-
- com.diffplug.gradle.eclipserunner.EquinoxLauncher.Running
-
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- EquinoxLauncher
public class EquinoxLauncher.Running extends Object implements AutoCloseable
Represents a running instance of the equinox OSGi container. Shuts down the container when you callclose().
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.osgi.framework.BundleContextbundleContext()TheBundleContextof the running eclipse instance.voidclose()Shutsdown the eclipse instance.
-
-
-
Method Detail
-
bundleContext
public org.osgi.framework.BundleContext bundleContext()
TheBundleContextof the running eclipse instance.
-
close
public void close() throws ExceptionShutsdown the eclipse instance.- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
-