Inspired by jcommander, this library provides simple and intuitive injection of configurations into object attributes of your choosing. It is intended for use in non-managed environments or projects where JSR 299: Contexts and Dependency Injection for the JavaTM EE platform would be overkill.
jconfigurations consists of a single lightweight jar with no dependencies. Unlike jcommander, it does not parse command-line arguments, and is geared towards configurations you might keep in a properties file or similar.
Include in maven projects
<dependency> <groupId>org.llorllale</groupId> <artifactId>jconfigurations</artifactId> <version>1.1.0</version> </dependency>
For bugs or enhancements, please use our issue tracker.