Class UimaVmMessageListener

    • Method Detail

      • onMessage

        public void onMessage​(UimaMessage aMessage)
        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 interface UimaMessageListener
      • initialize

        public void initialize​(UimaAsContext context)
                        throws java.lang.Exception
        Initializes this listener. Instantiates and links message handlers. O
        Specified by:
        initialize in interface UimaMessageListener
        Throws:
        java.lang.Exception