com.p6spy.engine.spy
Class P6XADataSource

java.lang.Object
  extended bycom.p6spy.engine.spy.P6Base
      extended bycom.p6spy.engine.spy.P6DataSource
          extended bycom.p6spy.engine.spy.P6XADataSource
All Implemented Interfaces:
javax.sql.DataSource, javax.naming.Referenceable, java.io.Serializable, javax.sql.XADataSource

public class P6XADataSource
extends P6DataSource
implements javax.sql.XADataSource

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.p6spy.engine.spy.P6DataSource
rds, rdsName
 
Fields inherited from class com.p6spy.engine.spy.P6Base
factory
 
Constructor Summary
P6XADataSource()
           
P6XADataSource(javax.sql.DataSource ds)
           
 
Method Summary
 javax.sql.XAConnection getXAConnection()
           
 javax.sql.XAConnection getXAConnection(java.lang.String s, java.lang.String s1)
           
 
Methods inherited from class com.p6spy.engine.spy.P6DataSource
bindDataSource, getConnection, getConnection, getLoginTimeout, getLogWriter, getRealDataSource, getReference, initMethod, setLoginTimeout, setLogWriter, setRealDataSource
 
Methods inherited from class com.p6spy.engine.spy.P6Base
getP6Factory, setP6Factory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.sql.XADataSource
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
 

Constructor Detail

P6XADataSource

public P6XADataSource()

P6XADataSource

public P6XADataSource(javax.sql.DataSource ds)
Method Detail

getXAConnection

public javax.sql.XAConnection getXAConnection()
                                       throws java.sql.SQLException
Specified by:
getXAConnection in interface javax.sql.XADataSource
Throws:
java.sql.SQLException

getXAConnection

public javax.sql.XAConnection getXAConnection(java.lang.String s,
                                              java.lang.String s1)
                                       throws java.sql.SQLException
Specified by:
getXAConnection in interface javax.sql.XADataSource
Throws:
java.sql.SQLException