JUsecase Guice

JUsecase Guice usecase executor.

License

License

Categories

Categories

GUI User Interface Guice Application Layer Libs Dependency Injection
GroupId

GroupId

org.jusecase
ArtifactId

ArtifactId

jusecase-guice
Last Version

Last Version

0.3.1
Release Date

Release Date

Type

Type

jar
Description

Description

JUsecase Guice
JUsecase Guice usecase executor.
Project URL

Project URL

http://jusecase.org
Source Code Management

Source Code Management

https://github.com/casid/jusecase-guice.git

Download jusecase-guice

How to add to project

<!-- https://jarcasting.com/artifacts/org.jusecase/jusecase-guice/ -->
<dependency>
    <groupId>org.jusecase</groupId>
    <artifactId>jusecase-guice</artifactId>
    <version>0.3.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.jusecase/jusecase-guice/
implementation 'org.jusecase:jusecase-guice:0.3.1'
// https://jarcasting.com/artifacts/org.jusecase/jusecase-guice/
implementation ("org.jusecase:jusecase-guice:0.3.1")
'org.jusecase:jusecase-guice:jar:0.3.1'
<dependency org="org.jusecase" name="jusecase-guice" rev="0.3.1">
  <artifact name="jusecase-guice" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.jusecase', module='jusecase-guice', version='0.3.1')
)
libraryDependencies += "org.jusecase" % "jusecase-guice" % "0.3.1"
[org.jusecase/jusecase-guice "0.3.1"]

Dependencies

compile (1)

Group / Artifact Type Version
com.google.inject : guice jar 4.0

provided (1)

Group / Artifact Type Version
org.jusecase : jusecase jar 0.4.0

test (2)

Group / Artifact Type Version
org.jusecase : jusecase test-jar 0.4.0
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

JUsecase Guice

Build Status Coverage Status License Maven Central

A use case executor for JUsecase that uses Guice for dependency injection.

Setup

JUsecase Guice is available on maven central repository:

<dependency>
    <groupId>org.jusecase</groupId>
    <artifactId>jusecase-guice</artifactId>
    <version>0.3.0</version>
</dependency>

Sample usage

public class BusinessLogic extends GuiceUsecaseExecutor {
    public BusinessLogic() {
        super(Guice.createInjector());
        
        addUsecase(Login.class);
        addUsecase(Logout.class);
        addUsecase(GetUsers.class);
        // ...
    }
}

Usage in real-life project

Have a look at the BusinessLogic class at the Mazebert TD ladder backend project.

Versions

Version
0.3.1
0.3.0
0.2.0
0.1.0