org.springframework.ldap.core.support

## Class SingleContextSource.NonClosingDirContextInvocationHandler

- java.lang.Object
- - 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

    Constructors
    Constructor and Description
    `NonClosingDirContextInvocationHandler(DirContext target)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

    - #### NonClosingDirContextInvocationHandler

          public 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`