public class LrcXADataSource extends Object implements XADataSource
| Constructor and Description |
|---|
LrcXADataSource() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDriverClassName() |
int |
getLoginTimeout() |
PrintWriter |
getLogWriter() |
Logger |
getParentLogger() |
String |
getPassword() |
String |
getUrl() |
String |
getUser() |
XAConnection |
getXAConnection() |
XAConnection |
getXAConnection(String user,
String password) |
void |
setDriverClassName(String driverClassName) |
void |
setLoginTimeout(int seconds) |
void |
setLogWriter(PrintWriter out) |
void |
setPassword(String password) |
void |
setUrl(String url) |
void |
setUser(String user) |
String |
toString() |
public int getLoginTimeout()
throws SQLException
getLoginTimeout in interface CommonDataSourceSQLExceptionpublic void setLoginTimeout(int seconds)
throws SQLException
setLoginTimeout in interface CommonDataSourceSQLExceptionpublic String getDriverClassName()
public void setDriverClassName(String driverClassName)
public String getUrl()
public void setUrl(String url)
public String getUser()
public void setUser(String user)
public String getPassword()
public void setPassword(String password)
public PrintWriter getLogWriter() throws SQLException
getLogWriter in interface CommonDataSourceSQLExceptionpublic void setLogWriter(PrintWriter out) throws SQLException
setLogWriter in interface CommonDataSourceSQLExceptionpublic XAConnection getXAConnection() throws SQLException
getXAConnection in interface XADataSourceSQLExceptionpublic XAConnection getXAConnection(String user, String password) throws SQLException
getXAConnection in interface XADataSourceSQLExceptionpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface CommonDataSourceSQLFeatureNotSupportedExceptionCopyright © 2006-2016 Bitronix Software. All Rights Reserved.