Closed cyrille-leclerc closed 8 years ago
@kerlandsson would you have the time to look at it?
Once I merge this, I'll look at using the same framework for the UrlOrFilePropertiesLoader
and refactor org.jmxtrans.agent.properties.UrlOrFilePropertiesLoader#isClassPathSpec()
, org.jmxtrans.agent.properties.UrlOrFilePropertiesLoader#isUrl()
, org.jmxtrans.agent.properties.UrlOrFilePropertiesLoader#loadFromClasspath()
...
I think this looks great @cyrille-leclerc! Thanks for putting in the effort. As you can see I have added some minor stuff as line comments.
If you want I can refactor UrlOrFilePropertiesLoader myself after you have merged this.
@kerlandsson please review my changes.
@kerlandsson please review my changes and comments.
Add an IO resource framework inspired by
org.springframework.core.io.Resource
to handle configuration files