Class ComponentObjectInputStream

java.lang.Object
java.io.InputStream
java.io.ObjectInputStream
de.aristaflow.adept2.model.runtimeenvironment.ComponentObjectInputStream
All Implemented Interfaces:
Closeable, DataInput, ObjectInput, ObjectStreamConstants, AutoCloseable

public class ComponentObjectInputStream extends ObjectInputStream
This ObjectInputStream uses the context classloader of the current thread instead of the last used classloader like the ObjectInputStream. Executable components should always use this stream instead of ObjectInputStream or there may be trouble with the classloader, resp. the classpath of the classes required for the stream.