Package org.ldaptive.beans.reflect
Class DefaultLdapEntryMapper<T>
- java.lang.Object
-
- org.ldaptive.beans.AbstractLdapEntryMapper<T>
-
- org.ldaptive.beans.reflect.DefaultLdapEntryMapper<T>
-
- Type Parameters:
T
- type of object to map
- All Implemented Interfaces:
LdapEntryMapper<T>
public class DefaultLdapEntryMapper<T> extends AbstractLdapEntryMapper<T>
Stores the class descriptors for a specific object in a static map.
-
-
Field Summary
Fields Modifier and Type Field Description private static Map<Class<?>,ClassDescriptor>
CLASS_DESCRIPTORS
Class descriptors for mapping objects.-
Fields inherited from class org.ldaptive.beans.AbstractLdapEntryMapper
logger
-
-
Constructor Summary
Constructors Constructor Description DefaultLdapEntryMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClassDescriptor
createClassDescriptor(Class<?> type)
Creates a class descriptor for the supplied type.protected ClassDescriptor
getClassDescriptor(Object object)
Returns the class descriptor.-
Methods inherited from class org.ldaptive.beans.AbstractLdapEntryMapper
map, map, map, mapDn
-
-
-
-
Field Detail
-
CLASS_DESCRIPTORS
private static final Map<Class<?>,ClassDescriptor> CLASS_DESCRIPTORS
Class descriptors for mapping objects.
-
-
Method Detail
-
getClassDescriptor
protected ClassDescriptor getClassDescriptor(Object object)
Description copied from class:AbstractLdapEntryMapper
Returns the class descriptor.- Specified by:
getClassDescriptor
in classAbstractLdapEntryMapper<T>
- Parameters:
object
- to return the class descriptor for- Returns:
- class descriptor
-
createClassDescriptor
protected ClassDescriptor createClassDescriptor(Class<?> type)
Creates a class descriptor for the supplied type.- Parameters:
type
- to create class descriptor for- Returns:
- class descriptor
-
-