Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Necessary to pass on the connection. Geronimo codes needs to remove it from GeronimoConnectionEventListener.connectionInfos
Adds the following line:
event.setConnectionHandle(jdbcConn);
as above:
/**
- Invoked by the JdbcConneciton when its close() method is called.
- This method invalidates the JdbcConnection handle, removes it from
- the list of active handles and notifies all the ConnectionEventListeners.
*/
protected void connectionClose(JdbcConnection jdbcConn)Unknown macro: { jdbcConn.invalidate(); jdbcConnections.remove(jdbcConn); ConnectionEvent event = new ConnectionEvent(this, ConnectionEvent.CONNECTION_CLOSED); event.setConnectionHandle(jdbcConn); Object [] elements = listeners.toArray(); for(int i = 0; i < elements.length; i++){ ConnectionEventListener eventListener = (ConnectionEventListener)elements[i]; eventListener.connectionClosed(event); } }