public class XADataSource extends CommonDataSourceProxy<javax.sql.XADataSource> implements javax.sql.XADataSource
| Constructor and Description |
|---|
XADataSource()
Constructs a new XADataSource
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLoginTimeout() |
java.io.PrintWriter |
getLogWriter() |
java.util.logging.Logger |
getParentLogger() |
javax.naming.Reference |
getReference() |
javax.sql.XAConnection |
getXAConnection() |
javax.sql.XAConnection |
getXAConnection(java.lang.String user,
java.lang.String password) |
void |
setLoginTimeout(int timeout) |
void |
setLogWriter(java.io.PrintWriter writer) |
getCluster, getConfig, getProxy, setCluster, setConfigpublic XADataSource()
public javax.sql.XAConnection getXAConnection() throws java.sql.SQLException
getXAConnection in interface javax.sql.XADataSourcejava.sql.SQLExceptionXADataSource.getXAConnection()public javax.sql.XAConnection getXAConnection(java.lang.String user, java.lang.String password) throws java.sql.SQLException
getXAConnection in interface javax.sql.XADataSourcejava.sql.SQLExceptionXADataSource.getXAConnection(java.lang.String, java.lang.String)public int getLoginTimeout() throws java.sql.SQLException
getLoginTimeout in interface javax.sql.CommonDataSourcejava.sql.SQLExceptionCommonDataSource.getLoginTimeout()public java.io.PrintWriter getLogWriter() throws java.sql.SQLException
getLogWriter in interface javax.sql.CommonDataSourcejava.sql.SQLExceptionCommonDataSource.getLogWriter()public void setLoginTimeout(int timeout) throws java.sql.SQLException
setLoginTimeout in interface javax.sql.CommonDataSourcejava.sql.SQLExceptionCommonDataSource.setLoginTimeout(int)public void setLogWriter(java.io.PrintWriter writer) throws java.sql.SQLException
setLogWriter in interface javax.sql.CommonDataSourcejava.sql.SQLExceptionCommonDataSource.setLogWriter(java.io.PrintWriter)public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference in interface javax.naming.Referenceablejavax.naming.NamingExceptionReferenceable.getReference()public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException
getParentLogger in interface javax.sql.CommonDataSourcejava.sql.SQLFeatureNotSupportedException