Package org.ldaptive

Class AbstractSearchOperationFactory

    • Field Detail

      • entryHandlers

        private LdapEntryHandler[] entryHandlers
        Functions to handle entries.
      • referenceHandlers

        private SearchReferenceHandler[] referenceHandlers
        Functions to handle response references.
      • searchResultHandlers

        private SearchResultHandler[] searchResultHandlers
        Functions to handle search response results.
    • Constructor Detail

      • AbstractSearchOperationFactory

        public AbstractSearchOperationFactory()
    • Method Detail

      • getEntryHandlers

        public LdapEntryHandler[] getEntryHandlers()
        Returns the search entry handlers.
        Returns:
        search entry handlers
      • setEntryHandlers

        public void setEntryHandlers​(LdapEntryHandler... handlers)
        Sets the search entry handlers.
        Parameters:
        handlers - search entry handlers
      • getReferenceHandlers

        public SearchReferenceHandler[] getReferenceHandlers()
        Returns the search reference handlers.
        Returns:
        search reference handlers
      • setReferenceHandlers

        public void setReferenceHandlers​(SearchReferenceHandler... handlers)
        Sets the search reference handlers.
        Parameters:
        handlers - search reference handlers
      • getSearchResultHandlers

        public SearchResultHandler[] getSearchResultHandlers()
        Returns the search result handlers.
        Returns:
        search result handlers
      • setSearchResultHandlers

        public void setSearchResultHandlers​(SearchResultHandler... handlers)
        Sets the search result handlers.
        Parameters:
        handlers - search result handlers
      • createSearchOperation

        protected SearchOperation createSearchOperation()
        Creates a new search operation configured with the properties on this factory.
        Returns:
        search operation
      • createSearchOperation

        protected SearchOperation createSearchOperation​(ConnectionFactory cf)
        Creates a new search operation configured with the properties on this factory.
        Parameters:
        cf - connection factory to set on the search operation
        Returns:
        search operation