org.slf4j.test_osgi
Class FelixHost

java.lang.Object
  extended by org.slf4j.test_osgi.FelixHost

public class FelixHost
extends Object

Runs a hosted version of Felix for testing purposes. Any bundle errors are reported via the FrameworkListener passed to the constructor.

Author:
Ceki Gücü

Constructor Summary
FelixHost(FrameworkErrorListener frameworkErrorListener, CheckingBundleListener myBundleListener)
           
 
Method Summary
 void doLaunch()
           
 org.osgi.framework.Bundle[] getInstalledBundles()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FelixHost

public FelixHost(FrameworkErrorListener frameworkErrorListener,
                 CheckingBundleListener myBundleListener)
Method Detail

doLaunch

public void doLaunch()

stop

public void stop()
          throws org.osgi.framework.BundleException
Throws:
org.osgi.framework.BundleException

getInstalledBundles

public org.osgi.framework.Bundle[] getInstalledBundles()


Copyright © 2005-2012 QOS.ch. All Rights Reserved.