public interface UimaTransport
Modifier and Type | Method and Description |
---|---|
void |
addSpiListener(SpiListener aListener)
This method registers a given
SpiListener instance with the SPI. |
UimaMessageDispatcher |
getUimaMessageDispatcher()
Returns SPI Dispatcher
|
UimaMessageDispatcher |
getUimaMessageDispatcher(String aDelegateKey) |
UimaMessageListener |
getUimaMessageListener() |
UimaVmMessage |
produceMessage() |
UimaVmMessage |
produceMessage(int aCommand,
int aMessageType,
String aMessageFrom) |
UimaMessageDispatcher |
produceUimaMessageDispatcher(UimaTransport aTransport) |
UimaMessageListener |
produceUimaMessageListener() |
void |
registerWithJMX(AnalysisEngineController aController,
String queueKind) |
void |
startIt()
This method is called to start SPI.
|
void |
stopIt()
This method is called to stop SPI.
|
void addSpiListener(SpiListener aListener)
SpiListener
instance 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.aListener
- - SPI listener to receive eventsvoid startIt() throws UimaSpiException
UimaSpiException
- - any problems while starting the SPIvoid stopIt() throws UimaSpiException
UimaSpiException
- - any problems while stopping the SPIUimaMessageDispatcher getUimaMessageDispatcher() throws UimaSpiException
UimaSpiException
- - any problems while fetching DispatcherUimaMessageListener getUimaMessageListener() throws UimaSpiException
UimaSpiException
UimaMessageDispatcher getUimaMessageDispatcher(String aDelegateKey) throws UimaSpiException
UimaSpiException
UimaMessageListener produceUimaMessageListener() throws UimaSpiException
UimaSpiException
UimaMessageDispatcher produceUimaMessageDispatcher(UimaTransport aTransport) throws UimaSpiException
UimaSpiException
UimaVmMessage produceMessage()
UimaVmMessage produceMessage(int aCommand, int aMessageType, String aMessageFrom)
void registerWithJMX(AnalysisEngineController aController, String queueKind)
Copyright © 2016. All rights reserved.