1 21 22 package org.apache.derby.iapi.store.access.xa; 23 24 import org.apache.derby.iapi.services.context.ContextManager; 25 26 import org.apache.derby.iapi.error.StandardException; 27 28 import javax.transaction.xa.Xid ; 29 30 50 51 public interface XAResourceManager 52 { 53 57 58 72 public void commit( 73 ContextManager cm, 74 Xid xid, 75 boolean onePhase) 76 throws StandardException; 77 78 96 public ContextManager find( 97 Xid xid); 98 99 118 public void forget( 119 ContextManager cm, 120 Xid xid) 121 throws StandardException; 122 123 145 public Xid [] recover(int flags) 146 throws StandardException; 147 148 160 public void rollback( 161 ContextManager cm, 162 Xid xid) 163 throws StandardException; 164 } 165 | Popular Tags |