-
Oct 28th, 2009, 10:31 PM
#1
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
-
Oct 29th, 2009, 03:08 AM
#2
Register an ApplicationListener and check for ContextRefreshed events.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules