On Friday, October 19, 2012 4:20:58 PM UTC+2, dhoffer wrote:
>
> Thanks that really helps. Is just defining the top level interface
> enough, e.g.
>
> interface MyAutoBeanFactory extends AutoBeanFactory {
> AutoBean<IPayload> payload();
> }
>
> Or would I need to include factory methods for all nested interfaces
> contained/referenced by IPayload?
>>
>>
>>
AutoBeans cannot decode a IPayload if it doesn't know how to decode a
IGWTMessage, so obviously dependencies are resolved transitively, and it's
enough to just reference IPayload here.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/c6WFdJ4odH0J.
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.