InstanceRequest means the method is on the domain object (ContactEntry) 
equivalent to the referenced proxy (ContactEntryProxy) rather than the 
service object (ContactsServiceImpl) equivalent to the RequestContext where 
the method is defined (ContactsService).
In other words, context.persist().using(contactEntryProxy) maps to 
contactEntry.persist() on the server.

In your case, because your methods are in the ContactsServiceImpl, they 
should be declared with a Request<> return type (and take the 
ContactEntryProxy as an argument, just like your service method).

(it looks weird that your service extends Locator, but well, yes, it'll 
work)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to