posted 14 years ago
No, it isn't; beans can simply implement <tt>ApplicationListener</tt> and pay attention to <tt>ContextRefreshedEvent</tt>s. Context refresh events signal that the context is available, hence all beans etc. are ready to be used. This has the added advantage of handling *all* context refresh events, regardless of why the event too place.