Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2017-02-13 10:07:58 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
22f8c8ddbbafd6c14bd13bcc0bfc679a199bfe8b
22f8c8dd
1 parent
d4ab402c
Javadoc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
src/main/java/org/legrog/configuration/JpaConfiguration.java
src/main/java/org/legrog/configuration/SolrJConfiguration.java
src/main/java/org/legrog/configuration/JpaConfiguration.java
View file @
22f8c8d
...
...
@@ -6,7 +6,7 @@ import javax.persistence.EntityManager;
import
javax.persistence.PersistenceContext
;
/**
Classe de configutation JPA, utilisée par tous les JpaRepository.
*
Classe de configutation JPA, utilisée par tous les JpaRepository.
*/
public
class
JpaConfiguration
{
...
...
src/main/java/org/legrog/configuration/SolrJConfiguration.java
View file @
22f8c8d
...
...
@@ -5,16 +5,16 @@ import org.apache.solr.client.solrj.impl.HttpSolrClient;
import
javax.enterprise.inject.Produces
;
/*
Classe de configuration pour SolrJ
/*
*
*
Classe de configuration pour SolrJ
*/
public
class
SolrJConfiguration
{
@Produces
/*
SolrClient injectable pour les classes en ayant besoin
@return SolrClient
/*
*
*
SolrClient injectable pour les classes en ayant besoin
*
*
@return SolrClient
*/
public
SolrClient
createSolrClient
()
{
return
new
HttpSolrClient
.
Builder
(
"http://localhost:8983/solr/publishers"
).
build
();
...
...
Please
register
or
login
to post a comment