Search in sources :

Example 1 with FilesystemRepositoryConnectorProxyImpl

use of io.knotx.repository.impl.FilesystemRepositoryConnectorProxyImpl in project knotx by Cognifide.

the class FilesystemRepositoryConnectorVerticle 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(address).register(RepositoryConnectorProxy.class, new FilesystemRepositoryConnectorProxyImpl(vertx, config()));
}
Also used : ServiceBinder(io.vertx.serviceproxy.ServiceBinder) RepositoryConnectorProxy(io.knotx.proxy.RepositoryConnectorProxy) FilesystemRepositoryConnectorProxyImpl(io.knotx.repository.impl.FilesystemRepositoryConnectorProxyImpl)

Aggregations

RepositoryConnectorProxy (io.knotx.proxy.RepositoryConnectorProxy)1 FilesystemRepositoryConnectorProxyImpl (io.knotx.repository.impl.FilesystemRepositoryConnectorProxyImpl)1 ServiceBinder (io.vertx.serviceproxy.ServiceBinder)1