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 ControllerLifecycle
Interface defining methods to enable stopping of Asynchronous Service.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Register one or more listeners through which the controller can send notification of events.void
Removes named application listener.void
Called to initiate shutdown of the 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
Register one or more listeners through which the controller can send notification of events.- Parameters:
aListener
- - application listener object to register
-
removeControllerCallbackListener
Removes named application listener.- Parameters:
aListener
- - application listener to remove
-