Interface ConfigProvider
@ThreadSafe
public interface ConfigProvider
A registry for accessing declarative configuration.
The name Provider is for consistency with other languages and it is NOT loaded using reflection.
See InstrumentationConfigUtil for convenience methods for extracting config from
ConfigProvider.
-
Method Summary
Modifier and TypeMethodDescriptionReturns theDeclarativeConfigPropertiescorresponding to instrumentation config, ornullif unavailable.static ConfigProvidernoop()Returns a no-opConfigProvider.
-
Method Details
-
getInstrumentationConfig
Returns theDeclarativeConfigPropertiescorresponding to instrumentation config, ornullif unavailable.- Returns:
- the instrumentation
DeclarativeConfigProperties
-
noop
Returns a no-opConfigProvider.
-