Search in sources :

Example 1 with CutPoint

use of com.openmeap.model.event.notifier.ModelServiceEventNotifier.CutPoint in project OpenMEAP by OpenMEAP.

the class ModelManagerImpl method processModelEntityEventQueue.

private void processModelEntityEventQueue(CutPoint cutPoint, List<ProcessingEvent> events) {
    List<ModelEntityEvent> modelEvents;
    if ((modelEvents = eventQueue.get(Thread.currentThread())) != null) {
        int size = modelEvents.size();
        for (int i = 0; i < size; i++) {
            ModelEntityEvent event = modelEvents.get(i);
            callEventNotifiers(cutPoint, event, events);
        }
    }
}
Also used : ModelEntityEvent(com.openmeap.model.event.ModelEntityEvent) CutPoint(com.openmeap.model.event.notifier.ModelServiceEventNotifier.CutPoint)

Aggregations

ModelEntityEvent (com.openmeap.model.event.ModelEntityEvent)1 CutPoint (com.openmeap.model.event.notifier.ModelServiceEventNotifier.CutPoint)1