RequestFactoryInterfaceValidator removed from GWT 2.4

25 views
Skip to first unread message

koma

unread,
Sep 23, 2011, 4:27:09 AM9/23/11
to google-we...@googlegroups.com, tahar.a...@formatech.be
Hi 

I noticed RequestFactoryInterfaceValidator disappeared from 2.4.
Googling around I came across this : http://gwt-code-reviews.appspot.com/1503804/

From the comments I understand that I have to include requestfactory-apt.jar in my build path to get compile time errors on RF validation problems.

But when I comment out a function from my implementation, that does not seam to work :

@ServiceName(value = "xxx.UsersServiceImpl", locator = "xxx.ApplicationServiceLocator")
public interface UsersService extends RequestContext {

Request<UserProxy> getUser();

Request<UserProxy> login(String username, String password);
}



public class UsersServiceImpl {

/**
* service implementation;
*/
public User getUser() {
return new User("koen", "xxx");
}
// REMOVING THIS METHOD IMPL INVALIDATES THE RF 
// public User login(String username, String password) {
// return new User("koen", "xxx");
// }
}

Anybody?

koma

unread,
Sep 23, 2011, 4:55:40 AM9/23/11
to google-we...@googlegroups.com, tahar.a...@formatech.be
Reply all
Reply to author
Forward
0 new messages