org.infinispan.transaction.xa
Class TransactionFactory

java.lang.Object
  extended by org.infinispan.transaction.xa.TransactionFactory

public class TransactionFactory
extends Object

Factory for transaction related sate.

Author:
Mircea.Markus@jboss.com

Constructor Summary
TransactionFactory()
           
TransactionFactory(boolean dldEnabled)
           
TransactionFactory(boolean dldEnabled, boolean recoveryEnabled)
           
 
Method Summary
 void init(Configuration configuration)
           
 GlobalTransaction newGlobalTransaction()
           
 GlobalTransaction newGlobalTransaction(Address addr, boolean remote)
           
 LocalTransaction newLocalTransaction(Transaction tx, GlobalTransaction gtx)
           
 RemoteTransaction newRemoteTransaction(GlobalTransaction tx)
           
 RemoteTransaction newRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionFactory

public TransactionFactory()

TransactionFactory

public TransactionFactory(boolean dldEnabled)

TransactionFactory

public TransactionFactory(boolean dldEnabled,
                          boolean recoveryEnabled)
Method Detail

newGlobalTransaction

public GlobalTransaction newGlobalTransaction()

newGlobalTransaction

public GlobalTransaction newGlobalTransaction(Address addr,
                                              boolean remote)

newLocalTransaction

public LocalTransaction newLocalTransaction(Transaction tx,
                                            GlobalTransaction gtx)

newRemoteTransaction

public RemoteTransaction newRemoteTransaction(WriteCommand[] modifications,
                                              GlobalTransaction tx)

newRemoteTransaction

public RemoteTransaction newRemoteTransaction(GlobalTransaction tx)

init

public void init(Configuration configuration)

-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.