/gwtp-extension/src/test/java/com/googlecode/gwtrpccommlayer/gwtp/test/THandler.java
https://code.google.com/p/gwtrpccommlayer/ · Java · 27 lines · 17 code · 4 blank · 6 comment · 0 complexity · 8afc22107259a8c5d706e69eea7e6da0 MD5 · raw file
- package com.googlecode.gwtrpccommlayer.gwtp.test;
-
- import com.gwtplatform.dispatch.server.ExecutionContext;
- import com.gwtplatform.dispatch.server.actionhandler.ActionHandler;
- import com.gwtplatform.dispatch.shared.ActionException;
-
- /**
- * Created by IntelliJ IDEA.
- * User: dan
- * Date: 11/16/10
- * Time: 8:13 PM
- */
- public class THandler implements ActionHandler<TAction,TResult> {
- @Override
- public TResult execute(TAction testAction, ExecutionContext executionContext) throws ActionException {
- return new TResult();
- }
-
- @Override
- public Class<TAction> getActionType() {
- return TAction.class;
- }
-
- @Override
- public void undo(TAction testAction, TResult tResult, ExecutionContext executionContext) throws ActionException {
- }
- }