public class ServiceUtils extends Object
| Constructor and Description |
|---|
ServiceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <Conf,Param> |
createWriterServiceListener(org.osgi.framework.BundleContext context,
Class<Conf> configClass,
Class<Param> paramClass,
VersionProperty configFormat,
String serviceFilter) |
static org.jflux.impl.services.rk.lifecycle.ManagedService |
registerConfigLoader(org.osgi.framework.BundleContext context,
ConfigurationLoader loader) |
static org.jflux.impl.services.rk.lifecycle.ManagedService |
registerConfigLoader(org.osgi.framework.BundleContext context,
ConfigurationLoader loader,
Properties props) |
static org.jflux.impl.services.rk.lifecycle.ManagedService |
registerConfigWriter(org.osgi.framework.BundleContext context,
ConfigurationWriter writer) |
static org.jflux.impl.services.rk.lifecycle.ManagedService |
registerConfigWriter(org.osgi.framework.BundleContext context,
ConfigurationWriter writer,
Properties props) |
static org.jflux.impl.services.rk.lifecycle.ManagedService |
registerFactory(org.osgi.framework.BundleContext context,
ServiceFactory fact)
Registers the given ServiceFactory with the factory's Service Version,
Service class, and Config class.
|
static org.jflux.impl.services.rk.lifecycle.ManagedService |
registerFactory(org.osgi.framework.BundleContext context,
ServiceFactory fact,
Properties props) |
public static org.jflux.impl.services.rk.lifecycle.ManagedService registerFactory(org.osgi.framework.BundleContext context,
ServiceFactory fact)
context - BundleContext for registering the factoryfact - ServiceFactory to registerpublic static org.jflux.impl.services.rk.lifecycle.ManagedService registerFactory(org.osgi.framework.BundleContext context,
ServiceFactory fact,
Properties props)
public static org.jflux.impl.services.rk.lifecycle.ManagedService registerConfigLoader(org.osgi.framework.BundleContext context,
ConfigurationLoader loader)
public static org.jflux.impl.services.rk.lifecycle.ManagedService registerConfigLoader(org.osgi.framework.BundleContext context,
ConfigurationLoader loader,
Properties props)
public static org.jflux.impl.services.rk.lifecycle.ManagedService registerConfigWriter(org.osgi.framework.BundleContext context,
ConfigurationWriter writer)
public static org.jflux.impl.services.rk.lifecycle.ManagedService registerConfigWriter(org.osgi.framework.BundleContext context,
ConfigurationWriter writer,
Properties props)
public static <Conf,Param> org.jflux.impl.services.rk.osgi.SingleServiceListener<ConfigurationWriter<Conf,Param>> createWriterServiceListener(org.osgi.framework.BundleContext context, Class<Conf> configClass, Class<Param> paramClass, VersionProperty configFormat, String serviceFilter)
Copyright © 2011-2014. All Rights Reserved.