Class AzkarraContextLoader
- java.lang.Object
-
- io.streamthoughts.azkarra.streams.context.AzkarraContextLoader
-
public class AzkarraContextLoader extends Object
Class which can be used for initializing anAzkarraContext
instance from a specifiedConf
instance.- See Also:
ApplicationConfig
,EnvironmentConfig
,TopologyConfig
-
-
Constructor Summary
Constructors Constructor Description AzkarraContextLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AzkarraContext
load(AzkarraContext context, Conf configuration)
Initialize the specifiedAzkarraContext
using the specifiedConf
.static AzkarraContext
load(AzkarraContext context, ApplicationConfig configuration)
Initialize the specifiedAzkarraContext
using the specifiedApplicationConfig
.
-
-
-
Method Detail
-
load
public static AzkarraContext load(AzkarraContext context, Conf configuration)
Initialize the specifiedAzkarraContext
using the specifiedConf
.- Parameters:
context
- theAzkarraContext
to initialize.configuration
- theConf
instance.- Returns:
- a new
AzkarraContext
instance.
-
load
public static AzkarraContext load(AzkarraContext context, ApplicationConfig configuration)
Initialize the specifiedAzkarraContext
using the specifiedApplicationConfig
.- Parameters:
context
- theAzkarraContext
to initialize.configuration
- theApplicationConfig
instance.- Returns:
- a new
AzkarraContext
instance.
-
-