|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- the specific ApplicationEvent subclass to listen topublic interface ApplicationListener<E extends ApplicationEvent>
Interface to be implemented by application event listeners.
Based on the standard java.util.EventListener
interface
for the Observer design pattern.
As of Spring 3.0, an ApplicationListener can generically declare the event type that it is interested in. When registered with a Spring ApplicationContext, events will be filtered accordingly, with the listener getting invoked for matching event objects only.
ApplicationEventMulticaster
Method Summary | |
---|---|
void |
onApplicationEvent(E event)
Handle an application event. |
Method Detail |
---|
void onApplicationEvent(E event)
event
- the event to respond to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |