org.jboss.osgi.testing
Class OSGiRuntimeHelper

java.lang.Object
  extended by org.jboss.osgi.testing.OSGiTestHelper
      extended by org.jboss.osgi.testing.OSGiRuntimeHelper

public class OSGiRuntimeHelper
extends OSGiTestHelper

A helper for the OSGi runtime abstraction.

Since:
25-Sep-2008
Author:
Thomas.Diesler@jboss.org

Constructor Summary
OSGiRuntimeHelper()
           
 
Method Summary
static void failsafeStop(OSGiBundle bundle)
           
static void failsafeUninstall(OSGiBundle bundle)
           
 OSGiBootstrapProvider getBootstrapProvider()
           
 OSGiRuntime getDefaultRuntime()
           
 OSGiRuntime getEmbeddedRuntime()
           
 OSGiRuntime getRemoteRuntime()
           
 void ungetBootstrapProvider()
           
 
Methods inherited from class org.jboss.osgi.testing.OSGiTestHelper
assembleArchive, assembleArchive, assertBundleState, assertLoadClass, assertLoadClassFail, getFrameworkName, getInitialContext, getResourceFile, getResourceURL, getServerHost, getTargetContainer, getTestArchiveFile, getTestArchivePath, getTestArchiveURL, toVirtualFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiRuntimeHelper

public OSGiRuntimeHelper()
Method Detail

getBootstrapProvider

public OSGiBootstrapProvider getBootstrapProvider()

ungetBootstrapProvider

public void ungetBootstrapProvider()

getDefaultRuntime

public OSGiRuntime getDefaultRuntime()

getEmbeddedRuntime

public OSGiRuntime getEmbeddedRuntime()

getRemoteRuntime

public OSGiRuntime getRemoteRuntime()

failsafeStop

public static void failsafeStop(OSGiBundle bundle)

failsafeUninstall

public static void failsafeUninstall(OSGiBundle bundle)


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.