Class DataSourceTracer


  • public class DataSourceTracer
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void getConnection​(java.lang.Throwable cause)  
      void getConnection​(java.lang.Throwable cause, java.lang.String username, java.lang.String password)  
      void getConnection​(java.sql.Connection result)  
      void getConnection​(java.sql.Connection result, java.lang.String username, java.lang.String password)  
      void getLoginTimeout​(int result)  
      void getLoginTimeout​(java.lang.Throwable cause)  
      void getLogWriter​(java.io.PrintWriter result)  
      void getLogWriter​(java.lang.Throwable cause)  
      void getParentLogger​(java.lang.Throwable cause)  
      void getParentLogger​(java.util.logging.Logger result)  
      void isWrapperFor​(boolean result, java.lang.Class<?> iface)  
      void isWrapperFor​(java.lang.Throwable cause, java.lang.Class<?> iface)  
      com.impossibl.jdbc.spy.ConnectionListener newConnectionListener()  
      void setLoginTimeout​(int seconds)  
      void setLoginTimeout​(java.lang.Throwable cause, int seconds)  
      void setLogWriter​(java.io.PrintWriter out)  
      void setLogWriter​(java.lang.Throwable cause, java.io.PrintWriter out)  
      void trace​(Trace trace)  
      <T> void unwrap​(java.lang.Throwable cause, java.lang.Class<T> iface)  
      <T> void unwrap​(T result, java.lang.Class<T> iface)  
      • Methods inherited from class java.lang.Object

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

      • DataSourceTracer

        public DataSourceTracer​(TraceOutput out)
    • Method Detail

      • trace

        public void trace​(Trace trace)
      • setLogWriter

        public void setLogWriter​(java.io.PrintWriter out)
      • setLogWriter

        public void setLogWriter​(java.lang.Throwable cause,
                                 java.io.PrintWriter out)
      • isWrapperFor

        public void isWrapperFor​(boolean result,
                                 java.lang.Class<?> iface)
      • isWrapperFor

        public void isWrapperFor​(java.lang.Throwable cause,
                                 java.lang.Class<?> iface)
      • getLogWriter

        public void getLogWriter​(java.io.PrintWriter result)
      • getLogWriter

        public void getLogWriter​(java.lang.Throwable cause)
      • getParentLogger

        public void getParentLogger​(java.util.logging.Logger result)
      • getParentLogger

        public void getParentLogger​(java.lang.Throwable cause)
      • setLoginTimeout

        public void setLoginTimeout​(int seconds)
      • setLoginTimeout

        public void setLoginTimeout​(java.lang.Throwable cause,
                                    int seconds)
      • getConnection

        public void getConnection​(java.sql.Connection result)
      • getConnection

        public void getConnection​(java.lang.Throwable cause)
      • getLoginTimeout

        public void getLoginTimeout​(int result)
      • getLoginTimeout

        public void getLoginTimeout​(java.lang.Throwable cause)
      • unwrap

        public <T> void unwrap​(T result,
                               java.lang.Class<T> iface)
      • unwrap

        public <T> void unwrap​(java.lang.Throwable cause,
                               java.lang.Class<T> iface)
      • getConnection

        public void getConnection​(java.sql.Connection result,
                                  java.lang.String username,
                                  java.lang.String password)
      • getConnection

        public void getConnection​(java.lang.Throwable cause,
                                  java.lang.String username,
                                  java.lang.String password)
      • newConnectionListener

        public com.impossibl.jdbc.spy.ConnectionListener newConnectionListener()