Pages

Oct 19, 2018

Better application events in Spring Framework 4.2


Application events are available since the very beginning of the Spring framework as a mean for loosely coupled components to exchange information. One of the most well known usage of application events is the following: @Component public class MyListener implements ApplicationListener { public void onApplicationEvent(ContextRefreshedEvent event) { ... } } This allows MyListener to be notified when the context has refreshed and one can use that to run arbitrary code when the application context has fully started. In Spring Framework 4.2 we have revisited the event infrastructure in three main areas that I am going to explain in this post.






http://feeds.dzone.com/~r/dzone/frontpage/~3/4-tPnWfsueE/better_application_events_in_spring_framework_42.html

QuickBooks Self-Employed

Bigger tax refunds. Better organization. Manage your deductions with QuickBooks Self-Employed .