public abstract class UimaAsBaseCallbackListener extends Object implements UimaASStatusCallbackListener
Constructor and Description |
---|
UimaAsBaseCallbackListener() |
Modifier and Type | Method and Description |
---|---|
void |
collectionProcessComplete(EntityProcessStatus aStatus)
The callback used to inform the application that the CPC request has completed.
|
void |
entityProcessComplete(CAS aCas,
EntityProcessStatus aStatus)
Called when the processing of each entity has completed.
|
void |
initializationComplete(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.
|
void |
onBeforeProcessCAS(UimaASProcessStatus status,
String nodeIP,
String pid)
Called by Uima AS client API before CAS processing begins at the remote
UIMA AS service
|
void |
onBeforeProcessMeta(String nodeIP,
String pid)
Called by Uima AS client API before GetMeta processing begins at the remote
UIMA AS service
|
void |
onUimaAsServiceExit(org.apache.uima.aae.UimaASApplicationEvent.EventTrigger cause) |
public void onBeforeMessageSend(UimaASProcessStatus status)
status
- - status object containing id of the CAS being send.public void onBeforeProcessCAS(UimaASProcessStatus status, String nodeIP, String pid)
status
- nodeIP
- pid
- public void onBeforeProcessMeta(String nodeIP, String pid)
nodeIP
- - Node IP where GetMeta request is handledpid
- - Remote Service PID where GetMeta request is handled. The
has the following syntax: public void onUimaAsServiceExit(org.apache.uima.aae.UimaASApplicationEvent.EventTrigger cause)
public void initializationComplete(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(CAS aCas, 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(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.Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.