use of io.vertx.serviceproxy.ServiceBinder in project knotx by Cognifide.
the class ActionKnotVerticle method start.
@Override
public void start() throws Exception {
LOGGER.info("Starting <{}>", this.getClass().getSimpleName());
// register the service proxy on event bus
serviceBinder = new ServiceBinder(getVertx());
consumer = serviceBinder.setAddress(configuration.address()).register(KnotProxy.class, new ActionKnotProxyImpl(vertx, configuration, new DefaultFormSimplifier()));
}
use of io.vertx.serviceproxy.ServiceBinder in project knotx by Cognifide.
the class FragmentAssemblerVerticle method start.
@Override
public void start() throws Exception {
LOGGER.info("Starting <{}>", this.getClass().getSimpleName());
// register the service proxy on event bus
serviceBinder = new ServiceBinder(getVertx());
consumer = serviceBinder.setAddress(configuration.address()).register(KnotProxy.class, new FragmentAssemblerKnotProxyImpl(config()));
}
use of io.vertx.serviceproxy.ServiceBinder in project knotx by Cognifide.
the class HandlebarsKnotVerticle method start.
@Override
public void start() throws Exception {
LOGGER.info("Starting <{}>", this.getClass().getSimpleName());
// register the service proxy on event bus
serviceBinder = new ServiceBinder(getVertx());
consumer = serviceBinder.setAddress(configuration.address()).register(KnotProxy.class, new HandlebarsKnotProxyImpl(configuration));
}
use of io.vertx.serviceproxy.ServiceBinder in project knotx by Cognifide.
the class HttpActionAdapterVerticle method start.
@Override
public void start() throws Exception {
LOGGER.info("Starting <{}>", this.getClass().getSimpleName());
// register the service proxy on event bus
serviceBinder = new ServiceBinder(getVertx());
consumer = serviceBinder.setAddress(configuration.getAddress()).register(AdapterProxy.class, new HttpActionAdapterProxyImpl(vertx, configuration));
}
use of io.vertx.serviceproxy.ServiceBinder in project knotx by Cognifide.
the class GatewayKnotVerticle method start.
@Override
public void start() throws Exception {
LOGGER.info("Starting <{}>", this.getClass().getSimpleName());
// register the service proxy on event bus
serviceBinder = new ServiceBinder(getVertx());
consumer = serviceBinder.setAddress(configuration.getAddress()).register(KnotProxy.class, new GatewayKnotProxyImpl());
}
Aggregations