Class CopyResultHandler<T>

  • Type Parameters:
    T - type of result
    All Implemented Interfaces:
    ResultHandler<T,​T>
    Direct Known Subclasses:
    CopyAttributeHandler, CopySearchResultHandler

    public class CopyResultHandler<T>
    extends AbstractResultHandler<T,​T>
    CopyResultHandler converts a NamingEnumeration into a List of ldap results.
    Version:
    $Revision: 1330 $ $Date: 2010-05-24 00:10:53 +0200 (Mon, 24 May 2010) $
    Author:
    Middleware Services
    • Constructor Detail

      • CopyResultHandler

        public CopyResultHandler()
    • Method Detail

      • processResult

        protected T processResult​(SearchCriteria sc,
                                  T r)
                           throws javax.naming.NamingException
        Returns the supplied result unaltered.
        Specified by:
        processResult in class AbstractResultHandler<T,​T>
        Parameters:
        sc - SearchCriteria used to retrieve the result
        r - T to process
        Returns:
        T result that was supplied
        Throws:
        javax.naming.NamingException - if the supplied result cannot be read