org.springframework.ldap.core.support

## Interface ContextMapperWithControls<T>

- Type Parameters:
    `T` - return type of the `mapFromContextWithControls(Object, javax.naming.ldap.HasControls)` method
  All Superinterfaces:
    ContextMapper<T>

      public interface ContextMapperWithControls<T>
      extends ContextMapper<T>

  Extension of the `ContextMapper` interface that allows controls to be passed to the mapper implementation. Uses Java 5 covariant return types to override the return type of the `mapFromContextWithControls(Object, javax.naming.ldap.HasControls)` method to be the type parameter T.
  Author:
    Tim Terry, Ulrik Sandberg

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `mapFromContextWithControls(Object ctx, HasControls hasControls)`

    - ### Methods inherited from interface org.springframework.ldap.core.ContextMapper

      `mapFromContext`

- - ### Method Detail

    - #### mapFromContextWithControls

          T mapFromContextWithControls(Object ctx,
                                       HasControls hasControls)
                                throws NamingException

      Throws:
        `NamingException`