package org.fedorahosted.flies.webtrans.server;


import org.fedorahosted.flies.webtrans.shared.DispatchService;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.remoting.WebRemote;
import org.jboss.seam.annotations.security.Restrict;
import org.jboss.seam.security.Identity;

import net.customware.gwt.dispatch.shared.Action;
import net.customware.gwt.dispatch.shared.Result;

@Name("org.fedorahosted.flies.webtrans.shared.common.DispatchService")
public class DispatchServiceImpl implements DispatchService {
	
	@In 
	SeamDispatch seamDispatch;
	
	@Override
	@WebRemote
	public Result execute(Action<?> action) throws Exception {
		return seamDispatch.execute(action);
	}
	
	

}

package org.fedorahosted.flies.webtrans.server;


import org.fedorahosted.flies.webtrans.shared.DispatchService;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.remoting.WebRemote;
import org.jboss.seam.annotations.security.Restrict;
import org.jboss.seam.security.Identity;

import net.customware.gwt.dispatch.shared.Action;
import net.customware.gwt.dispatch.shared.Result;

@Name("org.fedorahosted.flies.webtrans.shared.DispatchService")
public class DispatchServiceImpl implements DispatchService {
	
	@In 
	SeamDispatch seamDispatch;
	
	@Override
	@WebRemote
	public Result execute(Action<?> action) throws Exception {
		return seamDispatch.execute(action);
	}
	
	

}

fix component naming of DispatchService