Code example for ObjectInputStream

Methods: defaultReadObject, readBoolean, readObject

0
   *                                object could not be found. 
   */ 
  private void readObject(final ObjectInputStream in)
      throws IOException, ClassNotFoundException 
  { 
    in.defaultReadObject();
    final boolean readParent = in.readBoolean();
    if (readParent)
    { 
      parentConfiguration = (Configuration) in.readObject();
    } 
    else 
    { 
      if (booterClass != null)
      { 
        final AbstractBoot boot = AbstractBoot.loadBooter(booterClass.getName(), booterClass);
        parentConfiguration = boot.getGlobalConfig();
      } 
      else 
      { 
        parentConfiguration = null;