|
Spring LDAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.transaction.support.AbstractPlatformTransactionManager
org.springframework.jdbc.datasource.DataSourceTransactionManager
org.springframework.ldap.transaction.compensating.manager.ContextSourceAndDataSourceTransactionManager
public class ContextSourceAndDataSourceTransactionManager
A Transaction Manager to manage LDAP and JDBC operations within the same transaction. Note that even though the same logical transaction is used, this is not a JTA XA transaction; no two-phase commit will be performed, and thus commit and rollback may yield unexpected results. Note that nested transactions are not supported.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager |
|---|
AbstractPlatformTransactionManager.SuspendedResourcesHolder |
| Field Summary |
|---|
| Fields inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager |
|---|
logger, SYNCHRONIZATION_ALWAYS, SYNCHRONIZATION_NEVER, SYNCHRONIZATION_ON_ACTUAL_TRANSACTION |
| Constructor Summary | |
|---|---|
ContextSourceAndDataSourceTransactionManager()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Deprecated. |
protected void |
doBegin(Object transaction,
TransactionDefinition definition)
Deprecated. |
protected void |
doCleanupAfterCompletion(Object transaction)
Deprecated. |
protected void |
doCommit(DefaultTransactionStatus status)
Deprecated. |
protected Object |
doGetTransaction()
Deprecated. |
protected void |
doResume(Object transaction,
Object suspendedResources)
Deprecated. |
protected void |
doRollback(DefaultTransactionStatus status)
Deprecated. |
protected Object |
doSuspend(Object transaction)
Deprecated. |
ContextSource |
getContextSource()
Deprecated. |
protected boolean |
isExistingTransaction(Object transaction)
Deprecated. |
void |
setContextSource(ContextSource contextSource)
Deprecated. |
void |
setRenamingStrategy(TempEntryRenamingStrategy renamingStrategy)
Deprecated. |
| Methods inherited from class org.springframework.jdbc.datasource.DataSourceTransactionManager |
|---|
doSetRollbackOnly, getDataSource, getResourceFactory, setDataSource |
| 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 |
|---|
public ContextSourceAndDataSourceTransactionManager()
| Method Detail |
|---|
protected boolean isExistingTransaction(Object transaction)
isExistingTransaction in class DataSourceTransactionManagerprotected Object doGetTransaction()
doGetTransaction in class DataSourceTransactionManager
protected void doBegin(Object transaction,
TransactionDefinition definition)
doBegin in class DataSourceTransactionManagerprotected void doCleanupAfterCompletion(Object transaction)
doCleanupAfterCompletion in class DataSourceTransactionManagerprotected void doCommit(DefaultTransactionStatus status)
doCommit in class DataSourceTransactionManagerprotected void doRollback(DefaultTransactionStatus status)
doRollback in class DataSourceTransactionManagerpublic ContextSource getContextSource()
public void setContextSource(ContextSource contextSource)
public void setRenamingStrategy(TempEntryRenamingStrategy renamingStrategy)
protected Object doSuspend(Object transaction)
doSuspend in class DataSourceTransactionManager
protected void doResume(Object transaction,
Object suspendedResources)
doResume in class DataSourceTransactionManagerpublic void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class DataSourceTransactionManager
|
Spring LDAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||