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 java.lang.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(javax.naming.directory.SearchResult result)voidprocess(javax.naming.directory.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(javax.naming.directory.SearchResult result) throws javax.naming.NamingException, java.text.ParseExceptionDescription copied from interface:LDAPUserRegistry.SearchCallbackProcesses the given search result.- Specified by:
processin interfaceLDAPUserRegistry.SearchCallback- Parameters:
result- the result- Throws:
javax.naming.NamingException- on naming exceptionsjava.text.ParseException- on parse exceptions
-
doProcess
protected abstract void doProcess(javax.naming.directory.SearchResult result) throws javax.naming.NamingException, java.text.ParseException- Throws:
javax.naming.NamingExceptionjava.text.ParseException
-
-