GigaSpaces XAP 9.7.2 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 lookupGroups(String... lookupGroups)
           
 LookupJiniTxManagerConfigurer lookupLocators(String... lookupLocators)
           
 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)

lookupGroups

public LookupJiniTxManagerConfigurer lookupGroups(String... lookupGroups)
See Also:
LookupJiniTransactionManager.setGroups(String[])

lookupLocators

public LookupJiniTxManagerConfigurer lookupLocators(String... lookupLocators)
See Also:
LookupJiniTransactionManager.setLocators(String[])

transactionManager

public PlatformTransactionManager transactionManager()
                                              throws Exception
Throws:
Exception

destroy

public void destroy()
             throws Exception
Throws:
Exception

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.