com.avaje.ebean.config.ldap
Interface LdapAttributeAdapter


public interface LdapAttributeAdapter

Assigned to a property to convert between the logical bean property value and the LDAP Attribute value.

This can be used when the normal LDAP type conversion does not do what you require.

Author:
rbygrave

Method Summary
 Attribute createAttribute(Object beanPropertyValue)
          Read the bean property value and creating the appropriate attribute.
 Object readAttribute(Attribute attribute)
          Read the attribute and convert its value to the bean value.
 

Method Detail

readAttribute

Object readAttribute(Attribute attribute)
                     throws NamingException
Read the attribute and convert its value to the bean value.

Throws:
NamingException

createAttribute

Attribute createAttribute(Object beanPropertyValue)
Read the bean property value and creating the appropriate attribute.



Copyright © 2010. All Rights Reserved.