public class DataSource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTOR_TYPE |
static String |
DB_TYPE |
Constructor and Description |
---|
DataSource(String name,
String group,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection() |
String |
getConnectorType() |
String |
getDBType() |
String |
getGroup() |
String |
getName() |
Properties |
getProperties() |
String |
getProperty(String propName) |
XAConnection |
getXAConnection() |
void |
setConnection(Connection c) |
void |
setXAConnection(XAConnection xaconn) |
void |
shutdown() |
public static final String CONNECTOR_TYPE
public static final String DB_TYPE
public DataSource(String name, String group, Properties properties)
public String getName()
public String getGroup()
public String getConnectorType()
public Properties getProperties()
public String getDBType()
public Connection getConnection() throws QueryTestFailedException
QueryTestFailedException
public void setConnection(Connection c)
public XAConnection getXAConnection() throws QueryTestFailedException
QueryTestFailedException
public void setXAConnection(XAConnection xaconn)
public void shutdown()
Copyright © 2018 JBoss by Red Hat. All rights reserved.