Created
April 28, 2020 06:27
-
-
Save CheolhoJeon/078ed28194c4d4585135d3ff53892de0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(); | |
context.getEnvironment().setActiveProfiles("dev"); | |
context.register(MemberConfig.class, DsDevConfig.class, DsRealConfig.class); | |
context.refresh(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment