code: @Override
      public List<String> listEndpoints() {
          Collection<PauseableComponent> pauseableComponents = pauseableComponentController.getPauseableComponents();
          ArrayList<String> endpoints = new ArrayList<String>();
          // get the name of each endpoint
          for (PauseableComponent pauseableComponent : pauseableComponents) {
              endpoints.add(pauseableComponent.getName());
          }
          return endpoints;
      }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.websphere.kernel.server.ServerEndpointControlMBean#listEndpoints()