Class DriverManagerConnectionSource

  • All Implemented Interfaces:
    ConnectionSource, ContextAware, LifeCycle


    public class DriverManagerConnectionSource
    extends ConnectionSourceBase
    The DriverManagerConnectionSource is an implementation of ConnectionSource that obtains the Connection in the traditional JDBC manner based on the connection URL.

    For more information about this component, please refer to the online manual at http://logback.qos.ch/manual/appenders.html#DBAppender

    • Constructor Detail

      • DriverManagerConnectionSource

        public DriverManagerConnectionSource()
    • Method Detail

      • start

        public void start()
      • getUrl

        public String getUrl()
        Returns the url.
        Returns:
        String
      • setUrl

        public void setUrl(String url)
        Sets the url.
        Parameters:
        url - The url to set
      • getDriverClass

        public String getDriverClass()
        Returns the name of the driver class.
        Returns:
        String
      • setDriverClass

        public void setDriverClass(String driverClass)
        Sets the driver class.
        Parameters:
        driverClass - The driver class to set