What is RpcRefinable ?
Google finds only this thread when searching for it.

On Nov 23, 5:35 am, Didier Durand <[email protected]> wrote:
> Hi David,
>
> You can achieve what you want by using ServiceDefTarget of GWT.
>
> Here below some code snippet of mine dynamically creating a detailed
> url (instead of the basic one done by the annotation) to allow better
> monitoring: I put some info (object id, etc.) in the url to monitor
> more efficiently
>
> So, check the ServiceDefTarget object in GWT dev kit: it will provide
> you what you need.
>
> ServiceDefTarget def =
> (ServiceDefTarget)GWT.create(ServerObjectGetService.class);;
> String url = RELATIVE_URL + "/" +
> Util.getSimpleName(object.getClass());
> if (object instanceof RpcRefinable) {
>         url += "/" + ((RpcRefinable)object).getSubUrl();}
>
> def.setServiceEntryPoint(url);
>
> didier
>
> On Nov 22, 9:02 pm, David Balažic <[email protected]> wrote:
>
> > Hi!
>
> > would it be possible to have a default value for the
> > RemoteServiceRelativePath annotation?
> > Like the interface name?
>
> > For example:
>
> > @RemoteServiceRelativePath("StockPriceService")
> > public interface StockPriceService extends RemoteService { ... }
>
> > could be written just as
>
> > public interface StockPriceService extends RemoteService { ... }
>
> > And "StockPriceService" would be the default name is there is no
> > annotation?
>
> > Would save some typing for the developer.
>
> > Regards,
> > David

-- 
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