quickfix
Class JdbcLogFactory

java.lang.Object
  extended by quickfix.JdbcLogFactory
All Implemented Interfaces:
LogFactory

public class JdbcLogFactory
extends java.lang.Object
implements LogFactory

Creates a generic JDBC logger.


Constructor Summary
JdbcLogFactory(SessionSettings settings)
          Create a factory using session settings.
 
Method Summary
 Log create()
          Create a log using default/global settings.
 Log create(SessionID sessionID)
          Create a JDBC logger.
protected  SessionSettings getSettings()
          Used to support the MySQL-specific class (JNI compatibility)
 void setDataSource(javax.sql.DataSource dataSource)
          Set a data source to be used by the JdbcLog to access the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcLogFactory

public JdbcLogFactory(SessionSettings settings)
Create a factory using session settings.

Method Detail

create

public Log create(SessionID sessionID)
Create a JDBC logger.

Specified by:
create in interface LogFactory
Parameters:
sessionID - the sessionID for the message store.
Returns:
the log implementation

getSettings

protected SessionSettings getSettings()
Used to support the MySQL-specific class (JNI compatibility)

Returns:
the session settings

create

public Log create()
Description copied from interface: LogFactory
Create a log using default/global settings.

Specified by:
create in interface LogFactory
Returns:
the log implementation

setDataSource

public void setDataSource(javax.sql.DataSource dataSource)
Set a data source to be used by the JdbcLog to access the database.

Parameters:
dataSource -