public class ComponentConfigurator<T extends Serializable> extends Object
Constructor and Description |
---|
ComponentConfigurator(Class<T> configClass) |
Modifier and Type | Method and Description |
---|---|
T |
detectConfiguration(com.typesafe.config.Config typesafeConfig)
resolve a serializable configuration pojo from a given typesafe config object.
|
T |
detectConfiguration(com.typesafe.config.Config typesafeConfig,
String subConfig)
resolve a serializable configuration pojo from a portion of a given typesafe config object.
|
T |
detectConfiguration(String subConfig)
resolve a serializable configuration pojo from a portion of the JVM config object.
|
public T detectConfiguration(com.typesafe.config.Config typesafeConfig)
typesafeConfig
- typesafeConfigpublic T detectConfiguration(String subConfig)
subConfig
- subConfigCopyright © 2017 The Apache Software Foundation. All rights reserved.