Interface ControllerLifecycle

All Known Subinterfaces:
AggregateAnalysisEngineController, AnalysisEngineController, PrimitiveAnalysisEngineController
All Known Implementing Classes:
AggregateAnalysisEngineController_impl, AnalysisEngineControllerAdapter, BaseAnalysisEngineController, PrimitiveAnalysisEngineController_impl, UimacppServiceController

public interface ControllerLifecycle
Interface defining methods to enable stopping of Asynchronous Service.
  • Method Details

    • terminate

      void terminate()
      Called to initiate shutdown of the Asynchronous Service. An implementation can close an input and output channels and do any necessary cleanup before terminating.
    • addControllerCallbackListener

      void addControllerCallbackListener(ControllerCallbackListener aListener)
      Register one or more listeners through which the controller can send notification of events.
      Parameters:
      aListener - - application listener object to register
    • removeControllerCallbackListener

      void removeControllerCallbackListener(ControllerCallbackListener aListener)
      Removes named application listener.
      Parameters:
      aListener - - application listener to remove