@Component public class ConfigurationHolder extends Object
| Constructor and Description |
|---|
ConfigurationHolder()
Builds a
ConfigurationHolder, loaded with configuration data mapped from
all of the supported configuration sources. |
| Modifier and Type | Method and Description |
|---|---|
GlobalConfiguration |
getGlobalConfiguration() |
Optional<AgentConfiguration> |
getHighestPrecedenceConfigurationByAgentClassName(String className)
Returns the highest-precedence
AgentConfiguration object associated with a
given class name. |
public ConfigurationHolder()
ConfigurationHolder, loaded with configuration data mapped from
all of the supported configuration sources.public Optional<AgentConfiguration> getHighestPrecedenceConfigurationByAgentClassName(String className)
AgentConfiguration object associated with a
given class name.className - the agent class name to be searchedAgentConfiguration object for the
specified class name, or Optional.empty() if no associated
AgentConfiguration foundpublic GlobalConfiguration getGlobalConfiguration()
GlobalConfigurationCopyright © 2022. All rights reserved.