|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.ots.xa.XAVirtualDataSource
This class provides a virtual XA data source to manage an XA session without a jdbc driver that includes optional packages of JDBC 2.0
Constructor Summary | |
XAVirtualDataSource(org.omg.CORBA.ORB orb,
Logger logger)
Constructor |
Method Summary | |
Logger |
getLogger()
|
int |
getLoginTimeout()
Return the login timeout in seconds. |
java.io.PrintWriter |
getLogWriter()
Return the log writer. |
java.lang.String |
getMetaData()
Return the DataSource meta data |
javax.sql.XAConnection |
getXAConnection()
This operation is called to get an XA connection from a database. |
javax.sql.XAConnection |
getXAConnection(java.lang.String user,
java.lang.String password)
This operation is called to get an XA connection from a database by providing user name and user password. |
void |
set_jdbc_url(java.lang.String url)
This operation is used to set the JDBC URL required for the database access. |
void |
setLoginTimeout(int seconds)
Set the login timeout in seconds. |
void |
setLogWriter(java.io.PrintWriter out)
Set the log writer |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XAVirtualDataSource(org.omg.CORBA.ORB orb, Logger logger)
Method Detail |
public int getLoginTimeout() throws java.sql.SQLException
getLoginTimeout
in interface javax.sql.XADataSource
java.sql.SQLException
public java.io.PrintWriter getLogWriter() throws java.sql.SQLException
getLogWriter
in interface javax.sql.XADataSource
java.sql.SQLException
public javax.sql.XAConnection getXAConnection() throws java.sql.SQLException
getXAConnection
in interface javax.sql.XADataSource
java.sql.SQLException
public javax.sql.XAConnection getXAConnection(java.lang.String user, java.lang.String password) throws java.sql.SQLException
getXAConnection
in interface javax.sql.XADataSource
java.sql.SQLException
public void setLoginTimeout(int seconds) throws java.sql.SQLException
setLoginTimeout
in interface javax.sql.XADataSource
java.sql.SQLException
public void setLogWriter(java.io.PrintWriter out) throws java.sql.SQLException
setLogWriter
in interface javax.sql.XADataSource
java.sql.SQLException
public void set_jdbc_url(java.lang.String url)
public java.lang.String getMetaData()
public Logger getLogger()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |