Package org.apache.uima.aae.controller
Interface ControllerLifecycle
-
- All Known Subinterfaces:
AggregateAnalysisEngineController,AnalysisEngineController,PrimitiveAnalysisEngineController
- All Known Implementing Classes:
AggregateAnalysisEngineController_impl,AnalysisEngineControllerAdapter,BaseAnalysisEngineController,PrimitiveAnalysisEngineController_impl,UimacppServiceController
public interface ControllerLifecycleInterface defining methods to enable stopping of Asynchronous Service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddControllerCallbackListener(ControllerCallbackListener aListener)Register one or more listeners through which the controller can send notification of events.voidremoveControllerCallbackListener(ControllerCallbackListener aListener)Removes named application listener.voidterminate()Called to initiate shutdown of the Asynchronous Service.
-
-
-
Method Detail
-
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
-
-