Class UimaVmMessageListener
java.lang.Object
org.apache.uima.aae.spi.transport.vm.UimaVmMessageListener
- All Implemented Interfaces:
UimaMessageListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(UimaAsContext context) Initializes this listener.void
onMessage
(UimaMessage aMessage) Called when a new message is sent from a collocated client.void
startIt()
void
stopIt()
-
Constructor Details
-
UimaVmMessageListener
-
-
Method Details
-
onMessage
Called when a new message is sent from a collocated client. Checks if the structure of the message is valid (contains required attributes) and passes it on to the message handler for processing.- Specified by:
onMessage
in interfaceUimaMessageListener
-
initialize
Initializes this listener. Instantiates and links message handlers. O- Specified by:
initialize
in interfaceUimaMessageListener
- Throws:
Exception
-
startIt
public void startIt()- Specified by:
startIt
in interfaceUimaMessageListener
-
stopIt
public void stopIt()- Specified by:
stopIt
in interfaceUimaMessageListener
-