org.objectweb.jotm
Interface TransactionFactory

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
TransactionFactoryImpl

public interface TransactionFactory
extends java.rmi.Remote


Method Summary
 Control create(int timeout)
           
 Control create(int timeout, Xid xid)
           
 java.lang.String getHostName()
           
 int getPortNumber()
           
 Control recreate(TransactionContext ctx)
           
 

Method Detail

create

public Control create(int timeout)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

create

public Control create(int timeout,
                      Xid xid)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

recreate

public Control recreate(TransactionContext ctx)
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getPortNumber

public int getPortNumber()
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getHostName

public java.lang.String getHostName()
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException