org.javasimon.jdbcx
Class SimonXAConnection

java.lang.Object
  extended by org.javasimon.jdbcx.SimonPooledConnection
      extended by org.javasimon.jdbcx.SimonXAConnection
All Implemented Interfaces:
PooledConnection, XAConnection

public final class SimonXAConnection
extends SimonPooledConnection
implements XAConnection

Simon implementation of XAConnection, needed for Simon XADataSource implementation.

All method invokes its real implementation.

See the package description for more information.

Since:
1.0
Version:
$Revision: 304 $ $Date: 2011-04-08 10:39:02 +0200 (Fri, 08 Apr 2011) $
Author:
Radovan Sninsky

Field Summary
private  XAConnection realConn
           
 
Constructor Summary
SimonXAConnection(XAConnection connection, String prefix)
          Class constructor.
 
Method Summary
 XAResource getXAResource()
          
 
Methods inherited from class org.javasimon.jdbcx.SimonPooledConnection
addConnectionEventListener, close, getConnection, removeConnectionEventListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.sql.PooledConnection
addConnectionEventListener, addStatementEventListener, close, getConnection, removeConnectionEventListener, removeStatementEventListener
 

Field Detail

realConn

private final XAConnection realConn
Constructor Detail

SimonXAConnection

public SimonXAConnection(XAConnection connection,
                         String prefix)
Class constructor.

Parameters:
connection - real xa connection
prefix - Simon prefix
Method Detail

getXAResource

public XAResource getXAResource()
                         throws SQLException

Specified by:
getXAResource in interface XAConnection
Throws:
SQLException


Copyright © 2011. All Rights Reserved.