Interface NameClassPairCallbackHandler

All Known Implementing Classes:
AttributesMapperCallbackHandler, CollectingNameClassPairCallbackHandler, ContextMapperCallbackHandler, ContextMapperCallbackHandlerWithControls, CountNameClassPairCallbackHandler, LdapTemplate.MappingCollectingNameClassPairCallbackHandler

public interface NameClassPairCallbackHandler
Callback interface used by LdapTemplate search, list and listBindings methods. Implementations of this interface perform the actual work of extracting results from a single NameClassPair (a NameClassPair, Binding or SearchResult depending on the search operation) returned by an LDAP seach operation, such as search(), list(), and listBindings().
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Handle one entry.
  • Method Details

    • handleNameClassPair

      void handleNameClassPair(NameClassPair nameClassPair) throws NamingException
      Handle one entry. This method will be called once for each entry returned by a search or list.
      Parameters:
      nameClassPair - the NameClassPair returned from the NamingEnumeration.
      Throws:
      NamingException - if an error occurs.