com.ca.jcs
Class InverseReplaceOIDsProxyHandler

java.lang.Object
  extended by com.ca.jcs.InverseReplaceOIDsProxyHandler
All Implemented Interfaces:
InvocationHandler

public class InverseReplaceOIDsProxyHandler
extends Object
implements InvocationHandler

ApacheDS JdbmPartition requires DNs in non-human friendly OID (Object IDentifier) based representation, so this proxy takes care of converting them to/from their human friendly equivalents (in DNs and filters).

Author:
fittr01

Constructor Summary
InverseReplaceOIDsProxyHandler(Partition target, AttributeTypeRegistry attributeTypeRegistry)
           
 
Method Summary
 Partition getProxy()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InverseReplaceOIDsProxyHandler

public InverseReplaceOIDsProxyHandler(Partition target,
                                      AttributeTypeRegistry attributeTypeRegistry)
Method Detail

getProxy

public Partition getProxy()

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Created 2011-07-14 13:27 EST