}
public void onApplicationEvent(ApplicationEvent event) {
for (int i = 0; listeners != null && i < listeners.size(); i++) {
UimaAsBaseCallbackListener statCL = (UimaAsBaseCallbackListener) listeners.get(i);
if ( event instanceof UimaASApplicationExitEvent) {
statCL.onUimaAsServiceExit( ((UimaASApplicationExitEvent)event).getEventTrigger());
}
}
}