Spring LDAP Framework

org.springframework.ldap.core.support
Class SingleContextSource.NonClosingDirContextInvocationHandler

java.lang.Object
  extended by org.springframework.ldap.core.support.SingleContextSource.NonClosingDirContextInvocationHandler
All Implemented Interfaces:
InvocationHandler
Enclosing class:
SingleContextSource

public static class SingleContextSource.NonClosingDirContextInvocationHandler
extends Object
implements InvocationHandler

A proxy for DirContext forwarding all operation to the target DirContext, but making sure that no close operations will be performed.

Author:
Mattias Hellborg Arthursson

Constructor Summary
SingleContextSource.NonClosingDirContextInvocationHandler(DirContext target)
           
 
Method Summary
 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

SingleContextSource.NonClosingDirContextInvocationHandler

public SingleContextSource.NonClosingDirContextInvocationHandler(DirContext target)
Method Detail

invoke

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

Spring LDAP Framework

Copyright © 2005-2010 The Spring LDAP Framework. All Rights Reserved.