public class NumberIncrementingInterceptor extends BaseInterceptor
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,java.util.concurrent.atomic.AtomicInteger> |
incMap
a map of integer attribute and it's present value
|
private static org.slf4j.Logger |
LOG
A
Logger for this class |
private org.apache.directory.api.ldap.model.name.Dn |
numberHolder
the DN of the holder entry
|
directoryService, dnFactory, PWD_POLICY_STATE_ATTRIBUTE_TYPES, schemaManager| Constructor and Description |
|---|
NumberIncrementingInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(AddOperationContext addContext)
Filters
Partition#add( AddOperationContext ) call. |
void |
init(DirectoryService directoryService)
This method does nothing by default.
|
bind, compare, delete, destroy, getName, getNextInterceptor, getPrincipal, getRootDse, hasEntry, lookup, modify, move, moveAndRename, next, next, next, next, next, next, next, next, next, next, next, next, next, rename, search, unbindprivate static final org.slf4j.Logger LOG
Logger for this classprivate org.apache.directory.api.ldap.model.name.Dn numberHolder
private java.util.Map<java.lang.String,java.util.concurrent.atomic.AtomicInteger> incMap
public void init(DirectoryService directoryService) throws org.apache.directory.api.ldap.model.exception.LdapException
BaseInterceptorinit in interface Interceptorinit in class BaseInterceptororg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void add(AddOperationContext addContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition#add( AddOperationContext ) call.add in interface Interceptoradd in class BaseInterceptoraddContext - The AddOperationContext instanceorg.apache.directory.api.ldap.model.exception.LdapException - If we had some error while processing the Add operation