GigaSpaces XAP 7.0 API

org.openspaces.core.transaction.manager
Class DistributedJiniTransactionManager

java.lang.Object
  extended by org.springframework.transaction.support.AbstractPlatformTransactionManager
      extended by org.openspaces.core.transaction.manager.AbstractJiniTransactionManager
          extended by org.openspaces.core.transaction.manager.DistributedJiniTransactionManager
All Implemented Interfaces:
Serializable, JiniPlatformTransactionManager, ServiceDetailsProvider, BeanNameAware, DisposableBean, InitializingBean, PlatformTransactionManager

public class DistributedJiniTransactionManager
extends AbstractJiniTransactionManager
implements DisposableBean

A transaction manager that starts an embedded distributed mahalo transaction manager. This transaction manager can be used to perform operations that span several Spaces or several partitions within a Space.

Author:
kimchy
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.openspaces.core.transaction.manager.AbstractJiniTransactionManager
AbstractJiniTransactionManager.JiniTransactionObject
 
Nested classes/interfaces inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager
AbstractPlatformTransactionManager.SuspendedResourcesHolder
 
Field Summary
 
Fields inherited from class org.openspaces.core.transaction.manager.AbstractJiniTransactionManager
beanName, SERVICE_TYPE
 
Fields inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager
logger, SYNCHRONIZATION_ALWAYS, SYNCHRONIZATION_NEVER, SYNCHRONIZATION_ON_ACTUAL_TRANSACTION
 
Constructor Summary
DistributedJiniTransactionManager()
           
 
Method Summary
 void destroy()
           
protected  net.jini.core.transaction.server.TransactionManager doCreateTransactionManager()
          Implemented by sub classes to provide a Jini TransactionManager.
 ServiceDetails[] getServicesDetails()
          Retruns one or more service details that the service exposes.
 
Methods inherited from class org.openspaces.core.transaction.manager.AbstractJiniTransactionManager
afterPropertiesSet, applyIsolationLevel, convertJiniException, doBegin, doCleanupAfterCompletion, doCommit, doGetTransaction, doJiniBegin, doResume, doRollback, doSetRollbackOnly, doSuspend, getBeanName, getTransactionalContext, getTransactionManager, isExistingTransaction, logMessage, setBeanName, setCommitTimeout, setLeaseRenewalConfig, setRollbackTimeout, setTransactionalContext, useSavepointForNestedTransaction
 
Methods inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager
commit, determineTimeout, getDefaultTimeout, getTransaction, getTransactionSynchronization, invokeAfterCompletion, isFailEarlyOnGlobalRollbackOnly, isGlobalRollbackOnParticipationFailure, isNestedTransactionAllowed, isRollbackOnCommitFailure, isValidateExistingTransaction, newTransactionStatus, prepareForCommit, registerAfterCompletionWithExistingTransaction, resume, rollback, setDefaultTimeout, setFailEarlyOnGlobalRollbackOnly, setGlobalRollbackOnParticipationFailure, setNestedTransactionAllowed, setRollbackOnCommitFailure, setTransactionSynchronization, setTransactionSynchronizationName, setValidateExistingTransaction, shouldCommitOnGlobalRollbackOnly, suspend, triggerBeforeCommit, triggerBeforeCompletion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.transaction.PlatformTransactionManager
commit, getTransaction, rollback
 

Constructor Detail

DistributedJiniTransactionManager

public DistributedJiniTransactionManager()
Method Detail

doCreateTransactionManager

protected net.jini.core.transaction.server.TransactionManager doCreateTransactionManager()
                                                                                  throws Exception
Description copied from class: AbstractJiniTransactionManager
Implemented by sub classes to provide a Jini TransactionManager.

Specified by:
doCreateTransactionManager in class AbstractJiniTransactionManager
Throws:
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface DisposableBean
Overrides:
destroy in class AbstractJiniTransactionManager
Throws:
Exception

getServicesDetails

public ServiceDetails[] getServicesDetails()
Description copied from interface: ServiceDetailsProvider
Retruns one or more service details that the service exposes.

Specified by:
getServicesDetails in interface ServiceDetailsProvider

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.