GigaSpaces XAP 7.0 API

org.openspaces.core.transaction.manager
Class DirectJiniTransactionManager

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.DirectJiniTransactionManager
All Implemented Interfaces:
Serializable, JiniPlatformTransactionManager, ServiceDetailsProvider, BeanNameAware, DisposableBean, InitializingBean, PlatformTransactionManager

public class DirectJiniTransactionManager
extends AbstractJiniTransactionManager

Springs transaction manager (PlatformTransactionManager using directly injected Jini TransactionManager. This transaction manager is mostly used with applications that obtain the Jini transaction manager by other means than the ones provided by LocalJiniTransactionManager and LookupJiniTransactionManager.

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
DirectJiniTransactionManager()
           
 
Method Summary
protected  net.jini.core.transaction.server.TransactionManager doCreateTransactionManager()
          Returns the TransactionManager provided using the setTransactionManager(TransactionManager).
 ServiceDetails[] getServicesDetails()
          Retruns one or more service details that the service exposes.
 void setTransactionManager(net.jini.core.transaction.server.TransactionManager transactionManager)
          Sets the Jini TransactionManager to be used.
 
Methods inherited from class org.openspaces.core.transaction.manager.AbstractJiniTransactionManager
afterPropertiesSet, applyIsolationLevel, convertJiniException, destroy, 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

DirectJiniTransactionManager

public DirectJiniTransactionManager()
Method Detail

setTransactionManager

public void setTransactionManager(net.jini.core.transaction.server.TransactionManager transactionManager)
Sets the Jini TransactionManager to be used. This is a required property.


doCreateTransactionManager

protected net.jini.core.transaction.server.TransactionManager doCreateTransactionManager()
                                                                                  throws Exception
Returns the TransactionManager provided using the setTransactionManager(TransactionManager).

Specified by:
doCreateTransactionManager in class AbstractJiniTransactionManager
Throws:
Exception

getServicesDetails

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


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.