How can I re-write the following annotation-based configured class:
@ConfigurationProperties(prefix = "app")
class MyConfig {
private String username;
private String password;
}
To the XML-based configured class? Specifically, what is the equivalent of @ConfigurationProperties
in the xml configuration?