Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -10,12 +10,12 @@ import javax.enterprise.inject.Produces; | ... | @@ -10,12 +10,12 @@ import javax.enterprise.inject.Produces; |
10 | */ | 10 | */ |
11 | public class SolrJConfiguration { | 11 | public class SolrJConfiguration { |
12 | 12 | ||
13 | - @Produces | ||
14 | /** | 13 | /** |
15 | * SolrClient injectable pour les classes en ayant besoin | 14 | * SolrClient injectable pour les classes en ayant besoin |
16 | * | 15 | * |
17 | * @return SolrClient | 16 | * @return SolrClient |
18 | */ | 17 | */ |
18 | + @Produces | ||
19 | public SolrClient createSolrClient() { | 19 | public SolrClient createSolrClient() { |
20 | return new HttpSolrClient.Builder("http://localhost:8983/solr/publishers").build(); | 20 | return new HttpSolrClient.Builder("http://localhost:8983/solr/publishers").build(); |
21 | } | 21 | } | ... | ... |
-
Please register or login to post a comment