WHAT usage of static field in a bean spring boot code example
Example: inject static field spring boot
@RestControllerpublic class PropertyController { @Value("${name}") private String name; private static String NAME_STATIC; @Value("${name}") public void setNameStatic(String name){ PropertyController.NAME_STATIC = name; }}