1 22 package org.jboss.tm.remoting.interfaces; 23 24 import java.rmi.Remote ; 25 import java.rmi.RemoteException ; 26 27 import org.jboss.tm.GlobalId; 28 29 35 public interface Coordinator extends Remote 36 { 37 38 Status getStatus() 39 throws RemoteException ; 40 41 boolean isSameTransaction(Coordinator c) 42 throws RemoteException ; 43 44 int hashTransaction() 45 throws RemoteException ; 46 47 RecoveryCoordinator registerResource(Resource r) 48 throws RemoteException , 49 TransactionInactiveException; 50 51 void registerSynchronization(Synchronization sync) 52 throws RemoteException , 53 TransactionInactiveException, 54 SynchronizationUnavailableException; 55 56 void rollbackOnly() 57 throws RemoteException , 58 TransactionInactiveException; 59 60 TxPropagationContext getTransactionContext() 61 throws RemoteException , 62 TransactionInactiveException; 63 64 GlobalId getTransactionId() 65 throws RemoteException ; 66 67 } 68 | Popular Tags |