-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Guice config, marked version 7.0.0-RC1
- Loading branch information
Showing
3 changed files
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,7 @@ repositories { | |
|
||
allprojects { | ||
group='cz.incad.kramerius' | ||
version='7.0.0-beta1' | ||
version='7.0.0-RC1' | ||
} | ||
|
||
|
||
|
15 changes: 15 additions & 0 deletions
15
shared/common/src/main/java/cz/incad/kramerius/service/impl/SortingModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package cz.incad.kramerius.service.impl; | ||
|
||
import com.google.inject.AbstractModule; | ||
import com.google.inject.Scopes; | ||
import cz.incad.kramerius.relation.RelationService; | ||
import cz.incad.kramerius.relation.impl.RelationServiceImpl; | ||
import cz.incad.kramerius.service.SortingService; | ||
|
||
public class SortingModule extends AbstractModule { | ||
@Override | ||
protected void configure() { | ||
bind(RelationService.class).to(RelationServiceImpl.class).in(Scopes.SINGLETON); | ||
bind(SortingService.class).to(SortingServiceImpl.class).in(Scopes.SINGLETON); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters