@ConfigurationProperties with XML-based configuration

377 Views Asked by At

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?

0

There are 0 best solutions below