org.apache.geronimo.connector.outbound
Class GeronimoConnectionEventListener

java.lang.Object
  extended by org.apache.geronimo.connector.outbound.GeronimoConnectionEventListener
All Implemented Interfaces:
EventListener, javax.resource.spi.ConnectionEventListener

public class GeronimoConnectionEventListener
extends Object
implements javax.resource.spi.ConnectionEventListener

ConnectionEventListener.java Created: Thu Oct 2 14:57:43 2003


Constructor Summary
GeronimoConnectionEventListener(ConnectionInterceptor stack, ManagedConnectionInfo managedConnectionInfo)
           
 
Method Summary
 void addConnectionInfo(ConnectionInfo connectionInfo)
           
 void clearConnectionInfos()
           
 void connectionClosed(javax.resource.spi.ConnectionEvent connectionEvent)
           
 void connectionErrorOccurred(javax.resource.spi.ConnectionEvent connectionEvent)
           
 Collection<ConnectionInfo> getConnectionInfos()
           
 boolean hasConnectionInfo(ConnectionInfo connectionInfo)
           
 boolean hasConnectionInfos()
           
 boolean isFirstConnectionInfo(ConnectionInfo connectionInfo)
           
 void localTransactionCommitted(javax.resource.spi.ConnectionEvent event)
          The localTransactionCommitted method
 void localTransactionRolledback(javax.resource.spi.ConnectionEvent event)
          The localTransactionRolledback method
 void localTransactionStarted(javax.resource.spi.ConnectionEvent event)
           
 void removeConnectionInfo(ConnectionInfo connectionInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeronimoConnectionEventListener

public GeronimoConnectionEventListener(ConnectionInterceptor stack,
                                       ManagedConnectionInfo managedConnectionInfo)
Method Detail

connectionClosed

public void connectionClosed(javax.resource.spi.ConnectionEvent connectionEvent)
Specified by:
connectionClosed in interface javax.resource.spi.ConnectionEventListener

connectionErrorOccurred

public void connectionErrorOccurred(javax.resource.spi.ConnectionEvent connectionEvent)
Specified by:
connectionErrorOccurred in interface javax.resource.spi.ConnectionEventListener

localTransactionStarted

public void localTransactionStarted(javax.resource.spi.ConnectionEvent event)
Specified by:
localTransactionStarted in interface javax.resource.spi.ConnectionEventListener

localTransactionCommitted

public void localTransactionCommitted(javax.resource.spi.ConnectionEvent event)
The localTransactionCommitted method

Specified by:
localTransactionCommitted in interface javax.resource.spi.ConnectionEventListener
Parameters:
event - a ConnectionEvent value todo implement this method

localTransactionRolledback

public void localTransactionRolledback(javax.resource.spi.ConnectionEvent event)
The localTransactionRolledback method

Specified by:
localTransactionRolledback in interface javax.resource.spi.ConnectionEventListener
Parameters:
event - a ConnectionEvent value todo implement this method

addConnectionInfo

public void addConnectionInfo(ConnectionInfo connectionInfo)

removeConnectionInfo

public void removeConnectionInfo(ConnectionInfo connectionInfo)

hasConnectionInfos

public boolean hasConnectionInfos()

clearConnectionInfos

public void clearConnectionInfos()

hasConnectionInfo

public boolean hasConnectionInfo(ConnectionInfo connectionInfo)

isFirstConnectionInfo

public boolean isFirstConnectionInfo(ConnectionInfo connectionInfo)

getConnectionInfos

public Collection<ConnectionInfo> getConnectionInfos()


Copyright © 2012 Apache Software Foundation. All Rights Reserved.