public class SynchronizedHandlerInvocation extends AbstractSubscriptionContextAware implements IHandlerInvocation<Object,Object>
Constructor and Description |
---|
SynchronizedHandlerInvocation(IHandlerInvocation delegate) |
Modifier and Type | Method and Description |
---|---|
void |
invoke(Object listener,
Object message,
MessagePublication publication)
Invoke the message delivery logic of this handler
|
getContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext
public SynchronizedHandlerInvocation(IHandlerInvocation delegate)
public void invoke(Object listener, Object message, MessagePublication publication)
invoke
in interface IHandlerInvocation<Object,Object>
listener
- The listener that will receive the message. This can be a reference to a method object
from the java reflection api or any other wrapper that can be used to invoke the handlermessage
- The message to be delivered to the handler. This can be any object compatible with the object
type that the handler consumesCopyright © 2018. All rights reserved.