Package net.engio.mbassy.listener


package net.engio.mbassy.listener
  • Class
    Description
    Configure a handler to receive an enveloped message as a wrapper around the source message.
    The filter annotation is used to add filters to message listeners.
    A set of standard filters for common use cases.
    This filter will only accept messages of the exact same type as specified for the handler.
    This filter will only accept messages that are real subtypes of the specified message types handled by the message handler.
    Mark any method of any class(=listener) as a message handler and configure the handler using different properties.
    Message filters can be used to control what messages are delivered to a specific message handler.
    The include filters directive can be used to add multiple Filters to a single annotation type.
    Created with IntelliJ IDEA.
    Configure how the listener is referenced in the event bus.
    Any method in any class annotated with the @Handler annotation represents a message handler.
     
    All instances of any class defining at least one message handler @link MessageHandler are message listeners.
    The meta data reader is responsible for parsing and validating message handler configurations.
     
    A handler marked with this annotation is guaranteed to be invoked in a thread-safe manner, that is, no other running message publication will be able to invoke this or any other synchronized handler of the same listener until the handler completed.