code: @Override
      public Collection<? extends NameClassPair> listRemoteInstances(String appName, String moduleName, String compName, String namespaceString,
                                                                     String nameInContext) throws NamingException {
          Collection<NameClassPair> allInstances = new HashSet<NameClassPair>();
          NamingConstants.JavaColonNamespace namespace = NamingConstants.JavaColonNamespace.fromName(namespaceString);
          ComponentMetaData cmd = getCMD(appName, moduleName, compName, namespace);
          try {
              ComponentMetaDataAccessorImpl.getComponentMetaDataAccessor().beginContext(cmd);
              Iterator<RemoteJavaColonNamingHelper> remoteJCNHelpers = remoteJavaColonNamingHelpers.getServices();
              while (remoteJCNHelpers.hasNext()) {
                  RemoteJavaColonNamingHelper helper = remoteJCNHelpers.next();
                  allInstances.addAll(helper.listRemoteInstances(namespace, nameInContext));
              }
          } finally {
              ComponentMetaDataAccessorImpl.getComponentMetaDataAccessor().endContext();
          }
          return allInstances;
      }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.ws.clientcontainer.remote.common.ClientSupport#listRemoteInstances(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)