aQute.junit.runtime
Class GenericFramework
java.lang.Object
aQute.junit.runtime.GenericFramework
public class GenericFramework
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericFramework
public GenericFramework(Properties properties)
activate
public List<Throwable> activate()
deactivate
public void deactivate()
throws Exception
- Throws:
Exception
addSystemPackage
public void addSystemPackage(String packageName)
addBundle
public void addBundle(File resource)
addJar
public void addJar(File resource)
getFrameworkContext
public org.osgi.framework.BundleContext getFrameworkContext()
getFrameworkBundle
public org.osgi.framework.launch.Framework getFrameworkBundle()
setFramework
public void setFramework(String framework)
getFramework
public String getFramework()
getBundleContext
public org.osgi.framework.BundleContext getBundleContext()
waitForStop
public void waitForStop(long time)
throws Exception
- Throws:
Exception
getBundle
public org.osgi.framework.Bundle getBundle(String target)
setKeep
public void setKeep()
setStorage
public void setStorage(File storage)
report
public void report(PrintStream out)
report
public static void report(org.osgi.framework.BundleException e,
PrintStream out)
Copyright © 2010 aQute SARL. All Rights Reserved.