public class BasicExecutionEventListener extends Object implements ExecutionEventListener
ExecutionEventListener.
 
 This event listener listens to and captures published events.
 The list of captured events can be filtered by setting a list of
 filter event types. 
 
 This listener should be used with great care.  It could quite easily consume
 large amounts of memory if not used properly.  If access to this information
 is required in a production environment, consider writing and using a more
 specialized implementation of the ExecutionEventListener interface
 i.e. an implementation that captures the information in a more memory-friendly way.| Constructor and Description | 
|---|
| BasicExecutionEventListener() | 
| Modifier and Type | Method and Description | 
|---|---|
| List<ExecutionEvent> | getEvents()Get the  ExecutionEventlist. | 
| protected boolean | ignoreEvent(ExecutionEvent event) | 
| void | onEvent(ExecutionEvent event)Process the  ExecutionEvent. | 
| void | setFilterEvents(Class<? extends ExecutionEvent>... filterEvents)Set a list of  eventtypes on which to filter. | 
public void setFilterEvents(Class<? extends ExecutionEvent>... filterEvents)
event types on which to filter.
 
 The listener will only capture event types
 provided in this list.  If not set, all events will be captured.filterEvents - Filter events.public void onEvent(ExecutionEvent event)
ExecutionEvent.onEvent in interface ExecutionEventListenerevent - The ExecutionEvent.protected boolean ignoreEvent(ExecutionEvent event)
public List<ExecutionEvent> getEvents()
ExecutionEvent list.ExecutionEvent list.Copyright © 2020. All rights reserved.