| |
|
| java.lang.Object java.io.OutputStream java.io.ObjectOutputStream org.jboss.invocation.pooled.interfaces.OptimizedObjectOutputStream
OptimizedObjectOutputStream | public class OptimizedObjectOutputStream extends ObjectOutputStream (Code) | | An ObjectOutputStream subclass used by the MarshalledValue class to
ensure the classes and proxies are loaded using the thread context
class loader. Currently this does not do anything as neither class or
proxy annotations are used.
author: Scott.Stark@jboss.org author: Clebert.Suconic@jboss.org version: $Revision: 57209 $ |
Constructor Summary | |
public | OptimizedObjectOutputStream(OutputStream os) Creates a new instance of MarshalledValueOutputStream
If there is a security manager installed, this method requires a
SerializablePermission("enableSubstitution") permission to ensure it's
ok to enable the stream to do replacement of objects in the stream. |
OptimizedObjectOutputStream | public OptimizedObjectOutputStream(OutputStream os) throws IOException(Code) | | Creates a new instance of MarshalledValueOutputStream
If there is a security manager installed, this method requires a
SerializablePermission("enableSubstitution") permission to ensure it's
ok to enable the stream to do replacement of objects in the stream.
|
replaceObject | protected Object replaceObject(Object obj) throws IOException(Code) | | Override replaceObject to check for Remote objects that are
not RemoteStubs.
|
writeClassDescriptor | protected void writeClassDescriptor(ObjectStreamClass classdesc) throws IOException(Code) | | Writes just the class name to this output stream.
Parameters: classdesc - class description object |
|
|
|