public class ClassResolverObjectInputStream
extends java.io.ObjectInputStream
Modifier and Type | Field and Description |
---|---|
static java.util.HashMap<java.lang.String,java.lang.Class<?>> |
primClasses |
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
Modifier | Constructor and Description |
---|---|
protected |
ClassResolverObjectInputStream(org.osgi.framework.BundleContext ctxt) |
|
ClassResolverObjectInputStream(org.osgi.framework.BundleContext ctxt,
java.io.InputStream ins) |
|
ClassResolverObjectInputStream(org.osgi.framework.BundleContext ctxt,
java.io.InputStream ins,
java.lang.String classResolverFilter) |
protected |
ClassResolverObjectInputStream(org.osgi.framework.BundleContext ctxt,
java.lang.String classResolverFilter) |
Modifier and Type | Method and Description |
---|---|
static java.io.ObjectInputStream |
create(org.osgi.framework.BundleContext ctxt,
java.io.InputStream ins) |
static java.io.ObjectInputStream |
create(org.osgi.framework.BundleContext ctxt,
java.io.InputStream ins,
java.lang.String filter) |
protected org.osgi.framework.BundleContext |
getContext() |
protected java.lang.Class<?> |
resolveClass(java.io.ObjectStreamClass desc) |
static java.lang.Class<?> |
resolvePrimitiveClass(java.io.ObjectStreamClass desc,
java.lang.ClassNotFoundException cnfe) |
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
public static final java.util.HashMap<java.lang.String,java.lang.Class<?>> primClasses
protected ClassResolverObjectInputStream(org.osgi.framework.BundleContext ctxt, java.lang.String classResolverFilter) throws java.io.IOException, java.lang.SecurityException, org.osgi.framework.InvalidSyntaxException
java.io.IOException
java.lang.SecurityException
org.osgi.framework.InvalidSyntaxException
protected ClassResolverObjectInputStream(org.osgi.framework.BundleContext ctxt) throws java.io.IOException, java.lang.SecurityException, org.osgi.framework.InvalidSyntaxException
java.io.IOException
java.lang.SecurityException
org.osgi.framework.InvalidSyntaxException
public ClassResolverObjectInputStream(org.osgi.framework.BundleContext ctxt, java.io.InputStream ins, java.lang.String classResolverFilter) throws java.io.IOException, java.lang.SecurityException, org.osgi.framework.InvalidSyntaxException
java.io.IOException
java.lang.SecurityException
org.osgi.framework.InvalidSyntaxException
public ClassResolverObjectInputStream(org.osgi.framework.BundleContext ctxt, java.io.InputStream ins) throws java.io.IOException, java.lang.SecurityException, org.osgi.framework.InvalidSyntaxException
java.io.IOException
java.lang.SecurityException
org.osgi.framework.InvalidSyntaxException
public static java.io.ObjectInputStream create(org.osgi.framework.BundleContext ctxt, java.io.InputStream ins, java.lang.String filter) throws java.io.IOException, java.lang.SecurityException
java.io.IOException
java.lang.SecurityException
public static java.io.ObjectInputStream create(org.osgi.framework.BundleContext ctxt, java.io.InputStream ins) throws java.io.IOException
java.io.IOException
protected org.osgi.framework.BundleContext getContext()
protected java.lang.Class<?> resolveClass(java.io.ObjectStreamClass desc) throws java.io.IOException, java.lang.ClassNotFoundException
resolveClass
in class java.io.ObjectInputStream
java.io.IOException
java.lang.ClassNotFoundException
public static java.lang.Class<?> resolvePrimitiveClass(java.io.ObjectStreamClass desc, java.lang.ClassNotFoundException cnfe) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException