Class LuteceConnectionProxy

    • Method Detail

      • invoke

        public Object invoke​(Object proxy,
                             Method method,
                             Object[] args)
                      throws Throwable
        Catches close() and closeConnection() method. close() calls _pool.freeConnection, and closeConnection() calls _connection.close().
        Specified by:
        invoke in interface InvocationHandler
        Parameters:
        proxy - the proxy
        method - the method
        args - the args
        Returns:
        the object
        Throws:
        Throwable - the throwable