public class DirectJiniTransactionManager extends AbstractJiniTransactionManager
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
.AbstractJiniTransactionManager.JiniTransactionObject, AbstractJiniTransactionManager.UnexpectedTransactionException
AbstractPlatformTransactionManager.SuspendedResourcesHolder
beanName, SERVICE_TYPE
logger, SYNCHRONIZATION_ALWAYS, SYNCHRONIZATION_NEVER, SYNCHRONIZATION_ON_ACTUAL_TRANSACTION
Constructor and Description |
---|
DirectJiniTransactionManager() |
Modifier and Type | Method and Description |
---|---|
protected TransactionManager |
doCreateTransactionManager()
Returns the
TransactionManager provided using the
setTransactionManager(TransactionManager) . |
ServiceDetails[] |
getServicesDetails()
Retruns one or more service details that the service exposes.
|
void |
setTransactionManager(TransactionManager transactionManager)
Sets the Jini
TransactionManager to be used. |
afterPropertiesSet, applyIsolationLevel, convertJiniException, destroy, doBegin, doCleanupAfterCompletion, doCommit, doGetTransaction, doJiniBegin, doResume, doRollback, doSetRollbackOnly, doSuspend, getBeanName, getTransactionalContext, getTransactionManager, isExistingTransaction, logMessage, setBeanName, setCommitTimeout, setLeaseRenewalConfig, setRollbackTimeout, setTransactionalContext, suppportsCustomIsolationLevel, useSavepointForNestedTransaction
commit, determineTimeout, getDefaultTimeout, getTransaction, getTransactionSynchronization, invokeAfterCompletion, isFailEarlyOnGlobalRollbackOnly, isGlobalRollbackOnParticipationFailure, isNestedTransactionAllowed, isRollbackOnCommitFailure, isValidateExistingTransaction, newTransactionStatus, prepareForCommit, prepareSynchronization, prepareTransactionStatus, registerAfterCompletionWithExistingTransaction, resume, rollback, setDefaultTimeout, setFailEarlyOnGlobalRollbackOnly, setGlobalRollbackOnParticipationFailure, setNestedTransactionAllowed, setRollbackOnCommitFailure, setTransactionSynchronization, setTransactionSynchronizationName, setValidateExistingTransaction, shouldCommitOnGlobalRollbackOnly, suspend, triggerBeforeCommit, triggerBeforeCompletion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
commit, getTransaction, rollback
public void setTransactionManager(TransactionManager transactionManager)
TransactionManager
to be used. This is a required property.protected TransactionManager doCreateTransactionManager() throws Exception
TransactionManager
provided using the
setTransactionManager(TransactionManager)
.doCreateTransactionManager
in class AbstractJiniTransactionManager
Exception
public ServiceDetails[] getServicesDetails()
ServiceDetailsProvider
Copyright © GigaSpaces.