org.axonframework.examples.addressbook.web
Interface CommandReceiver

All Known Implementing Classes:
CommandReceiverImpl

public interface CommandReceiver

Generic command receiver which accepts all commands. By calling the sendCommand method you expect the command to be put on the CommandBus

Author:
Jettro Coenradie

Method Summary
 java.lang.Object sendCommand(java.lang.Object command)
          Send a new command to the command bus.
 

Method Detail

sendCommand

java.lang.Object sendCommand(java.lang.Object command)
Send a new command to the command bus. If a return value is available it is passed on.

Parameters:
command - Object representing the command to be dispatched to the command bus
Returns:
Object as returned by the command bus


Copyright © 2010. All Rights Reserved.