Package net.engio.mbassy.listener
Class MessageHandler.Properties
- java.lang.Object
-
- net.engio.mbassy.listener.MessageHandler.Properties
-
- Enclosing class:
- MessageHandler
public static final class MessageHandler.Properties extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAcceptSubtypesstatic java.lang.StringConditionstatic java.lang.StringEnvelopedstatic java.lang.StringFilterstatic java.lang.StringHandledMessagesstatic java.lang.StringHandlerMethodstatic java.lang.StringInvocationstatic java.lang.StringInvocationModestatic java.lang.StringIsSynchronizedstatic java.lang.StringListenerstatic java.lang.StringPriority
-
Constructor Summary
Constructors Constructor Description Properties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.StringcleanEL(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 theMessageHandlerconstructor using the default objects.
-
-
-
Field Detail
-
HandlerMethod
public static final java.lang.String HandlerMethod
- See Also:
- Constant Field Values
-
InvocationMode
public static final java.lang.String InvocationMode
- See Also:
- Constant Field Values
-
Filter
public static final java.lang.String Filter
- See Also:
- Constant Field Values
-
Condition
public static final java.lang.String Condition
- See Also:
- Constant Field Values
-
Enveloped
public static final java.lang.String Enveloped
- See Also:
- Constant Field Values
-
HandledMessages
public static final java.lang.String HandledMessages
- See Also:
- Constant Field Values
-
IsSynchronized
public static final java.lang.String IsSynchronized
- See Also:
- Constant Field Values
-
Listener
public static final java.lang.String Listener
- See Also:
- Constant Field Values
-
AcceptSubtypes
public static final java.lang.String AcceptSubtypes
- See Also:
- Constant Field Values
-
Priority
public static final java.lang.String Priority
- See Also:
- Constant Field Values
-
Invocation
public static final java.lang.String Invocation
- See Also:
- Constant Field Values
-
-
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 theMessageHandlerconstructor using the default objects.- Parameters:
handler- The handler annotated method of the listenerhandlerConfig- The annotation that configures the handlerfilter- The set of preconfigured filters if anylistenerConfig- The listener metadata- Returns:
- A map of properties initialized from the given parameters that will conform to the requirements of the
MessageHandlerconstructor.
-
cleanEL
private static java.lang.String cleanEL(java.lang.String expression)
-
-