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 ConnectiongetConnection()voidstart()voidstop()StringtoString()-
Methods inherited from class ch.qos.logback.core.db.ConnectionSourceBase
discoverConnectionProperties, getPassword, getSQLDialectCode, getUser, isStarted, setPassword, setUser, supportsBatchUpdates, supportsGetGeneratedKeys
-
-
-
-
Method Detail
-
getConnection
public Connection getConnection() throws SQLException
- Throws:
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
-
-