Interface UimaASStatusCallbackListener

All Known Implementing Classes:
JmsAnalysisEngineServiceStub, UimaAsBaseCallbackListener

public interface UimaASStatusCallbackListener
Interface for a Listener that receives notification from the UimaAsynchronousEngine as various events occur.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • Method Details

    • initializationComplete

      void initializationComplete(org.apache.uima.collection.EntityProcessStatus aStatus)
      The callback used to inform the application that the initialization request has completed. On success aStatus will be null; on failure use the EntityProcessStatus class to get the details.
      Parameters:
      aStatus - the status of the processing. This object contains a record of any Exception that occurred, as well as timing information.
    • entityProcessComplete

      void entityProcessComplete(org.apache.uima.cas.CAS aCas, org.apache.uima.collection.EntityProcessStatus aStatus)
      Called when the processing of each entity has completed.
      Parameters:
      aCas - the CAS containing the processed entity and the analysis results
      aStatus - the status of the processing. This object contains a record of any Exception that occurred, as well as timing information.
    • collectionProcessComplete

      void collectionProcessComplete(org.apache.uima.collection.EntityProcessStatus aStatus)
      The callback used to inform the application that the CPC request has completed. On success aStatus will be null; on failure use the EntityProcessStatus class to get the details.
      Parameters:
      aStatus - the status of the processing. This object contains a record of any Exception that occurred, as well as timing information.