Skip to content

Instantly share code, notes, and snippets.


Created Jul 9, 2015
What would you like to do?
Inject Properties
public class Application {
@Inject @Property(name = "")
private String name;
@Inject @Property(name = "application.version.major")
private int majorVersion;
@Inject @Property(name = "application.version.minor")
private int minorVersion;
@Inject @Property(name = "application.released")
private boolean released;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment