public interface ClientContext
LDClient
when creating components.
This is passed as a parameter to DataStoreFactory.createDataStore(ClientContext, DataStoreUpdates)
,
etc. Component factories do not receive the entire LDConfig
because
it could contain factory objects that have mutable state, and because components should not be able
to access the configurations of unrelated components.
The actual implementation class may contain other properties that are only relevant to the built-in SDK components and are therefore not part of the public interface; this allows the SDK to add its own context information as needed without disturbing the public API.
Modifier and Type | Method and Description |
---|---|
BasicConfiguration |
getBasic()
The SDK's basic global properties.
|
HttpConfiguration |
getHttp()
The configured networking properties that apply to all components.
|
LoggingConfiguration |
getLogging()
The configured logging properties that apply to all components.
|
BasicConfiguration getBasic()
HttpConfiguration getHttp()
LoggingConfiguration getLogging()