org.robokind.api.common.services.addon
Class AddOnUtils

java.lang.Object
  extended by org.robokind.api.common.services.addon.AddOnUtils

public class AddOnUtils
extends Object

Author:
Matthew Stevenson

Constructor Summary
AddOnUtils()
           
 
Method Summary
static List<ServiceAddOnDriver> getAddOnDriverList(org.osgi.framework.BundleContext context, org.osgi.framework.ServiceReference[] refs)
           
static org.osgi.framework.ServiceReference[] getAddOnDriverReferences(org.osgi.framework.BundleContext context)
           
static org.osgi.framework.ServiceReference[] getAddOnDriverReferences(org.osgi.framework.BundleContext context, VersionProperty serviceVersion, VersionProperty configFormat)
           
static org.osgi.framework.ServiceRegistration registerAddOnDriver(org.osgi.framework.BundleContext context, ServiceAddOnDriver driver, Properties props)
           
static void releaseAddOnDrivers(org.osgi.framework.BundleContext context, org.osgi.framework.ServiceReference[] refs)
           
static boolean saveAddOnConfig(ServiceAddOn addon, String addonPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddOnUtils

public AddOnUtils()
Method Detail

registerAddOnDriver

public static org.osgi.framework.ServiceRegistration registerAddOnDriver(org.osgi.framework.BundleContext context,
                                                                         ServiceAddOnDriver driver,
                                                                         Properties props)

getAddOnDriverReferences

public static org.osgi.framework.ServiceReference[] getAddOnDriverReferences(org.osgi.framework.BundleContext context,
                                                                             VersionProperty serviceVersion,
                                                                             VersionProperty configFormat)

getAddOnDriverReferences

public static org.osgi.framework.ServiceReference[] getAddOnDriverReferences(org.osgi.framework.BundleContext context)

getAddOnDriverList

public static List<ServiceAddOnDriver> getAddOnDriverList(org.osgi.framework.BundleContext context,
                                                          org.osgi.framework.ServiceReference[] refs)

releaseAddOnDrivers

public static void releaseAddOnDrivers(org.osgi.framework.BundleContext context,
                                       org.osgi.framework.ServiceReference[] refs)

saveAddOnConfig

public static boolean saveAddOnConfig(ServiceAddOn addon,
                                      String addonPath)
                               throws Exception
Throws:
Exception


Copyright © 2011-2013. All Rights Reserved.