postCommitTasks = new ArrayList(); postRollbackTasks = new ArrayList();
callbacks = new ArrayList();
   Transaction(Xid xid, PersistenceManager mgr)   {      state = STATE_ACTIVE;      this.xid = xid;      pm = mgr;      postCommitTasks = new ArrayList();      postRollbackTasks = new ArrayList();   }