|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.aae.client.UimaAsBaseCallbackListener
public abstract class UimaAsBaseCallbackListener
This is an abstract listener class that provides empty implementation. The user listener code extends this class to provide concrete implementations for the notification APIs.
Constructor Summary | |
---|---|
UimaAsBaseCallbackListener()
|
Method Summary | |
---|---|
void |
collectionProcessComplete(org.apache.uima.collection.EntityProcessStatus aStatus)
The callback used to inform the application that the CPC request has completed. |
void |
entityProcessComplete(org.apache.uima.cas.CAS aCas,
org.apache.uima.collection.EntityProcessStatus aStatus)
Called when the processing of each entity has completed. |
void |
initializationComplete(org.apache.uima.collection.EntityProcessStatus aStatus)
The callback used to inform the application that the initialization request has completed. |
void |
onBeforeMessageSend(UimaASProcessStatus status)
Called by Uima AS client API just before the CAS is send to the service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UimaAsBaseCallbackListener()
Method Detail |
---|
public void onBeforeMessageSend(UimaASProcessStatus status)
status
- - status object containing id of the CAS being send.public void initializationComplete(org.apache.uima.collection.EntityProcessStatus aStatus)
initializationComplete
in interface UimaASStatusCallbackListener
aStatus
- the status of the processing. This object contains a record of any Exception that
occurred, as well as timing information.public void entityProcessComplete(org.apache.uima.cas.CAS aCas, org.apache.uima.collection.EntityProcessStatus aStatus)
entityProcessComplete
in interface UimaASStatusCallbackListener
aCas
- the CAS containing the processed entity and the analysis resultsaStatus
- the status of the processing. This object contains a record of any Exception that
occurred, as well as timing information.public void collectionProcessComplete(org.apache.uima.collection.EntityProcessStatus aStatus)
collectionProcessComplete
in interface UimaASStatusCallbackListener
aStatus
- the status of the processing. This object contains a record of any Exception that
occurred, as well as timing information.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |