Package org.springframework.data.solr.repository.support

Examples of org.springframework.data.solr.repository.support.SolrRepositoryFactory$SolrTemplateHolder


  private DerivedSolrProductRepository repo;

  @Before
  public void setUp() {
    // Create new repository instance using Factory and inject custom implementation
    repo = new SolrRepositoryFactory(this.solrOperations).getRepository(DerivedSolrProductRepository.class,
        new CustomSolrRepositoryImpl(this.solrOperations));
  }
View Full Code Here


   * @see org.springframework.data.repository.cdi.CdiRepositoryBean#create(javax.enterprise.context.spi.CreationalContext, java.lang.Class, java.lang.Object)
   */
  @Override
  protected T create(CreationalContext<T> creationalContext, Class<T> repositoryType, Object customImplementation) {
    SolrOperations solrOperations = getDependencyInstance(solrOperationsBean, SolrOperations.class);
    return new SolrRepositoryFactory(solrOperations).getRepository(repositoryType, customImplementation);
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.solr.repository.support.SolrRepositoryFactory$SolrTemplateHolder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.