Class MessageHandler

java.lang.Object
net.engio.mbassy.listener.MessageHandler

public class MessageHandler extends Object
Any method in any class annotated with the @Handler annotation represents a message handler. The class that contains the handler is called a message listener and more generally, any class containing a message handler in its class hierarchy defines such a message listener.
Author:
bennidi Date: 11/14/12
  • Constructor Details

  • Method Details

    • getAnnotation

      public <A extends Annotation> A getAnnotation(Class<A> annotationType)
    • isSynchronized

      public boolean isSynchronized()
    • useStrongReferences

      public boolean useStrongReferences()
    • isFromListener

      public boolean isFromListener(Class listener)
    • isAsynchronous

      public boolean isAsynchronous()
    • isFiltered

      public boolean isFiltered()
    • getPriority

      public int getPriority()
    • getMethod

      public Method getMethod()
    • getFilter

      public IMessageFilter[] getFilter()
    • getCondition

      public String getCondition()
    • getHandledMessages

      public Class[] getHandledMessages()
    • isEnveloped

      public boolean isEnveloped()
    • getHandlerInvocation

      public Class<? extends HandlerInvocation> getHandlerInvocation()
    • handlesMessage

      public boolean handlesMessage(Class<?> messageType)
    • acceptsSubtypes

      public boolean acceptsSubtypes()