THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
For Ignite marshaling to support OSGI containers, we need to make sure that on the deserializing side we use proper bundle-aware class loaders.
The ClassLoaderResolver
should be called for every Object during serialization and deserialization and should be part of the IgniteConfiguraiton
:
Code Block |
---|
public interface ClassLoaderResolver { public Object encodeClassLoader(ClassLoader clsLdr) throws IgniteException; public ClassLoader decodeClassLoader(Object obj) throws IgniteException; } |
...