[jboss-jira] [JBoss JIRA] Created: (JBSER-90) Add the ability to switch context class loaders on a per-invocation basis when using JBossObjectInputStreamSharedTree.read()

Manik Surtani (JIRA) jira-events at jboss.com
Tue Oct 31 11:34:41 EST 2006


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.2 GA, 1.0.1 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