Package org.ldaptive

Class SingleConnectionFactory.ConnectionProxy

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler
    Enclosing class:
    SingleConnectionFactory

    protected static class SingleConnectionFactory.ConnectionProxy
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler
    Contains the connection used by this factory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConnectionProxy

        public ConnectionProxy​(Connection c)
        Creates a new connection proxy.
        Parameters:
        c - connection to proxy
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • invoke

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