public class HazelcastTransactionImpl extends JcaBase implements HazelcastTransaction
HazelcastTransaction
Constructor and Description |
---|
HazelcastTransactionImpl(ManagedConnectionFactoryImpl factory,
ManagedConnectionImpl connection) |
Modifier and Type | Method and Description |
---|---|
void |
begin() |
void |
commit() |
static TransactionContext |
createTransaction(int timeout,
HazelcastInstance hazelcastInstance) |
TransactionContext |
getTxContext() |
void |
rollback() |
void |
setTxContext(TransactionContext txContext) |
getLogWriter, setLogWriter
public HazelcastTransactionImpl(ManagedConnectionFactoryImpl factory, ManagedConnectionImpl connection)
public void begin() throws javax.resource.ResourceException
begin
in interface javax.resource.spi.LocalTransaction
javax.resource.ResourceException
public void commit() throws javax.resource.ResourceException
commit
in interface javax.resource.spi.LocalTransaction
javax.resource.ResourceException
public void rollback() throws javax.resource.ResourceException
rollback
in interface javax.resource.spi.LocalTransaction
javax.resource.ResourceException
public TransactionContext getTxContext()
public void setTxContext(TransactionContext txContext)
public static TransactionContext createTransaction(int timeout, HazelcastInstance hazelcastInstance) throws XAException
XAException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.