oneat
oneat

Reputation: 10994

Making SpringBoot to use beans.xml

Is it possible to make Spring boot use my Beans.xml file? How can I supply context to it? Is there any other way to put it?

Sincerely, Peter.

Upvotes: 0

Views: 42

Answers (1)

Alberto
Alberto

Reputation: 841

Absolutely! Just add a @Configuration with a @ImportResource. For more info, see http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/context/annotation/ImportResource.html

Upvotes: 2

Related Questions