com.ca.jcs.util
Class LazyLdapAttributesProxy

java.lang.Object
  extended by com.ca.jcs.util.LazyLdapAttributesProxy
All Implemented Interfaces:
AttributesProxy
Direct Known Subclasses:
ValidationLazyAttributesProxy

public class LazyLdapAttributesProxy
extends Object
implements AttributesProxy

Proxy that can be used to get the current values for attributes given their LDAP (rather then connector-speak) ids.

In the case of expensive attributes can optionally be configured to attempt to return stubs using AttributeStyleOpProcessor.doLookupExpensiveStub(com.ca.jcs.ObjectInfo, java.lang.String) preferentially (keeping in mind it may not be implemented in which case the entire expensive attribute will be returned). This usage is only expected to be important for validators that don't need the full expensive value in order to do their work.


Constructor Summary
LazyLdapAttributesProxy(MetaConnector conn, ObjectInfo objInfo)
           
LazyLdapAttributesProxy(MetaConnector conn, ObjectInfo objInfo, boolean preferExpensiveStubs)
           
 
Method Summary
 Attribute get(String ldapAttrId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyLdapAttributesProxy

public LazyLdapAttributesProxy(MetaConnector conn,
                               ObjectInfo objInfo)

LazyLdapAttributesProxy

public LazyLdapAttributesProxy(MetaConnector conn,
                               ObjectInfo objInfo,
                               boolean preferExpensiveStubs)
Method Detail

get

public Attribute get(String ldapAttrId)
              throws NamingException
Specified by:
get in interface AttributesProxy
Throws:
NamingException


Created 2011-07-14 13:27 EST