org.apache.ode.utils

## Class LoggingInterceptor<T>

- java.lang.Object
- - org.apache.ode.utils.LoggingInterceptor<T>

- All Implemented Interfaces:
    java.lang.reflect.InvocationHandler

      public class LoggingInterceptor<T>
      extends java.lang.Object
      implements java.lang.reflect.InvocationHandler

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LoggingInterceptor(T delegate, org.slf4j.Logger log)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static javax.sql.DataSource` | `createLoggingDS(javax.sql.DataSource ds, org.slf4j.Logger log)`
    `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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LoggingInterceptor

          public LoggingInterceptor(T delegate,
                            org.slf4j.Logger log)

  - ### Method Detail

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

    - #### createLoggingDS

          public static javax.sql.DataSource createLoggingDS(javax.sql.DataSource ds,
                                             org.slf4j.Logger log)