org.jboss.errai.bus.server.io
Class CommandBindingsCallback
java.lang.Object
org.jboss.errai.bus.server.io.CommandBindingsCallback
- All Implemented Interfaces:
- MessageCallback
public class CommandBindingsCallback
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandBindingsCallback
public CommandBindingsCallback(Map<String,Method> commandBindings,
Object delegate)
callback
public void callback(Message message)
- Description copied from interface:
MessageCallback
- Called by the Message Bus every time it processes a message with the
subject this callback is registered for.
- Parameters:
message
- The message on the bus. Avoid making changes to this object,
because it will continue to be reused by the framework and the
same Message instance will be passed to other callbacks.
maybeUnwrapAndThrowError
protected void maybeUnwrapAndThrowError(Throwable throwable)
throws RuntimeException
- Throws:
RuntimeException
verifyMethodSignature
protected void verifyMethodSignature(Method method)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.