public class JmxTransConfigurationXmlLoader extends Object implements JmxTransConfigurationLoader
| Constructor and Description |
|---|
JmxTransConfigurationXmlLoader(Resource configurationResource,
PropertiesLoader propertiesLoader,
ExpressionLanguageEngine expressionLanguageEngine) |
| Modifier and Type | Method and Description |
|---|---|
protected JmxTransExporterConfiguration |
build(Document document) |
JmxTransExporterConfiguration |
build(JmxTransConfigurationLoader configurationDocumentLoader) |
long |
lastModified() |
JmxTransExporterConfiguration |
loadConfiguration() |
String |
toString() |
public JmxTransConfigurationXmlLoader(@Nonnull Resource configurationResource, @Nonnull PropertiesLoader propertiesLoader, @Nonnull ExpressionLanguageEngine expressionLanguageEngine)
public JmxTransExporterConfiguration loadConfiguration()
loadConfiguration in interface JmxTransConfigurationLoaderpublic long lastModified()
lastModified in interface JmxTransConfigurationLoaderLong value representing the time the file was
last modified, measured in milliseconds since the epoch
(00:00:00 GMT, January 1, 1970), or 0L if the
file does not exist or if an I/O error occursprotected JmxTransExporterConfiguration build(Document document)
public JmxTransExporterConfiguration build(JmxTransConfigurationLoader configurationDocumentLoader) throws Exception
ExceptionCopyright © 2017. All Rights Reserved.