org.apache.openejb.core.transaction
Class JtaTransactionPolicyFactory
java.lang.Object
org.apache.openejb.core.transaction.JtaTransactionPolicyFactory
- All Implemented Interfaces:
- TransactionPolicyFactory
public class JtaTransactionPolicyFactory
- extends Object
- implements TransactionPolicyFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JtaTransactionPolicyFactory
public JtaTransactionPolicyFactory(TransactionManager transactionManager)
createTransactionPolicy
public TransactionPolicy createTransactionPolicy(TransactionType type)
throws SystemException,
ApplicationException
- Description copied from interface:
TransactionPolicyFactory
- Creates and begins a TransactionPolicy for the specified TransactionType.
If this method returns successfully, the specfied transaction type is
active and must be committed.
- Specified by:
createTransactionPolicy in interface TransactionPolicyFactory
- Parameters:
type - the desired type of transaction
- Returns:
- the active TransactionPolicy
- Throws:
SystemException - if an unrecoverable exception is encountered
ApplicationException - if recoverable exception is encountered
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.