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.BundleContext
bundleContext()
TheBundleContext
of the running eclipse instance.void
close()
Shutsdown the eclipse instance.
-
-
-
Method Detail
-
bundleContext
public org.osgi.framework.BundleContext bundleContext()
TheBundleContext
of the running eclipse instance.
-
close
public void close() throws Exception
Shutsdown the eclipse instance.- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
-