javafx-weaver-spring

An opinionated view on how to add dependency injection to JavaFX

License

License

Categories

Categories

Net JavaFX User Interface
GroupId

GroupId

net.rgielen
ArtifactId

ArtifactId

javafx-weaver-spring
Last Version

Last Version

1.3.0
Release Date

Release Date

Type

Type

jar
Description

Description

javafx-weaver-spring
An opinionated view on how to add dependency injection to JavaFX

Download javafx-weaver-spring

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
net.rgielen : javafx-weaver-core jar 1.3.0
org.openjfx : javafx-fxml Optional jar 11.0.2

provided (1)

Group / Artifact Type Version
org.springframework : spring-context jar

test (3)

Group / Artifact Type Version
junit : junit jar 4.12
org.assertj : assertj-core jar 3.13.2
org.mockito : mockito-core jar 3.1.0

Project Modules

There are no modules declared in this project.

Maven Central Build Status

JavaFX-Weaver

An opinionated view on how to do dependency injection and FXML view handling in JavaFX.

Complementary Blog Posts:

Features:

Getting Started

Spring Boot

Add the Spring Boot Starter dependency to your project and you are all set:

with Maven:

<dependency>
    <groupId>net.rgielen</groupId>
    <artifactId>javafx-weaver-spring-boot-starter</artifactId>
    <version>1.3.0</version>
</dependency>

with Gradle:

implementation 'net.rgielen:javafx-weaver-spring-boot-starter:1.3.0'

Manual Setup

Add javafx-weaver-core or `javafx-weaver-spring`as a dependency to your project.

with Maven:

<dependency>
    <groupId>net.rgielen</groupId>
    <artifactId>javafx-weaver-core</artifactId>
    <version>1.3.0</version>
</dependency>

with Gradle:

implementation 'javafx-weaver-spring-boot-starter:1.3.0'

Using FxWeaver

For now, refer to the JavaDocs and the Spring Boot based FxWeaver Sample and Feature Demo Project.

More documentation to come.

License

The project is licensed under Apache License V2.0.

Contributing

Feel free to open issues and pull requests on GitHub. This is a side project of mine, so please don’t expect enterprise grade support.

You can find me on Twitter as well: @rgielen

Versions

Version
1.3.0
1.2.0
1.1.0
1.0.0