public class DocumentMessageGenerator extends java.lang.Object implements MessageGenerator<Document>
| Constructor and Description |
|---|
DocumentMessageGenerator(ForwardedMessage formattedMessage) |
| 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.
|
Document |
message()
Generates and returns the message to be passed to the subscribed event handlers as the first parameter.
|
public DocumentMessageGenerator(ForwardedMessage formattedMessage) throws java.io.IOException
formattedMessage - java.io.IOExceptionpublic Document message()
message in interface MessageGenerator<Document>public java.lang.Object[] extraParameters(java.lang.reflect.Method handlerMethod,
boolean synchronous)
extraParameters in interface MessageGenerator<Document>handlerMethod - the event handler methodsynchronous - whether the event will be handled synchronously