public class TimerInterceptor extends BaseInterceptor
directoryService, dnFactory, PWD_POLICY_STATE_ATTRIBUTE_TYPES, schemaManager
Constructor and Description |
---|
TimerInterceptor(String name)
Creates a new instance of TimerInterceptor.
|
public TimerInterceptor(String name)
name
- This interceptor's getName()public void init(DirectoryService directoryService) throws org.apache.directory.api.ldap.model.exception.LdapException
init
in interface Interceptor
init
in class BaseInterceptor
directoryService
- The DirectoryService instanceorg.apache.directory.api.ldap.model.exception.LdapException
- If the initialization failedpublic void add(AddOperationContext addContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition.add( AddOperationContext )
call.add
in interface Interceptor
add
in class BaseInterceptor
addContext
- The AddOperationContext
instanceorg.apache.directory.api.ldap.model.exception.LdapException
- If we had some error while processing the Add operationpublic void bind(BindOperationContext bindContext) throws org.apache.directory.api.ldap.model.exception.LdapException
BindOperationContext
call.bind
in interface Interceptor
bind
in class BaseInterceptor
bindContext
- The BindOperationContext
instanceorg.apache.directory.api.ldap.model.exception.LdapException
- If we had some error while processing the Bind operationpublic boolean compare(CompareOperationContext compareContext) throws org.apache.directory.api.ldap.model.exception.LdapException
compare
in interface Interceptor
compare
in class BaseInterceptor
compareContext
- The CompareOperationContext
instanceorg.apache.directory.api.ldap.model.exception.LdapException
- If we had some error while processing the Compare operationpublic void delete(DeleteOperationContext deleteContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition.delete( DeleteOperationContext )
call.delete
in interface Interceptor
delete
in class BaseInterceptor
deleteContext
- The DeleteOperationContext
instanceorg.apache.directory.api.ldap.model.exception.LdapException
- If we had some error while processing the Delete operationpublic org.apache.directory.api.ldap.model.entry.Entry getRootDse(GetRootDseOperationContext getRootDseContext) throws org.apache.directory.api.ldap.model.exception.LdapException
getRootDse
in interface Interceptor
getRootDse
in class BaseInterceptor
getRootDseContext
- The getRootDSE operation contextorg.apache.directory.api.ldap.model.exception.LdapException
- If we can't get back the RootDSE entrypublic boolean hasEntry(HasEntryOperationContext hasEntryContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition.hasEntry( HasEntryOperationContext )
call.hasEntry
in interface Interceptor
hasEntry
in class BaseInterceptor
hasEntryContext
- The HasEntryOperationContext
instanceorg.apache.directory.api.ldap.model.exception.LdapException
- If we had some error while processing the HasEntry operationpublic org.apache.directory.api.ldap.model.entry.Entry lookup(LookupOperationContext lookupContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition.lookup( LookupOperationContext )
call.lookup
in interface Interceptor
lookup
in class BaseInterceptor
lookupContext
- The LookupOperationContext
instanceorg.apache.directory.api.ldap.model.exception.LdapException
- If we had some error while processing the Lookup operationpublic void modify(ModifyOperationContext modifyContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition.modify( ModifyOperationContext )
call.modify
in interface Interceptor
modify
in class BaseInterceptor
modifyContext
- The ModifyOperationContext
instanceorg.apache.directory.api.ldap.model.exception.LdapException
- If we had some error while processing the Modify operationpublic void move(MoveOperationContext moveContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition.move( MoveOperationContext )
call.move
in interface Interceptor
move
in class BaseInterceptor
moveContext
- The MoveOperationContext
instanceorg.apache.directory.api.ldap.model.exception.LdapException
- If we had some error while processing the Move operationpublic void moveAndRename(MoveAndRenameOperationContext moveAndRenameContext) throws org.apache.directory.api.ldap.model.exception.LdapException
moveAndRename
in interface Interceptor
moveAndRename
in class BaseInterceptor
moveAndRenameContext
- The MoveAndRenameOperationContext
instanceorg.apache.directory.api.ldap.model.exception.LdapException
- If we had some error while processing the MoveAndRename operationpublic void rename(RenameOperationContext renameContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition.rename( RenameOperationContext )
call.rename
in interface Interceptor
rename
in class BaseInterceptor
renameContext
- The RenameOperationContext
instanceorg.apache.directory.api.ldap.model.exception.LdapException
- If we had some error while processing the Rename operationpublic EntryFilteringCursor search(SearchOperationContext searchContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition.search( SearchOperationContext )
call.search
in interface Interceptor
search
in class BaseInterceptor
searchContext
- The SearchOperationContext
instanceorg.apache.directory.api.ldap.model.exception.LdapException
- If we had some error while processing the Search operationpublic void unbind(UnbindOperationContext unbindContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition.unbind( UnbindOperationContext )
call.unbind
in interface Interceptor
unbind
in class BaseInterceptor
unbindContext
- The UnbindOperationContext
instanceorg.apache.directory.api.ldap.model.exception.LdapException
- If we had some error while processing the Unbind operationCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.