Hi all,

I have a problem, not so jbpm related, but if anyone has a idea it would be 
very nice:

We have a change in a class (one attribute type changes from String to 
CountryCode), so the serialized objects in the process can not be deserialized 
any more (ClassCastException).

For this special case I have written a small tool, which deserializes all 
objects with our own "MyObjectInputStream" which overwrites 
Object resolveObject(Object obj)
to return a CountryCode if a 2-letter-Code String is given. But this only works 
in this special case.

Now another big change is on its way: Has anybody a good idea to implement a 
deserializer. It should hook in if a attribute with a known name of a known 
class is deserialized so there we can write own code.

Or is it too off topic here?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917502#3917502

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917502


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to