Interface UimaTransport
-
- All Known Implementing Classes:
VmTransport
public interface UimaTransport
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSpiListener(SpiListener aListener)This method registers a givenSpiListenerinstance with the SPI.UimaMessageDispatchergetUimaMessageDispatcher()Returns SPI DispatcherUimaMessageDispatchergetUimaMessageDispatcher(java.lang.String aDelegateKey)UimaMessageListenergetUimaMessageListener()UimaVmMessageproduceMessage()UimaVmMessageproduceMessage(int aCommand, int aMessageType, java.lang.String aMessageFrom)UimaMessageDispatcherproduceUimaMessageDispatcher(UimaTransport aTransport)UimaMessageListenerproduceUimaMessageListener()voidregisterWithJMX(AnalysisEngineController aController, java.lang.String queueKind)voidstartIt()This method is called to start SPI.voidstopIt()This method is called to stop SPI.
-
-
-
Method Detail
-
addSpiListener
void addSpiListener(SpiListener aListener)
This method registers a givenSpiListenerinstance with the SPI. The SPI will call all registered listeners when the initialization is completed, when the start is completed, and when the stop is completed.- Parameters:
aListener- - SPI listener to receive events
-
startIt
void startIt() throws UimaSpiExceptionThis method is called to start SPI.- Throws:
UimaSpiException- - any problems while starting the SPI
-
stopIt
void stopIt() throws UimaSpiExceptionThis method is called to stop SPI.- Throws:
UimaSpiException- - any problems while stopping the SPI
-
getUimaMessageDispatcher
UimaMessageDispatcher getUimaMessageDispatcher() throws UimaSpiException
Returns SPI Dispatcher- Returns:
- - instance of SPI Dispatcher
- Throws:
UimaSpiException- - any problems while fetching Dispatcher
-
getUimaMessageListener
UimaMessageListener getUimaMessageListener() throws UimaSpiException
- Throws:
UimaSpiException
-
getUimaMessageDispatcher
UimaMessageDispatcher getUimaMessageDispatcher(java.lang.String aDelegateKey) throws UimaSpiException
- Throws:
UimaSpiException
-
produceUimaMessageListener
UimaMessageListener produceUimaMessageListener() throws UimaSpiException
- Throws:
UimaSpiException
-
produceUimaMessageDispatcher
UimaMessageDispatcher produceUimaMessageDispatcher(UimaTransport aTransport) throws UimaSpiException
- Throws:
UimaSpiException
-
produceMessage
UimaVmMessage produceMessage()
-
produceMessage
UimaVmMessage produceMessage(int aCommand, int aMessageType, java.lang.String aMessageFrom)
-
registerWithJMX
void registerWithJMX(AnalysisEngineController aController, java.lang.String queueKind)
-
-