net.customware.gwt.dispatch.server
Interface Dispatch

All Known Implementing Classes:
AbstractDispatch, GuiceDispatch, SimpleDispatch, SpringDispatch

public interface Dispatch

Executes actions and returns the results.

Author:
David Peterson

Method Summary
<A extends Action<R>,R extends Result>
R
execute(A action)
          Executes the specified action and returns the appropriate result.
 

Method Detail

execute

<A extends Action<R>,R extends Result> R execute(A action)
                         throws DispatchException
Executes the specified action and returns the appropriate result.

Type Parameters:
T - The Result type.
Parameters:
action - The Action.
Returns:
The action's result.
Throws:
DispatchException - if the action execution failed.


Copyright © 2011 customware.net. All Rights Reserved.