org.springframework.ldap.core.simple
Interface ParameterizedContextMapper<T>
- Type Parameters:
T
-
- All Superinterfaces:
- ContextMapper
- All Known Subinterfaces:
- ParameterizedContextMapperWithControls<T>
- All Known Implementing Classes:
- AbstractParameterizedContextMapper
public interface ParameterizedContextMapper<T>
- extends ContextMapper
Extension of the ContextMapper
interface. Uses Java 5 covariant
return types to override the return type of the
mapFromContext(Object)
method to be the type parameter T.
mapFromContext
T mapFromContext(Object ctx)
- Map a single LDAP Context to an object. The supplied Object
ctx
is the object from a single SearchResult
,
Binding
, or a lookup operation.
- Specified by:
mapFromContext
in interface ContextMapper
- Parameters:
ctx
- the context to map to an object.
- Returns:
- an object built from the data in the context.