2016/05/28 - Apache Tuscany has been retired. 
For more information, please explore the Attic. 
 
org.apache.tuscany.sca.osgi.runtime
Class FelixRuntime
java.lang.Object
  
org.apache.tuscany.sca.osgi.runtime.OSGiRuntime
      
org.apache.tuscany.sca.osgi.runtime.FelixRuntime
public class FelixRuntime
- extends OSGiRuntime
 
Implementation of an OSGi Runtime using Felix.
 
 
| 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 | 
 
FelixRuntime
public FelixRuntime()
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
 
start
public void start(BundleContext context)
           throws java.lang.Exception
- Throws:
 java.lang.Exception
 
stop
public void stop(BundleContext context)
          throws java.lang.Exception
- 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