org.robokind.api.common.services
Class ServiceUtils

java.lang.Object
  extended by org.robokind.api.common.services.ServiceUtils

public class ServiceUtils
extends Object

Author:
Matthew Stevenson

Constructor Summary
ServiceUtils()
           
 
Method Summary
static
<Conf,Param>
SingleServiceListener<ServiceConfigurationWriter<Conf,Param>>
createWriterServiceListener(org.osgi.framework.BundleContext context, Class<Conf> configClass, Class<Param> paramClass, VersionProperty configFormat, String serviceFilter)
           
static org.osgi.framework.ServiceRegistration registerConfigurationLoader(org.osgi.framework.BundleContext context, ServiceConfigurationLoader loader, Properties props)
           
static org.osgi.framework.ServiceRegistration registerConfigurationWriter(org.osgi.framework.BundleContext context, ServiceConfigurationWriter writer, Properties props)
           
static org.osgi.framework.ServiceRegistration registerServiceFactory(org.osgi.framework.BundleContext context, ServiceFactory fact, Properties props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceUtils

public ServiceUtils()
Method Detail

registerServiceFactory

public static org.osgi.framework.ServiceRegistration registerServiceFactory(org.osgi.framework.BundleContext context,
                                                                            ServiceFactory fact,
                                                                            Properties props)

registerConfigurationLoader

public static org.osgi.framework.ServiceRegistration registerConfigurationLoader(org.osgi.framework.BundleContext context,
                                                                                 ServiceConfigurationLoader loader,
                                                                                 Properties props)

registerConfigurationWriter

public static org.osgi.framework.ServiceRegistration registerConfigurationWriter(org.osgi.framework.BundleContext context,
                                                                                 ServiceConfigurationWriter writer,
                                                                                 Properties props)

createWriterServiceListener

public static <Conf,Param> SingleServiceListener<ServiceConfigurationWriter<Conf,Param>> createWriterServiceListener(org.osgi.framework.BundleContext context,
                                                                                                                     Class<Conf> configClass,
                                                                                                                     Class<Param> paramClass,
                                                                                                                     VersionProperty configFormat,
                                                                                                                     String serviceFilter)


Copyright © 2011-2012. All Rights Reserved.