## Uses of Interface
org.apache.log4j.db.ConnectionSource

- Packages that use ConnectionSource
  Package | Description
  --- | ---
  org.apache.log4j.db | The org.apache.log4j.db package provides means to append logging events into various databases.

- - ### Uses of ConnectionSource in org.apache.log4j.db

    Classes in org.apache.log4j.db that implement ConnectionSource
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ConnectionSourceSkeleton` |
    `class` | `DataSourceConnectionSource` | The DataSourceConnectionSource is an implementation of `ConnectionSource` that obtains the Connection in the recommended JDBC manner based on a `DataSource`.
    `class` | `DriverManagerConnectionSource` | The DriverManagerConnectionSource is an implementation of `ConnectionSource` that obtains the Connection in the traditional JDBC manner based on the connection URL.
    `class` | `JNDIConnectionSource` | The `JNDIConnectionSource` is an implementation of `ConnectionSource` that obtains a `DataSource` from a JNDI provider and uses it to obtain a `Connection`.

    Methods in org.apache.log4j.db that return ConnectionSource
    Modifier and Type | Method | Description
    --- | --- | ---
    `ConnectionSource` | CustomSQLDBReceiver.`getConnectionSource()` |
    `ConnectionSource` | DBAppender.`getConnectionSource()` |
    `ConnectionSource` | DBReceiver.`getConnectionSource()` |

    Methods in org.apache.log4j.db with parameters of type ConnectionSource
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CustomSQLDBReceiver.`setConnectionSource​(ConnectionSource connectionSource)` |
    `void` | DBAppender.`setConnectionSource​(ConnectionSource connectionSource)` |
    `void` | DBReceiver.`setConnectionSource​(ConnectionSource connectionSource)` |