|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.ObjectInputStream
net.sf.ehcache.util.PreferTCCLObjectInputStream
public class PreferTCCLObjectInputStream
ObjectInputStream that first uses the thread context classloader (TCCL) when resolving classes with fallback to the regular rerializtion loader semantics (which will use this class's loader to resolve classes)
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.io.ObjectInputStream |
---|
ObjectInputStream.GetField |
Field Summary |
---|
Constructor Summary | |
---|---|
PreferTCCLObjectInputStream(InputStream in)
Constructor |
Method Summary | |
---|---|
protected Class<?> |
resolveClass(ObjectStreamClass desc)
|
Methods inherited from class java.io.ObjectInputStream |
---|
available, close, defaultReadObject, enableResolveObject, read, read, readBoolean, readByte, readChar, readClassDescriptor, readDouble, readFields, readFloat, readFully, readFully, readInt, readLine, readLong, readObject, readObjectOverride, readShort, readStreamHeader, readUnshared, readUnsignedByte, readUnsignedShort, readUTF, registerValidation, resolveObject, resolveProxyClass, skipBytes |
Methods inherited from class java.io.InputStream |
---|
mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.io.ObjectInput |
---|
read, skip |
Constructor Detail |
---|
public PreferTCCLObjectInputStream(InputStream in) throws IOException
in
-
IOException
Method Detail |
---|
protected Class<?> resolveClass(ObjectStreamClass desc) throws IOException, ClassNotFoundException
resolveClass
in class ObjectInputStream
IOException
ClassNotFoundException
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |