[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-474) Compatibility fwk for all classes passed on the wire
Manik Surtani (JIRA)
jira-events at jboss.com
Thu Aug 10 11:51:14 EDT 2006
[ http://jira.jboss.com/jira/browse/JBCACHE-474?page=all ]
Manik Surtani updated JBCACHE-474:
----------------------------------
Fix Version/s: 2.1.0
(was: 2.0.0)
> Compatibility fwk for all classes passed on the wire
> ----------------------------------------------------
>
> Key: JBCACHE-474
> URL: http://jira.jboss.com/jira/browse/JBCACHE-474
> Project: JBoss Cache
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 1.2.4SP1
> Reporter: Manik Surtani
> Assigned To: Manik Surtani
> Fix For: 2.1.0
>
>
> Classes that are serialized:
> Fqn
> MethodCall (JG?)
> *Exception
> GlobalTransaction
> State transfers
> 1) Lets use JGroups Streamable where possible (dependency? Externalizable instead?)
> 2) Provide a header short containing version
> 3) Use a MarshallingFactory for each version so we can understand messages from older installations
> 4) Provide MarshallingFactories as plugins so old versions can talk to newer versions (fwd compat)
> Object unmarshal(short version, Class type, InputStream is)
> {
> // if plugin directory empty or unset || version == currentVersion, revert back to existing mechanism
> // else
> // Look up UnmarshallerPlugin in the compat table (populated at startup with the contents of the plugin dir)
> // Lookup based on version and class type. Unmarshaller then extracts and regenerates the relevant object.
> }
> Unit test as well.
> Standalone fwk? jboss-compat.jar + plugins.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list