Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.tm.usertx » client » [javadoc | source]
org.jboss.tm.usertx.client
public class: ServerVMClientUserTransaction [javadoc | source]
java.lang.Object
   org.jboss.tm.usertx.client.ServerVMClientUserTransaction

All Implemented Interfaces:
    javax.transaction.UserTransaction

The client-side UserTransaction implementation for clients operating in the same VM as the server. This will delegate all UserTransaction calls to the TransactionManager of the server.
Nested Class Summary:
public interface  ServerVMClientUserTransaction.UserTransactionStartedListener   
Constructor:
 public ServerVMClientUserTransaction(TransactionManager tm) 
Method from org.jboss.tm.usertx.client.ServerVMClientUserTransaction Summary:
begin,   commit,   getSingleton,   getStatus,   registerTxStartedListener,   rollback,   setRollbackOnly,   setTransactionTimeout,   unregisterTxStartedListener
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.tm.usertx.client.ServerVMClientUserTransaction Detail:
 public  void begin() throws SystemException, NotSupportedException 
 public  void commit() throws SystemException, SecurityException, RollbackException, IllegalStateException, HeuristicRollbackException, HeuristicMixedException 
 public static ServerVMClientUserTransaction getSingleton() 
    Return a reference to the singleton instance.
 public int getStatus() throws SystemException 
 public  void registerTxStartedListener(ServerVMClientUserTransaction.UserTransactionStartedListener txStartedListener) 
 public  void rollback() throws SystemException, SecurityException, IllegalStateException 
 public  void setRollbackOnly() throws SystemException, IllegalStateException 
 public  void setTransactionTimeout(int seconds) throws SystemException 
 public  void unregisterTxStartedListener(ServerVMClientUserTransaction.UserTransactionStartedListener txStartedListener)