|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.sql.spy.SpyXADataSource
public class SpyXADataSource
Spying on a driver.
| Field Summary | |
|---|---|
protected static L10N |
L
|
protected static java.util.logging.Logger |
log
|
| Constructor Summary | |
|---|---|
SpyXADataSource(javax.sql.XADataSource dataSource)
Creates a new SpyDriver. |
|
| Method Summary | |
|---|---|
int |
getLoginTimeout()
Returns the login timeout. |
java.io.PrintWriter |
getLogWriter()
Returns the log writer |
javax.sql.XAConnection |
getXAConnection()
Returns the XAConnection. |
javax.sql.XAConnection |
getXAConnection(java.lang.String user,
java.lang.String password)
Returns the XAConnection. |
protected void |
log(long start,
java.lang.String msg)
|
void |
setLoginTimeout(int timeout)
Sets the login timeout. |
void |
setLogWriter(java.io.PrintWriter log)
Sets the log writer. |
protected long |
start()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final java.util.logging.Logger log
protected static final L10N L
| Constructor Detail |
|---|
public SpyXADataSource(javax.sql.XADataSource dataSource)
| Method Detail |
|---|
public javax.sql.XAConnection getXAConnection()
throws java.sql.SQLException
getXAConnection in interface javax.sql.XADataSourcejava.sql.SQLException
public javax.sql.XAConnection getXAConnection(java.lang.String user,
java.lang.String password)
throws java.sql.SQLException
getXAConnection in interface javax.sql.XADataSourcejava.sql.SQLException
public int getLoginTimeout()
throws java.sql.SQLException
getLoginTimeout in interface javax.sql.CommonDataSourcejava.sql.SQLException
public void setLoginTimeout(int timeout)
throws java.sql.SQLException
setLoginTimeout in interface javax.sql.CommonDataSourcejava.sql.SQLException
public java.io.PrintWriter getLogWriter()
throws java.sql.SQLException
getLogWriter in interface javax.sql.CommonDataSourcejava.sql.SQLException
public void setLogWriter(java.io.PrintWriter log)
throws java.sql.SQLException
setLogWriter in interface javax.sql.CommonDataSourcejava.sql.SQLExceptionprotected long start()
protected void log(long start,
java.lang.String msg)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||