Wednesday, May 29, 2013

Re: Visitors on EntityProxy hierarchies

Em segunda-feira, 27 de maio de 2013 16h06min10s UTC-3, Jens escreveu:
EntityProxys are implemented using AutoBeans so you can use AutoBeanUtils.getAutoBean(EntityProxy proxy) to get an AutoBean instance from your proxy and then use an AutoBeanVisitor to traverse your hierarchy.

Thanks for these pointers, I was not aware of the AutoBeans machinery.

Unfortunately, this seems a "property tree traversal" kind of thing, and I need a "multiple dispatch" kind of thing.
As far as I can see, I still need a sequence of instanceof tests in AutoBeanVisitor.visit to dispatch to a different definition of visit based on the proxy concrete type.

Am I missing something?


You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment