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
beanName, SERVICE_TYPE
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
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.