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 Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(EventListener listener) static EventCollectorget()static booleanvoidNotifies all the listeners in another threadvoidremoveListener(EventListener listener) voidsetConfig(ContextProperties config)  
- 
Constructor Details
- 
EventCollector
public EventCollector() 
 - 
 - 
Method Details
- 
get
 - 
addListener
 - 
removeListener
 - 
newEvent
Notifies all the listeners in another thread- Parameters:
 history- the history to notify
 - 
getConfig
 - 
setConfig
 - 
isEnabled
public static boolean isEnabled() 
 -