code: public <T> void publisher(Class<T> api,
                            Result<T> result)
    {
      String path = api.getName();
        
      String address = address(path);
        
      ServicesAmp manager = ServicesAmp.current();
      ServiceRefAmp pubRef = manager.service(address);
        
      result.ok(pubRef.as(api));
    }
docs: Publish to a location.