Event handling in the ApplicationContext is provided through the ApplicationEvent class andApplicationListener interface. So if a bean implements the ApplicationListener, then every time anApplicationEvent gets published to the ApplicationContext, that bean is notified.
No comments:
Post a Comment