com.hazelcast.jca
Class HazelcastTransactionImpl
java.lang.Object
   com.hazelcast.jca.JcaBase
com.hazelcast.jca.JcaBase
       com.hazelcast.jca.HazelcastTransactionImpl
com.hazelcast.jca.HazelcastTransactionImpl
- All Implemented Interfaces: 
- HazelcastTransaction, javax.resource.spi.LocalTransaction
- public class HazelcastTransactionImpl 
- extends JcaBase- implements HazelcastTransaction
Implementation class of HazelcastTransaction
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
HazelcastTransactionImpl
public HazelcastTransactionImpl(ManagedConnectionFactoryImpl factory,
                                ManagedConnectionImpl connection)
begin
public void begin()
           throws javax.resource.ResourceException
- 
- Specified by:
- beginin interface- javax.resource.spi.LocalTransaction
 
- 
- Throws:
- javax.resource.ResourceException
 
commit
public void commit()
            throws javax.resource.ResourceException
- 
- Specified by:
- commitin interface- javax.resource.spi.LocalTransaction
 
- 
- Throws:
- javax.resource.ResourceException
 
rollback
public void rollback()
              throws javax.resource.ResourceException
- 
- Specified by:
- rollbackin interface- javax.resource.spi.LocalTransaction
 
- 
- Throws:
- javax.resource.ResourceException
 
getTxContext
public TransactionContext getTxContext()
- 
 
- 
 
setTxContext
public void setTxContext(TransactionContext txContext)
- 
 
- 
 
createTransaction
public static TransactionContext createTransaction(int timeout,
                                                   HazelcastInstance hazelcastInstance)
                                            throws XAException
- 
 
- 
- Throws:
- XAException
 
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.