2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.osgi.runtime
Class EquinoxRuntime
java.lang.Object
org.apache.tuscany.sca.osgi.runtime.OSGiRuntime
org.apache.tuscany.sca.osgi.runtime.EquinoxRuntime
public class EquinoxRuntime
- extends OSGiRuntime
Implementation of an OSGi Runtime using Equinox.
Methods inherited from class org.apache.tuscany.sca.osgi.runtime.OSGiRuntime |
findBundle, findBundle, findInstalledBundle, findInstalledBundle, findRuntime, getContextClassLoader, getRuntime, getRuntime, initialize, installBundle, setContextClassLoader, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EquinoxRuntime
public EquinoxRuntime()
getInstance
public static OSGiRuntime getInstance()
throws java.lang.Exception
- Throws:
java.lang.Exception
startRuntime
protected BundleContext startRuntime(boolean tuscanyRunningInOSGiContainer)
throws java.lang.Exception
- Specified by:
startRuntime
in class OSGiRuntime
- Throws:
java.lang.Exception
getBundleContext
public BundleContext getBundleContext()
- Specified by:
getBundleContext
in class OSGiRuntime
setBundleContext
protected void setBundleContext(BundleContext bundleContext)
- Overrides:
setBundleContext
in class OSGiRuntime
shutdown
public void shutdown()
throws java.lang.Exception
- Overrides:
shutdown
in class OSGiRuntime
- Throws:
java.lang.Exception
supportsBundleFragments
public boolean supportsBundleFragments()
- Specified by:
supportsBundleFragments
in class OSGiRuntime