public List < String > dumpAllOpenedResources ( ) { List < String > dumps = new ArrayList < String > ( ) ; for ( LeakDetectorConnection connection : openConnections ) { dumps . add ( connection . dumpCreationContext ( "" ) ) ; for ( LeakDetectorSession session : connection . getOpenSessions ( ) ) { dumps . add ( session . dumpCreationContext ( " " ) ) ; for ( LeakDetectorMessageProducer producer : session . getOpenMessageProducers ( ) ) { dumps . add ( producer . dumpCreationContext ( " " ) ) ; } for ( LeakDetectorMessageConsumer consumer : session . getOpenMessageConsumers ( ) ) { dumps . add ( consumer . dumpCreationContext ( " " ) ) ; } } } return dumps ; }
List all the currently opened connection session message producer message consumer