@Value of several uses:
Common attributes:
@Value("${flag}")
public int flag;
Static properties (which can be implanted in the non-static value setter method):
public static int flag;
@Value("${flag}")
public void setFlag(int flag){
this.flag = flag
}