public class JdbcLogFactory extends Object implements LogFactory
Constructor and Description |
---|
JdbcLogFactory(SessionSettings settings)
Create a factory using session settings.
|
Modifier and Type | Method and Description |
---|---|
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(DataSource dataSource)
Set a data source to be used by the JdbcLog to access
the database.
|
public JdbcLogFactory(SessionSettings settings)
public Log create(SessionID sessionID)
create
in interface LogFactory
sessionID
- the sessionID for the message store.protected SessionSettings getSettings()
public Log create()
LogFactory
create
in interface LogFactory
public void setDataSource(DataSource dataSource)
dataSource
- Copyright © 2016. All rights reserved.