|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.osgi.spi.junit.OSGiTestHelper
public class OSGiTestHelper
An OSGi Test Helper
| Constructor Summary | |
|---|---|
OSGiTestHelper()
|
|
| Method Summary | |
|---|---|
OSGiBootstrapProvider |
createBootstrapProvider()
|
OSGiBootstrapProvider |
getBootstrapProvider()
|
java.io.File |
getResourceFile(java.lang.String resource)
Try to discover the File for the test resource |
java.net.URL |
getResourceURL(java.lang.String resource)
Try to discover the URL for the test resource |
java.lang.String |
getTestArchiveDir()
|
java.io.File |
getTestArchiveFile(java.lang.String archive)
Try to discover the File for the deployment archive |
java.net.URL |
getTestArchiveURL(java.lang.String archive)
Try to discover the URL for the deployment archive |
java.lang.String |
getTestResourcesDir()
|
org.osgi.framework.Bundle |
installBundle(org.osgi.framework.BundleContext sysContext,
java.lang.String bundlePath,
boolean start)
|
void |
setBootstrapProvider(OSGiBootstrapProvider bootProvider)
|
protected void |
startLogEntryTracking(LogEntryCache logEntryCache)
|
protected void |
stopLogEntryTracking()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OSGiTestHelper()
| Method Detail |
|---|
public OSGiBootstrapProvider createBootstrapProvider()
public OSGiBootstrapProvider getBootstrapProvider()
public void setBootstrapProvider(OSGiBootstrapProvider bootProvider)
protected void startLogEntryTracking(LogEntryCache logEntryCache)
throws java.lang.Exception
java.lang.Exception
protected void stopLogEntryTracking()
throws java.lang.Exception
java.lang.Exceptionpublic java.net.URL getResourceURL(java.lang.String resource)
public java.io.File getResourceFile(java.lang.String resource)
public java.lang.String getTestResourcesDir()
public java.net.URL getTestArchiveURL(java.lang.String archive)
public java.io.File getTestArchiveFile(java.lang.String archive)
public java.lang.String getTestArchiveDir()
public org.osgi.framework.Bundle installBundle(org.osgi.framework.BundleContext sysContext,
java.lang.String bundlePath,
boolean start)
throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||