/** * {@inheritDoc} */ @Override public ServiceDiscovery registerServiceExporter(ServiceExporter exporter, JsonObject configuration) { return unmanagedDiscoveryInstance.registerServiceExporter(exporter, configuration); }
@Override public ServiceDiscovery registerServiceExporter(ServiceExporter exporter, JsonObject configuration, Handler<AsyncResult<Void>> completionHandler) { return unmanagedDiscoveryInstance.registerServiceExporter(exporter, configuration, completionHandler); }
/** * Registers a discovery bridge. Exporters let you integrate other discovery technologies in this service * discovery. * @param exporter the service exporter * @param configuration the optional configuration * @param completionHandler handler notified when the exporter has been correctly initialized. * @return the current {@link io.vertx.rxjava.servicediscovery.ServiceDiscovery} */ public io.vertx.rxjava.servicediscovery.ServiceDiscovery registerServiceExporter(io.vertx.rxjava.servicediscovery.spi.ServiceExporter exporter, JsonObject configuration, Handler<AsyncResult<Void>> completionHandler) { io.vertx.rxjava.servicediscovery.ServiceDiscovery ret = io.vertx.rxjava.servicediscovery.ServiceDiscovery.newInstance(delegate.registerServiceExporter(exporter.getDelegate(), configuration, completionHandler)); return ret; }
public static io.vertx.servicediscovery.ServiceDiscovery registerServiceExporter(io.vertx.servicediscovery.ServiceDiscovery j_receiver, io.vertx.servicediscovery.spi.ServiceExporter exporter, java.util.Map<String, Object> configuration, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> completionHandler) { return io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.registerServiceExporter(exporter, configuration != null ? io.vertx.core.impl.ConversionHelper.toJsonObject(configuration) : null, completionHandler != null ? new io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>() { public void handle(io.vertx.core.AsyncResult<java.lang.Void> ar) { completionHandler.handle(ar.map(event -> io.vertx.core.impl.ConversionHelper.fromObject(event))); } } : null)); } public static void publish(io.vertx.servicediscovery.ServiceDiscovery j_receiver, java.util.Map<String, Object> record, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.Map<String, Object>>> resultHandler) {
/** * Registers a discovery bridge. Exporters let you integrate other discovery technologies in this service * discovery. * @param exporter the service exporter * @param configuration the optional configuration * @return the current {@link io.vertx.rxjava.servicediscovery.ServiceDiscovery} */ public io.vertx.rxjava.servicediscovery.ServiceDiscovery registerServiceExporter(io.vertx.rxjava.servicediscovery.spi.ServiceExporter exporter, JsonObject configuration) { io.vertx.rxjava.servicediscovery.ServiceDiscovery ret = io.vertx.rxjava.servicediscovery.ServiceDiscovery.newInstance(delegate.registerServiceExporter(exporter.getDelegate(), configuration)); return ret; }
public static io.vertx.servicediscovery.ServiceDiscovery registerServiceExporter(io.vertx.servicediscovery.ServiceDiscovery j_receiver, io.vertx.servicediscovery.spi.ServiceExporter exporter, java.util.Map<String, Object> configuration) { return io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.registerServiceExporter(exporter, configuration != null ? io.vertx.core.impl.ConversionHelper.toJsonObject(configuration) : null)); } public static io.vertx.servicediscovery.ServiceDiscovery registerServiceExporter(io.vertx.servicediscovery.ServiceDiscovery j_receiver, io.vertx.servicediscovery.spi.ServiceExporter exporter, java.util.Map<String, Object> configuration, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> completionHandler) {
/** * Registers a discovery bridge. Exporters let you integrate other discovery technologies in this service * discovery. * @param exporter the service exporter * @param configuration the optional configuration * @param completionHandler handler notified when the exporter has been correctly initialized. * @return the current {@link io.vertx.rxjava.servicediscovery.ServiceDiscovery} */ public io.vertx.rxjava.servicediscovery.ServiceDiscovery registerServiceExporter(io.vertx.rxjava.servicediscovery.spi.ServiceExporter exporter, JsonObject configuration, Handler<AsyncResult<Void>> completionHandler) { io.vertx.rxjava.servicediscovery.ServiceDiscovery ret = io.vertx.rxjava.servicediscovery.ServiceDiscovery.newInstance(delegate.registerServiceExporter(exporter.getDelegate(), configuration, completionHandler)); return ret; }
/** * Registers a discovery bridge. Exporters let you integrate other discovery technologies in this service * discovery. * @param exporter the service exporter * @param configuration the optional configuration * @return the current {@link io.vertx.rxjava.servicediscovery.ServiceDiscovery} */ public io.vertx.rxjava.servicediscovery.ServiceDiscovery registerServiceExporter(io.vertx.rxjava.servicediscovery.spi.ServiceExporter exporter, JsonObject configuration) { io.vertx.rxjava.servicediscovery.ServiceDiscovery ret = io.vertx.rxjava.servicediscovery.ServiceDiscovery.newInstance(delegate.registerServiceExporter(exporter.getDelegate(), configuration)); return ret; }
discovery.registerServiceExporter(exporter, new JsonObject());
discovery.registerServiceExporter(exporter, new JsonObject());