Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

ways to add properties to Bean Spring

@PropertySource("classpath:foo.properties")
@PropertySource("classpath:bar.properties")
public class PropertiesWithJavaConfig {
    //...
}
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #ways #add #properties #Bean #Spring
ADD COMMENT
Topic
Name
4+5 =