T - the data type of the message to be generatedpublic interface MessageGenerator<T>
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
extraParameters(java.lang.reflect.Method handlerMethod,
boolean synchronous)
Generates and returns any extra parameters this generator can generate and the handler method accepts.
|
T |
message()
Generates and returns the message to be passed to the subscribed event handlers as the first parameter.
|
T message()
java.lang.Object[] extraParameters(java.lang.reflect.Method handlerMethod,
boolean synchronous)
handlerMethod - the event handler methodsynchronous - whether the event will be handled synchronously