Class EventCollector
java.lang.Object
com.logicaldoc.core.communication.EventCollector
A collector of events that can distribute them to a set of listeners
- Since:
- 7.7.1
- Author:
- Marco Meschieri - LogicalDOC
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddListener(EventListener listener) static EventCollectorget()static booleanvoidNotifies all the listeners in another threadvoidremoveListener(EventListener listener) 
- 
Constructor Details- 
EventCollectorpublic EventCollector()
 
- 
- 
Method Details- 
get
- 
addListener
- 
removeListener
- 
newEventNotifies all the listeners in another thread- Parameters:
- history- the history to notify
 
- 
isEnabledpublic static boolean isEnabled()
 
-