com.ca.jcs
Class ReplaceOIDsProxyHandler
java.lang.Object
com.ca.jcs.ReplaceOIDsProxyHandler
- All Implemented Interfaces:
- InvocationHandler
public class ReplaceOIDsProxyHandler
- extends Object
- implements InvocationHandler
ApacheDS converts DNs to non-human friendly OID (Object IDentifier) based representation,
so this proxy takes care of converting them to their human friendly equivalents (in DNs and filters)
for easier use in developing connectors and debugging.
Note that a Java proxy solution was chosen so that classes deriving from
MetaConnector don't have to pay attention to the issue of dealing with OIDs
themselves.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReplaceOIDsProxyHandler
public ReplaceOIDsProxyHandler(BaseConnector target)
getProxy
public Connector 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