org.openmdx.kernel.application.container.spi.sql
Class LightweightXAConnection
java.lang.Object
org.openmdx.kernel.application.container.spi.sql.LightweightXAConnection
- All Implemented Interfaces:
- PooledConnection, XAConnection, CloseCallback
public class LightweightXAConnection
- extends Object
- implements XAConnection, CloseCallback
Lightweight XAConnection
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LightweightXAConnection
public LightweightXAConnection(Connection connection)
- Constructor
- Parameters:
connection -
getXAResource
public XAResource getXAResource()
throws SQLException
- Specified by:
getXAResource in interface XAConnection
- Throws:
SQLException
addConnectionEventListener
public void addConnectionEventListener(ConnectionEventListener listener)
- Specified by:
addConnectionEventListener in interface PooledConnection
close
public void close()
throws SQLException
- Specified by:
close in interface PooledConnection
- Throws:
SQLException
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection in interface PooledConnection
- Throws:
SQLException
removeConnectionEventListener
public void removeConnectionEventListener(ConnectionEventListener listener)
- Specified by:
removeConnectionEventListener in interface PooledConnection
postClose
public void postClose(Object closed)
- Description copied from interface:
CloseCallback
- To tell that an object has been closed.
- Specified by:
postClose in interface CloseCallback
- Parameters:
closed - the object which has been closed.
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.