Class transfer

Hi,

I need to transfer classes between nodes when a deserialization has failed. My problem is that I need the binary class file for this transfer to succeed. I currently use a custom class loader and retain the class data for transferrable classes, but I need to extend this to classes loaded by the system class loader as well. And I would really like to avoid searching through the classpath.

Any ideas?

Thanks in advance,

Nille

[461 byte] By [nille40a] at [2007-11-27 11:11:53]
# 1

The system classloader is a URLClassLoader (although you'll have to cast it to that ) so you can get URLs to to all of the classpath from that. That's probably quite useful to you here

georgemca at 2007-7-29 13:51:03 > top of Java-index,Core,Core APIs...
# 2

> I need to transfer classes between nodes when a deserialization has failed.

It would be better strategy to address the reasons for the failure, i.e. to ensure the correct classes are available prior to the serialization.

ejpa at 2007-7-29 13:51:03 > top of Java-index,Core,Core APIs...