Class MessageHandler.Properties

  • Enclosing class:
    MessageHandler

    public static final class MessageHandler.Properties
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Properties()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.String cleanEL​(java.lang.String expression)  
      static java.util.Map<java.lang.String,​java.lang.Object> Create​(java.lang.reflect.Method handler, Handler handlerConfig, IMessageFilter[] filter, MessageListener listenerConfig)
      Create the property map for the MessageHandler constructor using the default objects.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Properties

        public Properties()
    • Method Detail

      • Create

        public static final java.util.Map<java.lang.String,​java.lang.Object> Create​(java.lang.reflect.Method handler,
                                                                                          Handler handlerConfig,
                                                                                          IMessageFilter[] filter,
                                                                                          MessageListener listenerConfig)
        Create the property map for the MessageHandler constructor using the default objects.
        Parameters:
        handler - The handler annotated method of the listener
        handlerConfig - The annotation that configures the handler
        filter - The set of preconfigured filters if any
        listenerConfig - The listener metadata
        Returns:
        A map of properties initialized from the given parameters that will conform to the requirements of the MessageHandler constructor.
      • cleanEL

        private static java.lang.String cleanEL​(java.lang.String expression)