Interface LdapOperationsCallback<T>
-
public interface LdapOperationsCallback<T>
Callback interface to be used together withSingleContextSource
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
doWithLdapOperations(LdapOperations operations)
Perform a sequence of LDAP operations on the supplied LdapOperations instance.
-
-
-
Method Detail
-
doWithLdapOperations
T doWithLdapOperations(LdapOperations operations)
Perform a sequence of LDAP operations on the supplied LdapOperations instance. The underlying DirContext that the operations will work on is guaranteed to always be exact same instance during the lifetime of this method.- Parameters:
operations
- the LdapOperations instance to perform operations on.- Returns:
- The aggregated result of all the performed operations.
-
-