Class JDBCSettingsDrivenConnectionSource

  • All Implemented Interfaces:
    ch.qos.logback.core.db.ConnectionSource, ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.LifeCycle

    public class JDBCSettingsDrivenConnectionSource
    extends ch.qos.logback.core.db.ConnectionSourceBase
    • Field Summary

      • Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase

        context
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.sql.Connection getConnection()  
      void start()  
      void stop()  
      java.lang.String toString()  
      • Methods inherited from class ch.qos.logback.core.db.ConnectionSourceBase

        discoverConnectionProperties, getPassword, getSQLDialectCode, getUser, isStarted, setPassword, setUser, supportsBatchUpdates, supportsGetGeneratedKeys
      • Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase

        addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getConnection

        public java.sql.Connection getConnection()
                                          throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • start

        public void start()
        Specified by:
        start in interface ch.qos.logback.core.spi.LifeCycle
        Overrides:
        start in class ch.qos.logback.core.db.ConnectionSourceBase
      • stop

        public void stop()
        Specified by:
        stop in interface ch.qos.logback.core.spi.LifeCycle
        Overrides:
        stop in class ch.qos.logback.core.db.ConnectionSourceBase
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object