code: private String dumpJavaColonCompEnvMap() {
          StringBuffer buffer = new StringBuffer("");
          buffer.append("EJBContext.lookup data structure contents:\n");
          buffer.append("   Contains **" + ivJavaColonCompEnvMap.size() + "** bindings.\n");
          if (!ivJavaColonCompEnvMap.isEmpty()) {
              Set<Map.Entry<String, InjectionBinding<?>>> entries = ivJavaColonCompEnvMap.entrySet();
              Iterator<Map.Entry<String, InjectionBinding<?>>> entryIterator = entries.iterator();
              int count = 0;
              while (entryIterator.hasNext()) {
                  Map.Entry<String, InjectionBinding<?>> oneEntry = entryIterator.next();
                  buffer.append("     Entry " + count + "\n");
                  buffer.append("            Key: **" + oneEntry.getKey() + "**\n");
                  buffer.append("            Value: **" + oneEntry.getValue() + "**\n");
                  buffer.append("\n");
                  count++;
              }
          }
          return buffer.toString();
      }
docs: Provides nice looking trace output for the EJBContext.lookup data structure.