GigaSpaces XAP 7.0 API

org.openspaces.core.transaction.manager
Class LookupJiniTxManagerConfigurer

java.lang.Object
  extended by org.openspaces.core.transaction.manager.LookupJiniTxManagerConfigurer

public class LookupJiniTxManagerConfigurer
extends Object

A simple configurer for LookupJiniTransactionManager.

Author:
kimchy

Constructor Summary
LookupJiniTxManagerConfigurer()
           
 
Method Summary
 LookupJiniTxManagerConfigurer commitTimeout(long commitTimeout)
           
 LookupJiniTxManagerConfigurer defaultTimeout(int defaultTimeout)
           
 void destroy()
           
 LookupJiniTxManagerConfigurer leaseRenewalConfig(TransactionLeaseRenewalConfig leaseRenewalConfig)
           
 LookupJiniTxManagerConfigurer lookupTimeout(long lookupTimeout)
           
 LookupJiniTxManagerConfigurer rollbackTimeout(Long rollbackTimeout)
           
 PlatformTransactionManager transactionManager()
           
 LookupJiniTxManagerConfigurer transactionManagerName(String transactionManagerName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupJiniTxManagerConfigurer

public LookupJiniTxManagerConfigurer()
Method Detail

transactionManagerName

public LookupJiniTxManagerConfigurer transactionManagerName(String transactionManagerName)
See Also:
LookupJiniTransactionManager.setTransactionManagerName(String)

lookupTimeout

public LookupJiniTxManagerConfigurer lookupTimeout(long lookupTimeout)
See Also:
LookupJiniTransactionManager.setTransactionManagerName(String)

defaultTimeout

public LookupJiniTxManagerConfigurer defaultTimeout(int defaultTimeout)
See Also:
AbstractPlatformTransactionManager.setDefaultTimeout(int)

commitTimeout

public LookupJiniTxManagerConfigurer commitTimeout(long commitTimeout)
See Also:
AbstractJiniTransactionManager.setCommitTimeout(Long)

rollbackTimeout

public LookupJiniTxManagerConfigurer rollbackTimeout(Long rollbackTimeout)
See Also:
AbstractJiniTransactionManager.setRollbackTimeout(Long)

leaseRenewalConfig

public LookupJiniTxManagerConfigurer leaseRenewalConfig(TransactionLeaseRenewalConfig leaseRenewalConfig)
See Also:
AbstractJiniTransactionManager.setRollbackTimeout(Long)

transactionManager

public PlatformTransactionManager transactionManager()
                                              throws Exception
Throws:
Exception

destroy

public void destroy()
             throws Exception
Throws:
Exception

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.