}
}
protected void notifyListeners(CAS aCAS, EntityProcessStatus aStatus, int aCommand) {
for (int i = 0; listeners != null && i < listeners.size(); i++) {
UimaAsBaseCallbackListener statCL = (UimaAsBaseCallbackListener) listeners.get(i);
switch (aCommand) {
case AsynchAEMessage.GetMeta:
statCL.initializationComplete(aStatus);
break;
case AsynchAEMessage.CollectionProcessComplete:
statCL.collectionProcessComplete(aStatus);
break;
case AsynchAEMessage.Process:
case AsynchAEMessage.Ping:
statCL.entityProcessComplete(aCAS, aStatus);
break;
}
}