org.fusesource.fabric.utils
Class BundleUtils

java.lang.Object
  extended by org.fusesource.fabric.utils.BundleUtils

public class BundleUtils
extends java.lang.Object


Method Summary
static org.osgi.framework.Bundle findBundle(org.osgi.framework.BundleContext bundleContext, java.lang.String bsn)
           
static org.osgi.framework.Bundle findOrInstallBundle(org.osgi.framework.BundleContext bundleContext, java.lang.String bsn, java.lang.String url)
           
static org.osgi.framework.Bundle installOrStopBundle(org.osgi.framework.BundleContext bundleContext, java.lang.String bsn, java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

installOrStopBundle

public static org.osgi.framework.Bundle installOrStopBundle(org.osgi.framework.BundleContext bundleContext,
                                                            java.lang.String bsn,
                                                            java.lang.String url)
                                                     throws org.osgi.framework.BundleException
Throws:
org.osgi.framework.BundleException

findBundle

public static org.osgi.framework.Bundle findBundle(org.osgi.framework.BundleContext bundleContext,
                                                   java.lang.String bsn)
                                            throws org.osgi.framework.BundleException
Throws:
org.osgi.framework.BundleException

findOrInstallBundle

public static org.osgi.framework.Bundle findOrInstallBundle(org.osgi.framework.BundleContext bundleContext,
                                                            java.lang.String bsn,
                                                            java.lang.String url)
                                                     throws org.osgi.framework.BundleException
Throws:
org.osgi.framework.BundleException


Copyright © 2012 FuseSource. All Rights Reserved.