code: private void updateSchemeJndiNames(boolean activating) {
          for (Map.Entry<J2EEName, SchemeJndiNameInfo> entry : schemeJndiNames.entrySet()) {
              SchemeJndiNameInfo info = entry.getValue();
              info.updateLookupResult();
              if (activating && info.lookupSucceeded()) {
                  activateDeferredEndpoints(info.endpointFactories);
              } else if (!activating && !info.lookupSucceeded()) {
                  deactivateEndpoints(info.endpointFactories);
              }
          }
      }
docs: Internal method for checking all known lookups and activating/deactivating
  endpoints as needed in response to the results.
  
  @param activating true if new services have just come up, false if they are going down