quickfix
Class JdbcStoreFactory

java.lang.Object
  extended by quickfix.JdbcStoreFactory
All Implemented Interfaces:
MessageStoreFactory

public class JdbcStoreFactory
extends java.lang.Object
implements MessageStoreFactory

Creates a generic JDBC message store.


Constructor Summary
JdbcStoreFactory(SessionSettings settings)
          Create a factory using session settings.
 
Method Summary
 MessageStore create(SessionID sessionID)
          Create a JDBC message store.
protected  SessionSettings getSettings()
          Used to support the MySQL-specific class (JNI compatibility)
 void setDataSource(javax.sql.DataSource dataSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcStoreFactory

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

Method Detail

create

public MessageStore create(SessionID sessionID)
Create a JDBC message store.

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

getSettings

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

Returns:
the session settings

setDataSource

public void setDataSource(javax.sql.DataSource dataSource)