Use Javaconfig instead of applicationContext.xml
sdeleuze opened this issue · 2 comments
sdeleuze commented
Use Javaconfig instead of applicationContext.xml
bclozel commented
I can take this one.
I just don't know what you had in mind to activate profiles.
- Using an init parameter in the servlet declaration?
dispatcher.setInitParameter("spring.profiles.active","resthub-jpa");
- Should we replace the current applicationContext.xml with a Config class?
and go:
ctx.getEnvironment().setActiveProfiles("resthub-jpa");
- Or the
@Profile
annotation ?
sdeleuze commented
I call you ;-)