Class JDBCSettingsDrivenConnectionSource
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.db.ConnectionSourceBase
-
- org.apache.qpid.server.logging.logback.jdbc.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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.ConnectiongetConnection()voidstart()voidstop()java.lang.StringtoString()-
Methods inherited from class ch.qos.logback.core.db.ConnectionSourceBase
discoverConnectionProperties, getPassword, getSQLDialectCode, getUser, isStarted, setPassword, setUser, supportsBatchUpdates, supportsGetGeneratedKeys
-
-
-
-
Method Detail
-
getConnection
public java.sql.Connection getConnection() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
start
public void start()
- Specified by:
startin interfacech.qos.logback.core.spi.LifeCycle- Overrides:
startin classch.qos.logback.core.db.ConnectionSourceBase
-
stop
public void stop()
- Specified by:
stopin interfacech.qos.logback.core.spi.LifeCycle- Overrides:
stopin classch.qos.logback.core.db.ConnectionSourceBase
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-