Class ObjectInputStreamWithOsgiClassResolution

java.lang.Object
java.io.InputStream
java.io.ObjectInputStream
org.csstudio.ui.util.dnd.ObjectInputStreamWithOsgiClassResolution
All Implemented Interfaces:
Closeable, DataInput, ObjectInput, ObjectStreamConstants, AutoCloseable

public class ObjectInputStreamWithOsgiClassResolution extends ObjectInputStream
De-serializes java classes looking for the classloaders in the appropriate osgi bundle. Using the normal ObjectInputStream would resolve classes only according to this plugin classloader. This resolves the classes by looking for the class in any plugin whose name is a package parent of the given class.