Business Components

oracle.jbo.server.ejb
Class EJBTxnHandlerFactoryImpl

java.lang.Object
  |
  +--oracle.jbo.server.ejb.EJBTxnHandlerFactoryImpl
All Implemented Interfaces:
TransactionHandlerFactory

public class EJBTxnHandlerFactoryImpl
extends java.lang.Object
implements TransactionHandlerFactory


Constructor Summary
EJBTxnHandlerFactoryImpl(javax.ejb.SessionContext ctx)
           
EJBTxnHandlerFactoryImpl(javax.ejb.SessionContext ctx, boolean beanManaged)
           
 
Method Summary
TypeMethod
 JTATransactionHandler createJTATransactionHandler()
           
 TransactionHandler createTransactionHandler()
          Uses the current database connection to create a transaction handler.
 void setTransactionTimeOut(int timeout)
           
 void setTransactionTimeOut(int timeout, boolean timeOutAfterBegin)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBTxnHandlerFactoryImpl

public EJBTxnHandlerFactoryImpl(javax.ejb.SessionContext ctx)

EJBTxnHandlerFactoryImpl

public EJBTxnHandlerFactoryImpl(javax.ejb.SessionContext ctx,
                                boolean beanManaged)
Method Detail

createTransactionHandler

public TransactionHandler createTransactionHandler()
Description copied from interface: TransactionHandlerFactory
Uses the current database connection to create a transaction handler.
Specified by:
createTransactionHandler in interface TransactionHandlerFactory
Following copied from interface: oracle.jbo.server.TransactionHandlerFactory
Parameters:
con - the database connection object.

setTransactionTimeOut

public void setTransactionTimeOut(int timeout)

setTransactionTimeOut

public void setTransactionTimeOut(int timeout,
                                  boolean timeOutAfterBegin)

createJTATransactionHandler

public JTATransactionHandler createJTATransactionHandler()
Specified by:
createJTATransactionHandler in interface TransactionHandlerFactory

Business Components