/* */ {
/* 350 */ List sces = new ArrayList();
/* */
/* 352 */ for (Map.Entry entry : endpoints.entrySet())
/* */ {
/* 354 */ ConnectionEndpoint sce = (ConnectionEndpoint)entry.getValue();
/* 355 */ sces.add(sce);
/* */ }
/* */
/* 362 */ for (ConnectionEndpoint sce : sces)
/* */ {
/* */ try
/* */ {
/* 366 */ log.debug("clPearing up state for connection " + sce);
/* 367 */ sce.closing(-1L);
/* 368 */ sce.close();
/* 369 */ log.debug("cleared up state for connection " + sce);
/* */ }
/* */ catch (JMSException e)
/* */ {
/* 373 */ log.error("Failed to close connection", e);