org.apache.geronimo.transaction.context
Class TransactionContextManager

java.lang.Object
  extended byorg.apache.geronimo.transaction.context.TransactionContextManager

public class TransactionContextManager
extends Object

Version:
$Revision: 1.1 $ $Date: 2004/07/18 22:02:01 $

Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Constructor Summary
TransactionContextManager()
           
TransactionContextManager(TransactionManager transactionManager)
           
 
Method Summary
 TransactionContext getContext()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 int getStatus()
           
 BeanTransactionContext newBeanTransactionContext()
           
 ContainerTransactionContext newContainerTransactionContext()
           
 UnspecifiedTransactionContext newUnspecifiedTransactionContext()
           
 void setContext(TransactionContext transactionContext)
           
 void setRollbackOnly()
           
 void setTransactionTimeout(int seconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

TransactionContextManager

public TransactionContextManager()

TransactionContextManager

public TransactionContextManager(TransactionManager transactionManager)
Method Detail

getContext

public TransactionContext getContext()

setContext

public void setContext(TransactionContext transactionContext)

newContainerTransactionContext

public ContainerTransactionContext newContainerTransactionContext()
                                                           throws NotSupportedException,
                                                                  SystemException
Throws:
NotSupportedException
SystemException

newBeanTransactionContext

public BeanTransactionContext newBeanTransactionContext()
                                                 throws NotSupportedException,
                                                        SystemException
Throws:
NotSupportedException
SystemException

newUnspecifiedTransactionContext

public UnspecifiedTransactionContext newUnspecifiedTransactionContext()

getStatus

public int getStatus()
              throws SystemException
Throws:
SystemException

setRollbackOnly

public void setRollbackOnly()
                     throws SystemException
Throws:
SystemException

setTransactionTimeout

public void setTransactionTimeout(int seconds)
                           throws SystemException
Throws:
SystemException

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.