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

org.elasticsearch.plugin.gridfs.GridFsModule Maven / Gradle / Ivy

package org.elasticsearch.plugin.gridfs;

import org.elasticsearch.common.inject.AbstractModule;
import org.elasticsearch.index.snapshots.IndexShardRepository;
import org.elasticsearch.index.snapshots.blobstore.BlobStoreIndexShardRepository;
import org.elasticsearch.repositories.Repository;
import org.elasticsearch.repositories.gridfs.GridFsRepository;
import org.elasticsearch.repositories.gridfs.GridFsService;

/**
 * GridFS repository module
 */
public class GridFsModule extends AbstractModule {

    public GridFsModule() {
        super();
    }

    @Override
    protected void configure() {
        bind(GridFsService.class).asEagerSingleton();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy