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 Modifier Constructor Description protectedAbstractSearchCallback()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected 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, wait
-
Methods inherited from interface org.alfresco.repo.security.sync.ldap.LDAPUserRegistry.SearchCallback
close
-
-
-
-
Method Detail
-
process
public void process(SearchResult result) throws NamingException, ParseException
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
protected abstract void doProcess(SearchResult result) throws NamingException, ParseException
- Throws:
NamingExceptionParseException
-
-