org.glassfish.fighterfish.test.util
Class BundleProvisioner

java.lang.Object
  extended by org.glassfish.fighterfish.test.util.BundleProvisioner

public class BundleProvisioner
extends java.lang.Object

Author:
Sanjeeb.Sahoo@Sun.COM

Constructor Summary
BundleProvisioner(org.osgi.framework.BundleContext ctx)
           
 
Method Summary
protected  org.osgi.framework.Bundle installTestBundle(java.lang.String location)
          Install a bundle and add it to the list of bundles.
protected  void uninstallAllTestBundles()
           
protected  void uninstallTestBundle(org.osgi.framework.Bundle bundle)
          Uninstall a bundle if it has been installed by
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleProvisioner

public BundleProvisioner(org.osgi.framework.BundleContext ctx)
Method Detail

installTestBundle

protected org.osgi.framework.Bundle installTestBundle(java.lang.String location)
                                               throws org.osgi.framework.BundleException
Install a bundle and add it to the list of bundles.

Parameters:
location -
Throws:
org.osgi.framework.BundleException

uninstallTestBundle

protected void uninstallTestBundle(org.osgi.framework.Bundle bundle)
                            throws org.osgi.framework.BundleException
Uninstall a bundle if it has been installed by

Parameters:
bundle -
Throws:
org.osgi.framework.BundleException

uninstallAllTestBundles

protected void uninstallAllTestBundles()
                                throws org.osgi.framework.BundleException
Throws:
org.osgi.framework.BundleException


Copyright © 2013. All Rights Reserved.