Announcement Announcement Module
Collapse
No announcement yet.
How to get callback after spring context is all loaded Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to get callback after spring context is all loaded

    Hi,

    How can I receive a callback after the spring context beans are all loaded and initialized?

    I understand theres BeanPostProcessors which are more for before/after each bean.

    I am rather interested to be notified after all beans are initialized.

    Any advice?

    thank you
    -sung

  • #2
    Register an ApplicationListener and check for ContextRefreshed events.

    Comment

    Working...
    X