public void fireBeforeProcessCompleted(final ProcessInstance instance, KnowledgeRuntime kruntime) {
final Iterator<ProcessEventListener> iter = getEventListenersIterator();
if (iter.hasNext()) {
final ProcessCompletedEvent event = new ProcessCompletedEventImpl(instance, kruntime);
do {
iter.next().beforeProcessCompleted(event);
} while (iter.hasNext());
}