public class MySqlJdbcContext extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
config |
protected static JdbcConnection.ConnectionFactory |
FACTORY |
protected JdbcConnection |
jdbc |
protected org.slf4j.Logger |
logger |
protected static String |
MYSQL_CONNECTION_URL |
| Constructor and Description |
|---|
MySqlJdbcContext(Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Configuration |
config() |
protected String |
connectionString() |
String |
hostname() |
JdbcConnection |
jdbc() |
org.slf4j.Logger |
logger() |
String |
password() |
int |
port() |
void |
shutdown() |
void |
start() |
String |
username() |
protected static final String MYSQL_CONNECTION_URL
protected static JdbcConnection.ConnectionFactory FACTORY
protected final org.slf4j.Logger logger
protected final Configuration config
protected final JdbcConnection jdbc
public MySqlJdbcContext(Configuration config)
public Configuration config()
public JdbcConnection jdbc()
public org.slf4j.Logger logger()
public String username()
public String password()
public String hostname()
public int port()
public void start()
public void shutdown()
public void close()
close in interface AutoCloseableprotected String connectionString()
Copyright © 2016 JBoss by Red Hat. All rights reserved.