[jboss-jira] [JBoss JIRA] Closed: (JBSER-90) Add the ability to switch context class loaders on a per-invocation basis when using JBossObjectInputStreamSharedTree.read()
Clebert Suconic (JIRA)
jira-events at jboss.com
Tue Oct 31 14:26:41 EST 2006
[ http://jira.jboss.com/jira/browse/JBSER-90?page=all ]
Clebert Suconic closed JBSER-90.
--------------------------------
Resolution: Rejected
JBossSerialization already has a setClassLoader method.
The real issue here was JBossCache needed low coupling with JBoss Serialization. I have provided a patch to do so inside JBossCache.
> Add the ability to switch context class loaders on a per-invocation basis when using JBossObjectInputStreamSharedTree.read()
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: JBSER-90
> URL: http://jira.jboss.com/jira/browse/JBSER-90
> Project: JBoss Serialization
> Issue Type: Feature Request
> Affects Versions: 1.0.1 GA, 1.0.2 GA
> Reporter: Manik Surtani
> Assigned To: Clebert Suconic
>
> At the moment, in JBoss Cache, I need to be able to perform a read(), switch class loaders, and read() again. To make this work (using JBoss-Serialization-1.0.3.GA at the moment) I subclass JBossObjectInputStreamSharedTree as such:
> http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jboss/JBossCache/src/org/jboss/cache/marshall/ObjectSerializationFactory.java?view=markup&pathrev=JBossCache_1_4_0_SP1
> It would be nice if I did not have to do this, and could use a version of JBossObjectInputStreamSharedTree that was in the jboss-serialization distro that provided this functionality.
--
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