示例#1
0
  private void readObject(ObjectInputStream in) throws ClassNotFoundException, IOException {
    _env = Env.getInstance();

    _classDef = _env.getJavaClassDefinition((String) in.readObject());

    int id = _env.getQuercus().getClassId(_classDef.getName());

    setQuercusClass(_env.createQuercusClass(id, _classDef, null));

    _object = in.readObject();
  }
示例#2
0
  /**
   * Notify that the connection should not be reused, e.g. with stateful mysql commands like the
   * temp tables
   */
  public void markForPoolRemoval() {
    _isReuse = false;

    if (_conn != null) _env.getQuercus().markForPoolRemoval(_conn);
  }