## Uses of Class
java.io.ObjectInputStream

- Packages that use ObjectInputStream
  Package | Description
  --- | ---
  java.beans.beancontext | Provides classes and interfaces relating to bean context.
  javax.management | Provides the core classes for the Java Management Extensions.
  javax.rmi.CORBA | Contains portability APIs for RMI-IIOP.
  javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components.

- - ### Uses of ObjectInputStream in java.beans.beancontext

    Methods in java.beans.beancontext with parameters of type ObjectInputStream
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | BeanContextSupport.`bcsPreDeserializationHook(ObjectInputStream ois)` called by readObject after defaultReadObject() but prior to deserialization of any children.
    `protected void` | BeanContextServicesSupport.`bcsPreDeserializationHook(ObjectInputStream ois)` called from BeanContextSupport readObject before it deserializes the children ...
    `protected void` | BeanContextSupport.`deserialize(ObjectInputStream ois, Collection coll)` used by readObject to deserialize a collection.
    `void` | BeanContextSupport.`readChildren(ObjectInputStream ois)` When an instance of this class is used as a delegate for the implementation of the BeanContext protocols (and its subprotocols) there exists a 'chicken and egg' problem during deserialization

  - ### Uses of ObjectInputStream in javax.management

    Methods in javax.management that return ObjectInputStream
    Modifier and Type | Method and Description
    --- | ---
    `ObjectInputStream` | MBeanServer.`deserialize(ObjectName name, byte[] data)` Deprecated. Use `getClassLoaderFor` to obtain the appropriate class loader for deserialization.
    `ObjectInputStream` | MBeanServer.`deserialize(String className, byte[] data)` Deprecated. Use `MBeanServer.getClassLoaderRepository()` to obtain the class loader repository and use it to deserialize.
    `ObjectInputStream` | MBeanServer.`deserialize(String className, ObjectName loaderName, byte[] data)` Deprecated. Use `getClassLoader` to obtain the class loader for deserialization.

  - ### Uses of ObjectInputStream in javax.rmi.CORBA

    Methods in javax.rmi.CORBA with parameters of type ObjectInputStream
    Modifier and Type | Method and Description
    --- | ---
    `void` | StubDelegate.`readObject(Stub self, ObjectInputStream s)` Delegation call for `Stub.readObject(java.io.ObjectInputStream)`.

  - ### Uses of ObjectInputStream in javax.swing.text

    Methods in javax.swing.text with parameters of type ObjectInputStream
    Modifier and Type | Method and Description
    --- | ---
    `void` | StyleContext.`readAttributes(ObjectInputStream in, MutableAttributeSet a)` Context-specific handling of reading in attributes
    `static void` | StyleContext.`readAttributeSet(ObjectInputStream in, MutableAttributeSet a)` Reads a set of attributes from the given object input stream that have been previously written out with `writeAttributeSet`.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.