docs: public String findDestinationByName(String application,
                                          String module,
                                          String link)
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.entry(tc, "findDestinationByName : " + application + ":" +
                           module + ":" + link);
  
          String boundToJndiName = null;
  
          Map<String, Map<String, String>> appMap = ivMessageDestinationLinks.get(application);
  
          // if not null check
          if (appMap == null)
          {
              if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                  Tr.exit(tc, "findDestinationByName : application not found");
              return null;
          }
  
          int lindex = link.indexOf('#');
          if (lindex != -1)
          {
              String moduleName = null;
              // Module name may have path information... remove it.          d510405
              int mindex = link.lastIndexOf('/');
              if (mindex > -1 && mindex < lindex)
              {
                  moduleName = link.substring(mindex + 1, lindex);
              }
              else
              {
                  // If no path was specified, then the referenced module
                  // is in the same location. Use first half of the link.
                  moduleName = link.substring(0, lindex);
              }
              String newLink = link.substring(lindex + 1);
  
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                  Tr.debug(tc, "looking for module : " + moduleName);
              Map<String, String> moduleMap = appMap.get(moduleName);
              if (moduleMap != null)
              {
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                      Tr.debug(tc, "looking for link : " + newLink);
                  boundToJndiName = moduleMap.get(newLink);
              }
          }
          else
          {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                  Tr.debug(tc, "looking for module : " + module);
              Map<String, String> moduleMap = appMap.get(module);
              if (moduleMap != null)
              {
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                      Tr.debug(tc, "looking for link : " + link);
                  boundToJndiName = moduleMap.get(link);
              }
  
              // If the link was not found in the current module, loop through
              // all the modules in the application
              if (boundToJndiName == null)
              {
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                      Tr.debug(tc, "not in specified module, looking in all modules");
  
                  for (Map<String, String> curModuleMap : appMap.values())
                  {
                      if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                          Tr.debug(tc, "looking for link : " + link);
                      boundToJndiName = curModuleMap.get(link);
                      if (boundToJndiName != null)
                      {
                          break;
                      }
                  }
              }
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.exit(tc, "findDestinationByName : " + boundToJndiName);
  
          return boundToJndiName;
      }