public class EventListeners extends Object
Constructor and Description |
---|
EventListeners() |
Modifier and Type | Method and Description |
---|---|
List<GlobalPropertyListener> |
getGlobalPropertyListeners() |
void |
setGlobalPropertyListeners(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 List<GlobalPropertyListener> getGlobalPropertyListeners()
public void setGlobalPropertyListeners(List<GlobalPropertyListener> globalPropertyListeners)
globalPropertyListeners
- public void setGlobalPropertyListenersToEmpty(boolean nullList)
nullList
- if true, nulls the list instead of just clearing itapplicationContext-service.xml
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.