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());
}
}