org.jboss.resource.connectionmanager
Interface ConnectionCacheListener

All Known Implementing Classes:
BaseConnectionManager2, NoTxConnectionManager, TxConnectionManager

public interface ConnectionCacheListener

ConnectionCacheListener

Version:
$Revision: 1.5.6.2 $
Author:
David Jencks, Erwin Guib, Adrian Brock

Method Summary
 void disconnect(Collection conns, Set unsharableResources)
          Notification to disconnect connections
 void reconnect(Collection conns, Set unsharableResources)
          Notification to reconnect connections
 void transactionStarted(Collection conns)
          Notification of transaction started
 

Method Detail

transactionStarted

void transactionStarted(Collection conns)
                        throws SystemException
Notification of transaction started

Parameters:
conns - the connections
Throws:
SystemException - for any error

reconnect

void reconnect(Collection conns,
               Set unsharableResources)
               throws javax.resource.ResourceException
Notification to reconnect connections

Parameters:
conns - the connections
unsharableResources - unshareable resources
Throws:
javax.resource.ResourceException - for any error

disconnect

void disconnect(Collection conns,
                Set unsharableResources)
                throws javax.resource.ResourceException
Notification to disconnect connections

Parameters:
conns - the connections
unsharableResources - the unshareable resources
Throws:
javax.resource.ResourceException - for any error


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.