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.String
AcceptSubtypes
static java.lang.String
Condition
static java.lang.String
Enveloped
static java.lang.String
Filter
static java.lang.String
HandledMessages
static java.lang.String
HandlerMethod
static java.lang.String
Invocation
static java.lang.String
InvocationMode
static java.lang.String
IsSynchronized
static java.lang.String
Listener
static java.lang.String
Priority
-
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 theMessageHandler
constructor 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 theMessageHandler
constructor 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
MessageHandler
constructor.
-
cleanEL
private static java.lang.String cleanEL(java.lang.String expression)
-
-