Search in sources :

Example 1 with HandlebarsKnotProxyImpl

use of io.knotx.knot.templating.impl.HandlebarsKnotProxyImpl 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));
}
Also used : ServiceBinder(io.vertx.serviceproxy.ServiceBinder) KnotProxy(io.knotx.proxy.KnotProxy) HandlebarsKnotProxyImpl(io.knotx.knot.templating.impl.HandlebarsKnotProxyImpl)

Aggregations

HandlebarsKnotProxyImpl (io.knotx.knot.templating.impl.HandlebarsKnotProxyImpl)1 KnotProxy (io.knotx.proxy.KnotProxy)1 ServiceBinder (io.vertx.serviceproxy.ServiceBinder)1