org.cogchar.bind.rk.osgi
Class ServiceConfigUtils

java.lang.Object
  extended by org.cogchar.bind.rk.osgi.ServiceConfigUtils

public class ServiceConfigUtils
extends Object

Author:
Matthew Stevenson

Field Summary
static String CONF_CONFIG_CLASS
           
static String CONF_CONFIG_ID
           
static String CONF_CONFIG_READER_VERSION
           
static String CONF_PARAM_CLASS
           
static String CONF_PARAM_ID
           
static String CONF_SERVICE_CLASS
           
static String CONF_SERVICE_ID
           
static String CONF_SERVICE_VERSION
           
 
Constructor Summary
ServiceConfigUtils()
           
 
Method Summary
static
<S,C,P> org.jflux.api.core.config.Configuration<String>
buildDefaultConfig(Class<S> serviceClass, org.robokind.api.common.config.VersionProperty serviceType, String serviceId, Class<C> configClass, org.robokind.api.common.config.VersionProperty configReaderType, String configId, Class<P> paramClass, String paramId)
           
static
<S,C,P> org.robokind.api.common.osgi.lifecycle.ConfiguredServiceParams<S,C,P>
buildParams(org.jflux.api.core.config.Configuration<String> conf, C configInst, P paramInst)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONF_SERVICE_CLASS

public static String CONF_SERVICE_CLASS

CONF_SERVICE_VERSION

public static String CONF_SERVICE_VERSION

CONF_SERVICE_ID

public static String CONF_SERVICE_ID

CONF_CONFIG_CLASS

public static String CONF_CONFIG_CLASS

CONF_CONFIG_READER_VERSION

public static String CONF_CONFIG_READER_VERSION

CONF_CONFIG_ID

public static String CONF_CONFIG_ID

CONF_PARAM_CLASS

public static String CONF_PARAM_CLASS

CONF_PARAM_ID

public static String CONF_PARAM_ID
Constructor Detail

ServiceConfigUtils

public ServiceConfigUtils()
Method Detail

buildDefaultConfig

public static <S,C,P> org.jflux.api.core.config.Configuration<String> buildDefaultConfig(Class<S> serviceClass,
                                                                                         org.robokind.api.common.config.VersionProperty serviceType,
                                                                                         String serviceId,
                                                                                         Class<C> configClass,
                                                                                         org.robokind.api.common.config.VersionProperty configReaderType,
                                                                                         String configId,
                                                                                         Class<P> paramClass,
                                                                                         String paramId)

buildParams

public static <S,C,P> org.robokind.api.common.osgi.lifecycle.ConfiguredServiceParams<S,C,P> buildParams(org.jflux.api.core.config.Configuration<String> conf,
                                                                                                        C configInst,
                                                                                                        P paramInst)


Copyright © 2010-2014. All Rights Reserved.