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:
DataSource, Referenceable, Serializable, XADataSource

public class P6XADataSource
extends P6DataSource
implements 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(DataSource ds)
           
 
Method Summary
 XAConnection getXAConnection()
           
 XAConnection getXAConnection(String s, 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(DataSource ds)
Method Detail

getXAConnection

public XAConnection getXAConnection()
                             throws SQLException
Specified by:
getXAConnection in interface XADataSource
Throws:
SQLException

getXAConnection

public XAConnection getXAConnection(String s,
                                    String s1)
                             throws SQLException
Specified by:
getXAConnection in interface XADataSource
Throws:
SQLException