All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bazoud.elasticsearch.river.git.GitRiverModule Maven / Gradle / Ivy

package com.bazoud.elasticsearch.river.git;

import org.elasticsearch.common.inject.AbstractModule;
import org.elasticsearch.river.River;

/**
 * @author Olivier Bazoud
 */
public class GitRiverModule extends AbstractModule {
    @Override
    protected void configure() {
        bind(River.class).to(GitRiver.class).asEagerSingleton();
        bind(FunctionFlowFactory.class).toInstance(new FunctionFlowFactory());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy