]
Clebert Suconic commented on JBSER-90:
--------------------------------------
JBossSerialization already has setClassLoader exposed what would be the switch context
needed.
Maybe I didn't understand what functionality you need besides the property exposed.
The functionality you needed on your factory was because it would be easier to implement
it that way. You could also just change the property classLoader before executing the
call.
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...
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: