インタフェース
org.apache.log4j.db.ConnectionSource の使用

ConnectionSource を使用しているパッケージ
org.apache.log4j.db The org.apache.log4j.db package provides means to append logging events into various databases. 
 

org.apache.log4j.db での ConnectionSource の使用
 

ConnectionSource を実装している org.apache.log4j.db のクラス
 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.
 

ConnectionSource を返す org.apache.log4j.db のメソッド
 ConnectionSource DBReceiver.getConnectionSource()
           
 ConnectionSource DBAppender.getConnectionSource()
           
 ConnectionSource CustomSQLDBReceiver.getConnectionSource()
           
 

ConnectionSource 型のパラメータを持つ org.apache.log4j.db のメソッド
 void DBReceiver.setConnectionSource(ConnectionSource connectionSource)
           
 void DBAppender.setConnectionSource(ConnectionSource connectionSource)
           
 void CustomSQLDBReceiver.setConnectionSource(ConnectionSource connectionSource)
           
 



Copyright © 2010 Apache Software Foundation. All Rights Reserved.