org.openspaces.core.transaction.manager
Class DirectJiniTransactionManager
java.lang.Object
org.springframework.transaction.support.AbstractPlatformTransactionManager
org.openspaces.core.transaction.manager.AbstractJiniTransactionManager
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
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 |
DirectJiniTransactionManager
public DirectJiniTransactionManager()
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.
Copyright © GigaSpaces.