org.robokind.api.common.lifecycle.config
Class RKLifecycleConfigUtils
java.lang.Object
org.robokind.api.common.lifecycle.config.RKLifecycleConfigUtils
public class RKLifecycleConfigUtils
- extends Object
- Author:
- Matthew Stevenson
Method Summary |
static GenericLifecycle |
buildGenericLifecycle(org.jflux.api.core.config.Configuration<String> conf)
|
static org.jflux.api.core.config.Configuration<String> |
buildGenericLifecycleConfig(String[] classNames,
Properties props,
Iterable<org.jflux.api.core.config.Configuration<String>> dependencyConfigs,
org.jflux.api.core.Adapter<Map<String,Object>,?> serviceFactory)
|
static org.jflux.api.core.config.Configuration<String> |
buildGenericLifecycleConfig(String[] classNames,
String idKey,
String idStr,
Properties props,
Iterable<org.jflux.api.core.config.Configuration<String>> dependencyConfigs,
org.jflux.api.core.Adapter<Map<String,Object>,?> serviceFactory)
|
static
<T> org.jflux.api.core.config.Configuration<String> |
|
buildGenericLifecycleConfig(String[] classNames,
String idKey,
String idStr,
Properties props,
Iterable<org.jflux.api.core.config.Configuration<String>> dependencyConfigs,
org.jflux.api.core.Adapter<Map<String,Object>,T> serviceFactory,
org.jflux.api.core.Listener<T> stopListener)
|
static SimpleLifecycle |
buildSimpleLifecycle(org.jflux.api.core.config.Configuration<String> conf)
|
static
<T> org.jflux.api.core.config.Configuration<String> |
|
buildSimpleLifecycleConfig(Class<T> clazz,
Properties props,
T service)
|
static
<T> org.jflux.api.core.config.Configuration<String> |
|
buildSimpleLifecycleConfig(Class<T> clazz,
String[] availableClassNames,
Properties props,
T service)
|
static
<T> org.jflux.api.core.config.Configuration<String> |
|
buildSimpleLifecycleConfig(Class<T> clazz,
String idKey,
String idStr,
Properties props,
T service)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONF_SERVICE_CLASSES
public static final String CONF_SERVICE_CLASSES
- See Also:
- Constant Field Values
CONF_SERVICE_PROPERTIES
public static final String CONF_SERVICE_PROPERTIES
- See Also:
- Constant Field Values
CONF_DEPENDENCY_CONFIGS
public static final String CONF_DEPENDENCY_CONFIGS
- See Also:
- Constant Field Values
CONF_SERVICE_FACTORY
public static final String CONF_SERVICE_FACTORY
- See Also:
- Constant Field Values
CONF_SERVICE_STOP_LISTENER
public static final String CONF_SERVICE_STOP_LISTENER
- See Also:
- Constant Field Values
CONF_SIMPLE_LIFECYCLE_SERVICE
public static final String CONF_SIMPLE_LIFECYCLE_SERVICE
- See Also:
- Constant Field Values
RKLifecycleConfigUtils
public RKLifecycleConfigUtils()
buildSimpleLifecycleConfig
public static <T> org.jflux.api.core.config.Configuration<String> buildSimpleLifecycleConfig(Class<T> clazz,
String[] availableClassNames,
Properties props,
T service)
buildSimpleLifecycleConfig
public static <T> org.jflux.api.core.config.Configuration<String> buildSimpleLifecycleConfig(Class<T> clazz,
Properties props,
T service)
buildSimpleLifecycleConfig
public static <T> org.jflux.api.core.config.Configuration<String> buildSimpleLifecycleConfig(Class<T> clazz,
String idKey,
String idStr,
Properties props,
T service)
buildGenericLifecycleConfig
public static org.jflux.api.core.config.Configuration<String> buildGenericLifecycleConfig(String[] classNames,
Properties props,
Iterable<org.jflux.api.core.config.Configuration<String>> dependencyConfigs,
org.jflux.api.core.Adapter<Map<String,Object>,?> serviceFactory)
buildGenericLifecycleConfig
public static org.jflux.api.core.config.Configuration<String> buildGenericLifecycleConfig(String[] classNames,
String idKey,
String idStr,
Properties props,
Iterable<org.jflux.api.core.config.Configuration<String>> dependencyConfigs,
org.jflux.api.core.Adapter<Map<String,Object>,?> serviceFactory)
buildGenericLifecycleConfig
public static <T> org.jflux.api.core.config.Configuration<String> buildGenericLifecycleConfig(String[] classNames,
String idKey,
String idStr,
Properties props,
Iterable<org.jflux.api.core.config.Configuration<String>> dependencyConfigs,
org.jflux.api.core.Adapter<Map<String,Object>,T> serviceFactory,
org.jflux.api.core.Listener<T> stopListener)
buildSimpleLifecycle
public static SimpleLifecycle buildSimpleLifecycle(org.jflux.api.core.config.Configuration<String> conf)
buildGenericLifecycle
public static GenericLifecycle buildGenericLifecycle(org.jflux.api.core.config.Configuration<String> conf)
Copyright © 2011-2013. All Rights Reserved.