LDAP-272: Made NullDirContextProcessor public.

This commit is contained in:
Mattias Hellborg Arthursson
2013-10-22 08:25:42 +02:00
parent 7823b329b4
commit c4eb4fc9a2

View File

@@ -1300,17 +1300,23 @@ public class LdapTemplate implements LdapOperations, InitializingBean {
}
}
private final static class NullDirContextProcessor implements DirContextProcessor {
public void postProcess(DirContext ctx) throws NamingException {
// Do nothing
}
/**
* Do-nothing implementation of {@link DirContextProcessor}.
*
* @author Mattias Hellborg Arthursson
* @since 2.0
*/
public final static class NullDirContextProcessor implements DirContextProcessor {
public void postProcess(DirContext ctx) throws NamingException {
// Do nothing
}
public void preProcess(DirContext ctx) throws NamingException {
// Do nothing
}
}
public void preProcess(DirContext ctx) throws NamingException {
// Do nothing
}
}
/**
/**
* A {@link NameClassPairCallbackHandler} that passes the NameClassPairs
* found to a NameClassPairMapper and collects the results in a list.
*