code: protected final void traceChains(Object logTool, ChannelFramework cfw, Class<?> factory, String message, String prefix) {
          ChainData[] chains = null;
          String fstring = "(" + (factory == null ? "no factory specified" : factory.getName()) + ")";
  
          if (cfw == null) {
              debugTrace(logTool, prefix + " - No cfw to test factory " + fstring);
              return;
          }
  
          try {
              if (factory != null)
                  chains = cfw.getAllChains(factory);
              else
                  chains = cfw.getAllChains();
          } catch (Exception e) {
              debugTrace(logTool, "Caught Exception while trying to display configured chains: ", e);
              return;
          }
  
          if (chains == null || chains.length <= 0)
              debugTrace(logTool, prefix + " - No chains found for factory " + fstring);
          else
              traceChains(logTool, Arrays.asList(chains), message, prefix);
      }
docs: Display configured channel chains.
  
  @param logTool
  Caller's LogTool (should be Logger OR TraceComponent)
  @param cfw
  Reference to channel framework service
  @param factory
  Factory class that chains to be traced are associated with
  (e.g. ORBInboundChannelFactory.. )
  @param message
  Description to accompany trace, e.g. "CFW Channel
  Configuration"
  @param prefix
  Component-type prefix used to associate traces together, e.g.
  "XMEM", "ZIOP", "TCP", "SOAP"