/**
* Close the managed connection.
*/
public void close (ConnectionSupport connection) {
ConnectionEvent event = new ConnectionEvent
(this, ConnectionEvent.CONNECTION_CLOSED);
event.setConnectionHandle(connection);
for (Iterator i = listeners.iterator(); i.hasNext();) {
((ConnectionEventListener)i.next()).connectionClosed(event);
}
connection.setManagedConnection(null);
connections.remove(connection);