[
http://jira.jboss.com/jira/browse/JBCACHE-474?page=all ]
Manik Surtani resolved JBCACHE-474.
-----------------------------------
Fix Version/s: (was: 2.2.0.GA)
Resolution: Out of Date
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
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