public class EventListeners
extends java.lang.Object
| Constructor and Description |
|---|
EventListeners() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<GlobalPropertyListener> |
getGlobalPropertyListeners() |
void |
setGlobalPropertyListeners(java.util.List<GlobalPropertyListener> globalPropertyListeners)
This setter acts more like an "appender".
|
void |
setGlobalPropertyListenersToEmpty(boolean nullList)
Convenience method called by spring to reset the static list of event
listeners.
Without this, the event listener list continues to grow with every Spring restart. |
public java.util.List<GlobalPropertyListener> getGlobalPropertyListeners()
public void setGlobalPropertyListeners(java.util.List<GlobalPropertyListener> globalPropertyListeners)
globalPropertyListeners - public void setGlobalPropertyListenersToEmpty(boolean nullList)
nullList - if true, nulls the list instead of just clearing itapplicationContext-service.xmlCopyright © 2018 OpenMRS Inc.. All Rights Reserved.