code: public final void readChildren(ObjectInputStream in) throws IOException, ClassNotFoundException {
          int childCount = in.readInt();
          for (int i = 0; i < childCount; i++) {
              internalAdd(in.readObject(), false);
          }
      }
docs: This public api is necessary to allow a bean context with a peer to deserialize its children.
  This api is not part any standard api.
  
  @param in ObjectInputStream
  @throws IOException
  @throws ClassNotFoundException