|
spring-ldap-core | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.transaction.support.ResourceHolderSupport
org.springframework.transaction.compensating.support.CompensatingTransactionHolderSupport
org.springframework.ldap.transaction.compensating.manager.DirContextHolder
public class DirContextHolder
Keeps track of the transaction DirContext. The same DirContext instance will
be reused throughout a transaction. Also keeps a
CompensatingTransactionOperationManager, responsible for performing
operations and keeping track of all changes and storing information necessary
for commit or rollback.
| Constructor Summary | |
|---|---|
DirContextHolder(CompensatingTransactionOperationManager manager,
DirContext ctx)
Constructor. |
|
| Method Summary | |
|---|---|
DirContext |
getCtx()
Return the DirContext associated with the current transaction. |
protected Object |
getTransactedResource()
Get the actual transacted resource. |
void |
setCtx(DirContext ctx)
Set the DirContext associated with the current transaction. |
| Methods inherited from class org.springframework.transaction.compensating.support.CompensatingTransactionHolderSupport |
|---|
clear, getTransactionOperationManager, setTransactionOperationManager |
| Methods inherited from class org.springframework.transaction.support.ResourceHolderSupport |
|---|
getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unbound |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirContextHolder(CompensatingTransactionOperationManager manager,
DirContext ctx)
manager - The CompensatingTransactionOperationManager.ctx - The DirContext associated with the current transaction.| Method Detail |
|---|
public void setCtx(DirContext ctx)
ctx - The DirContext associated with the current transaction.public DirContext getCtx()
protected Object getTransactedResource()
CompensatingTransactionHolderSupport
getTransactedResource in class CompensatingTransactionHolderSupport
|
spring-ldap-core | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||