private void stopChain ( String name , Event event ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEventEnabled ( ) ) { Tr . event ( tc , "Stop chain event; chain=" + name ) ; } ChannelFramework cf = ChannelFrameworkFactory . getChannelFramework ( ) ; try { if ( cf . isChainRunning ( name ) ) { // stop the chain now.. cf . stopChain ( name , 0L ) ; } } catch ( Exception e ) { FFDCFilter . processException ( e , getClass ( ) . getName ( ) , "stopChain" , new Object [ ] { event , cf } ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEventEnabled ( ) ) { Tr . event ( tc , "Error stopping chain; " + e ) ; } } }
Stop the explicit chain provided .