I am not using Spring in my application. Is there any API which can load property file into java pojo based on annotation. I am aware of loading properties file using either InputStream Or with Spring's PropertyPlaceHolder. Is there any API using which I can populate my pojo like
@Value("{foo.somevar}")
private String someVariable;
I was unable to find any solution WITHOUT using spring.
Aucun commentaire:
Enregistrer un commentaire