anonymous wrote :
|
| For now, can we think of a way to use a String as a substitute for the Region Fqn in
the partial state transfer call? E.g. restrict the components of a Region Fqn to
String/Number/Enum, all of which can be fairly safely converted to a String. Or hopefully
something more elegant than that :-)
|
|
Well, the problem here is that writing an Integer or Enum as a String is alll nice and
easy, but re-serializing is tougher.
Basically, Fqns containing {"test", "1"} will look the same as
{"test", new Integer(1)} if serialized to Strings. How do you know which to
deserialize to, to identify the region to apply the partial state to? What if they both
exist in the same tree?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984132#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...