Uses of Interface
org.apache.log4j.db.ConnectionSource
Packages that use ConnectionSource
Package
Description
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 ConnectionSourceModifier and TypeClassDescriptionclass
class
The DataSourceConnectionSource is an implementation ofConnectionSource
that obtains the Connection in the recommended JDBC manner based on aDataSource
.class
The DriverManagerConnectionSource is an implementation ofConnectionSource
that obtains the Connection in the traditional JDBC manner based on the connection URL.class
TheJNDIConnectionSource
is an implementation ofConnectionSource
that obtains aDataSource
from a JNDI provider and uses it to obtain aConnection
.Fields in org.apache.log4j.db declared as ConnectionSourceModifier and TypeFieldDescriptionprivate ConnectionSource
CustomSQLDBReceiver.connectionSource
(package private) ConnectionSource
DBAppender.connectionSource
(package private) ConnectionSource
DBReceiver.connectionSource
Methods in org.apache.log4j.db that return ConnectionSourceModifier and TypeMethodDescriptionCustomSQLDBReceiver.getConnectionSource()
DBAppender.getConnectionSource()
DBReceiver.getConnectionSource()
Methods in org.apache.log4j.db with parameters of type ConnectionSourceModifier and TypeMethodDescriptionvoid
CustomSQLDBReceiver.setConnectionSource
(ConnectionSource connectionSource) void
DBAppender.setConnectionSource
(ConnectionSource connectionSource) void
DBReceiver.setConnectionSource
(ConnectionSource connectionSource)