org.jboss.jca.core.connectionmanager.listener
Interface ConnectionCacheListener

All Superinterfaces:
org.jboss.jca.core.api.connectionmanager.listener.ConnectionCacheListener
All Known Subinterfaces:
ConnectionManager, NoTxConnectionManager, TxConnectionManager
All Known Implementing Classes:
NoTxConnectionManagerImpl, TxConnectionManagerImpl

public interface ConnectionCacheListener
extends org.jboss.jca.core.api.connectionmanager.listener.ConnectionCacheListener

ConnectionCacheListener.

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

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

Method Detail

transactionStarted

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

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

reconnect

void reconnect(Collection<ConnectionRecord> conns,
               Set<String> 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<ConnectionRecord> conns,
                Set<String> 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 © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)