code: public ManagedServiceBuilder addEndpointService(final Object endpointService) {
          getContextMetaBuilder().addService(endpointService.getClass());
          getEndpointServices().add(endpointService);
          return this;
      }
docs: Add an endpoint service
  
  @param endpointService endpoint service
  @return this, fluent