1 43 package org.objectweb.jotm; 44 45 import javax.transaction.xa.XAResource ; 46 import javax.transaction.xa.XAException ; 47 import java.util.Vector ; 48 import org.objectweb.howl.log.LogException; 49 import java.util.Properties ; 50 51 public interface TransactionRecovery { 52 53 public JotmRecovery getJotmRecovery(); 54 55 public Vector getRmRegistration(); 56 57 62 63 public void startResourceManagerRecovery () throws XAException ; 64 65 74 75 public void registerResourceManager (String rmName, XAResource rmXares, String info, 76 TransactionResourceManager trm) throws XAException ; 77 78 89 90 public void registerResourceManager (String rmName, XAResource rmXares, String info, 91 Properties rmProperties, 92 TransactionResourceManager trm) throws XAException ; 93 94 95 102 103 XAResource reportResourceManager (String rmName) throws XAException ; 104 105 112 113 public void unregisterResourceManager (String rmName, XAResource rmXares) throws XAException ; 114 115 public void forget() throws LogException, Exception ; 116 } 117 | Popular Tags |