|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ldap.transaction.compensating.BindOperationExecutor
public class BindOperationExecutor
A CompensatingTransactionOperationExecutor
to manage a bind
operation. Performs a bind in performOperation()
, a corresponding
unbind in rollback()
, and nothing in commit()
.
Constructor Summary | |
---|---|
BindOperationExecutor(LdapOperations ldapOperations,
Name dn,
Object originalObject,
Attributes originalAttributes)
Constructor. |
Method Summary | |
---|---|
void |
commit()
Commit the operation. |
void |
performOperation()
Perform the operation. |
void |
rollback()
Rollback the operation, restoring state of the target as it was before the operation was performed using the information supplied on creation of this instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BindOperationExecutor(LdapOperations ldapOperations, Name dn, Object originalObject, Attributes originalAttributes)
ldapOperations
- LdapOperations
to use for performing the rollback
operation.dn
- DN of the entry to be unbound.originalObject
- original value sent to the 'object' parameter of the bind
operation.originalAttributes
- original value sent to the 'attributes' parameter of the bind
operation.Method Detail |
---|
public void rollback()
CompensatingTransactionOperationExecutor
rollback
in interface CompensatingTransactionOperationExecutor
public void commit()
CompensatingTransactionOperationExecutor
commit
in interface CompensatingTransactionOperationExecutor
public void performOperation()
CompensatingTransactionOperationExecutor
performOperation
in interface CompensatingTransactionOperationExecutor
|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |