0

I'm not sure if this is Magnolia specific question. But anyways, I have a custom action for my content app where I want to call a Spring Service from other Magnolia Module which does not use the Spring Blossom Module.

How will I be able to call the Spring service and make sure that all the autowired beans inside it are working?

Thanks :)

Jen Sze
  • 254
  • 1
  • 10
  • Just initialize your beans as you would for any other webapp that is using Spring. Do you have actually real problem that something is not initialized with the configuration you have or are you just speculating that it might not? – Jan Jul 25 '16 at 06:47

1 Answers1

0

Just found out that this is not actually Magnolia related question. I found the solution from Getting Spring Application context from a non bean object without using Singleton for this case.

Thanks!

Community
  • 1
  • 1
Jen Sze
  • 254
  • 1
  • 10