public class SpringConfigContext extends BaseChainedConfigContext
ConfigContext implementation that is populated by values taken from
the Spring Framework.DEFAULT_CONFIG| Constructor and Description |
|---|
SpringConfigContext(org.springframework.core.env.Environment environment) |
| Modifier and Type | Method and Description |
|---|---|
protected static Map<String,String> |
environmentAsMap(org.springframework.core.env.Environment environment)
Spring's
Environment class doesn't provide a way to get all of
the runtime configuration properties as a Map, so this helper
method iterates through all known keys and queries Spring for values. |
equals, getApiKey, getApplicationPackage, getConnectTimeout, getEnvironment, getExcludedClasses, getExcludedParams, getExcludedSysProps, getFeedbackFormDisplayed, getFeedbackFormPath, getHoneybadgerReadApiKey, getHoneybadgerUrl, getHttpProxyHost, getHttpProxyPort, getMaximumErrorReportingRetries, getMaximumErrorReportingRetries, getSocketTimeout, hashCode, isFeedbackFormDisplayed, overwriteWithContext, setApiKey, setApplicationPackage, setConnectTimeout, setEnvironment, setExcludedClasses, setExcludedParams, setExcludedSysProps, setFeedbackFormDisplayed, setFeedbackFormPath, setHoneybadgerReadApiKey, setHoneybadgerUrl, setHttpProxyHost, setHttpProxyPort, setSocketTimeout, toString@Autowired public SpringConfigContext(org.springframework.core.env.Environment environment)
protected static Map<String,String> environmentAsMap(org.springframework.core.env.Environment environment)
Environment class doesn't provide a way to get all of
the runtime configuration properties as a Map, so this helper
method iterates through all known keys and queries Spring for values.environment - Spring environment classCopyright © 2023 Honeybadger.io. All rights reserved.