Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.englishtown.vertx.solr.hk2;
 
HK2 binder for solr
public class SolrBinder extends AbstractBinder {
    
Implement to provide binding definitions using the exposed binding methods.
    @Override
    protected void configure() {
        bind(JsonConfigSolrConfigurator.class).to(SolrConfigurator.class).in(Singleton.class);
        bind(DefaultSolrService.class).to(SolrService.class).in(Singleton.class);
        bind(DefaultQueryBuilder.class).to(QueryBuilder.class);
    }
New to GrepCode? Check out our FAQ X