Class LDAPUserRegistry.AbstractSearchCallback
java.lang.Object
org.alfresco.repo.security.sync.ldap.LDAPUserRegistry.AbstractSearchCallback
- All Implemented Interfaces:
LDAPUserRegistry.SearchCallback
- Enclosing class:
- LDAPUserRegistry
protected abstract static class LDAPUserRegistry.AbstractSearchCallback
extends Object
implements LDAPUserRegistry.SearchCallback
An abstract implementation of SearchCallback interface. Responsible for correct release of SearchResult resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voiddoProcess(SearchResult result) voidprocess(SearchResult result) Processes the given search result.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.repo.security.sync.ldap.LDAPUserRegistry.SearchCallback
close
-
Constructor Details
-
AbstractSearchCallback
protected AbstractSearchCallback()
-
-
Method Details
-
process
Description copied from interface:LDAPUserRegistry.SearchCallbackProcesses the given search result.- Specified by:
processin interfaceLDAPUserRegistry.SearchCallback- Parameters:
result- the result- Throws:
NamingException- on naming exceptionsParseException- on parse exceptions
-
doProcess
- Throws:
NamingExceptionParseException
-