BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.common
Interface WLSerializable


Deprecated. Use java.io.Externalizable instead.

public interface WLSerializable
extends java.io.Serializable

This interface provides user access to WebLogic's serialization. User-written classes that need to be marshalled between the WebLogic Server and T3Clients should implement either this interface or java.io.Serializable.

Implementing this interface requires that the programmer hand-write a readObject() and writeObject() method, which can lead to higher performance than regular java.io serialization.

The WLObjectInput and WLObjectOutput interfaces used as arguments for methods in this interface define the set of methods available for reading and writing data from and to the streams which will be used between the WebLogic Server and T3Client.

Author:
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.
See Also:
WLObjectInput, WLObjectOutput

Method Summary
 void readObject(weblogic.common.WLObjectInput in)
          Deprecated. Reads the object from a stream.
 void writeObject(weblogic.common.WLObjectOutput out)
          Deprecated. Writes the object to a stream.
 

Method Detail

writeObject

public void writeObject(weblogic.common.WLObjectOutput out)
                 throws java.io.IOException
Deprecated. 
Writes the object to a stream.

Parameters:
out - WLObjectOutput object
Throws:
java.io.IOException - if there is an error during serialization

readObject

public void readObject(weblogic.common.WLObjectInput in)
                throws java.io.IOException,
                       java.lang.ClassNotFoundException
Deprecated. 
Reads the object from a stream.

Parameters:
in - WLObjectInput object
Throws:
java.io.IOException - if there is an error during serialization
java.lang.ClassNotFoundException - if the object is not available for read

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b