Yaya @ work
unread,Jan 21, 2012, 8:22:28 AM1/21/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
Hi !
As many others, I'm trying to palliate the understandable
"limitation" that entity change events one can subscribe to with
EntityProxyChange.registerForProxyType(...) won't include
notifications for changes made by other clients, including non GWT ones.
(Which is obviously beyond GWT's control and scope.)
As such, I would like all clients to be able to subscribe to system wide
entity change notifications, which would be pushed (most likely) by
Atmosphere.
As client code is handling EntityProxy or ValueProxy instances, I wish these notifications could convey similar objects.
Unfortunately, I haven't found an obvious way (or, at least, obvious
enough for me ;-)) to explicitly "instantiate" Entity/Value Proxies from
corresponding entities.
The RequestFactory code that perform such
instantiation/conversion seems to be quite tight to RequestState,
Resolver & co, which are package protected.
Would anyone know of a way to do so ?
Thanks in advance for your insights,
Yannis