Patch from Jasper on July 27.
This commit is contained in:
@@ -13,9 +13,11 @@ import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* The <code>DirAttribute</code> describes the mapping between a bean property and an LDAP attribute.
|
||||
* For example <pre>@DirAttribute("uid")</pre> maps a bean property to the directory attribute
|
||||
* 'uid'. A <code>DirAttribute</code> without a value designates that the attribute has the same name
|
||||
* as the bean property.
|
||||
* For example:
|
||||
* <pre>@DirAttribute("uid")
|
||||
* private String uniqueIdentifier;</pre>
|
||||
* maps the field 'uniqueIdentifier' to the directory attribute 'uid'. A <code>DirAttribute</code>
|
||||
* without a value designates that the attribute has the same name as the bean property.
|
||||
*/
|
||||
@Documented
|
||||
@Target({FIELD})
|
||||
|
||||
@@ -41,7 +41,7 @@ public class ObjectDirectoryMapperFactory
|
||||
/** Attempts to return an {@link ObjectDirectoryMapper} for the given class. Upon the
|
||||
* first encounter of the given class, mapping is attempted. If mapping is successful
|
||||
* the mapper is returned. Subsequent requests for same class return a cached mapper.
|
||||
* @param clazz
|
||||
* @param clazz The Class to return an object directory mapper for.
|
||||
* @return An {@link ObjectDirectoryMapper} for the Class <code>clazz</code>
|
||||
* @throws MappingException when the mapping information for the given class contains errors.
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
|
||||
Contains support classes used to assemble an <code>LdapDao</code> implementation.
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -7,11 +7,10 @@
|
||||
package org.springframework.ldap.odm.typeconversion;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
import junit.framework.Assert;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
import org.testng.Assert;
|
||||
|
||||
import javax.naming.ldap.LdapName;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
Reference in New Issue
Block a user