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

Nested Class Summary
static class TransactionFactory.TxFactoryEnum
           
 
Constructor Summary
TransactionFactory()
           
 
Method Summary
 void init(boolean dldEnabled, boolean recoveryEnabled, boolean xa)
           
 void init(Configuration configuration, EmbeddedCacheManager cm, RpcManager rpcManager)
           
 GlobalTransaction newGlobalTransaction()
           
 GlobalTransaction newGlobalTransaction(Address addr, boolean remote)
           
 LocalTransaction newLocalTransaction(Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int viewId)
           
 RemoteTransaction newRemoteTransaction(GlobalTransaction tx, int viewId)
           
 RemoteTransaction newRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int viewId)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionFactory

public TransactionFactory()
Method Detail

newGlobalTransaction

public GlobalTransaction newGlobalTransaction()

newGlobalTransaction

public GlobalTransaction newGlobalTransaction(Address addr,
                                              boolean remote)

newLocalTransaction

public LocalTransaction newLocalTransaction(Transaction tx,
                                            GlobalTransaction gtx,
                                            boolean implicitTransaction,
                                            int viewId)

newRemoteTransaction

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

newRemoteTransaction

public RemoteTransaction newRemoteTransaction(GlobalTransaction tx,
                                              int viewId)

init

public void init(Configuration configuration,
                 EmbeddedCacheManager cm,
                 RpcManager rpcManager)

start

public void start()

init

public void init(boolean dldEnabled,
                 boolean recoveryEnabled,
                 boolean xa)

-->

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