code: private void deactivateEndpoints(Set<MessageEndpointFactoryImpl> mefs) {
          for (MessageEndpointFactoryImpl mef : mefs) {
              if (mef.runtimeActivated) {
                  deactivateEndpointInternal(mef);
              }
          }
      }
docs: Deactivates a set of endpoints if they have been activated.
  
  @see #activateEndpoint