org.apache.jetspeed.security.spi.impl.ldap
Class LdapContextProxy
java.lang.Object
org.apache.jetspeed.security.spi.impl.ldap.LdapContextProxy
- All Implemented Interfaces:
- InvocationHandler
public class LdapContextProxy
- extends Object
- implements InvocationHandler
Proxy providing recoverable LdapContext connections.
- Version:
- $Id: LdapContextProxy.java 516448 2007-03-09 16:25:47Z ate $
- Author:
- Ate Douma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
env
private Properties env
ctx
private LdapContext ctx
LdapContextProxy
private LdapContextProxy(LdapBindingConfig ldapBindingConfig)
createProxy
public static LdapContext createProxy(LdapBindingConfig config)
getCtx
private LdapContext getCtx()
throws NamingException
- Throws:
NamingException
closeCtx
private void closeCtx()
invoke
public Object invoke(Object proxy,
Method m,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.