Skip to content

Commit

Permalink
feat: 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortezz committed Aug 25, 2024
1 parent 7c6f7b7 commit 8a9ac9a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ekalia Injector

[![Sonatype Nexus (Repository)](https://img.shields.io/nexus/maven-releases/fr.ekalia.injector/ekalia-injector?server=https%3A%2F%2Fnexus.ekalia.fr&label=Release&color=green&link=https%3A%2F%2Fnexus.ekalia.fr%2F%23browse%2Fbrowse%3Amaven-release%3Afr%252Fekalia%252Finjector%252Fekalia-injector)](https://nexus.ekalia.fr/#browse/browse:maven-releases:fr%2Fekalia%2Finjector%2Fekalia-injector) [![Sonatype Nexus (Repository)](https://img.shields.io/nexus/maven-public/fr.ekalia.injector/ekalia-injector?server=https%3A%2F%2Fnexus.ekalia.fr&label=Snapshot&color=blue&link=https%3A%2F%2Fnexus.ekalia.fr%2F%23browse%2Fbrowse%3Amaven-public%3Afr%252Fekalia%252Finjector%252Fekalia-injector)](https://nexus.ekalia.fr/#browse/browse:maven-snapshots:fr%2Fekalia%2Finjector%2Fekalia-injector)
[![Release version](https://img.shields.io/nexus/maven-releases/fr.ekalia.injector/ekalia-injector?server=https%3A%2F%2Fnexus.ekalia.fr&label=Release&color=green&link=https%3A%2F%2Fnexus.ekalia.fr%2F%23browse%2Fbrowse%3Amaven-release%3Afr%252Fekalia%252Finjector%252Fekalia-injector)](https://nexus.ekalia.fr/#browse/browse:maven-releases:fr%2Fekalia%2Finjector%2Fekalia-injector) [![Snapshot Version](https://img.shields.io/nexus/maven-public/fr.ekalia.injector/ekalia-injector?server=https%3A%2F%2Fnexus.ekalia.fr&label=Snapshot&color=blue&link=https%3A%2F%2Fnexus.ekalia.fr%2F%23browse%2Fbrowse%3Amaven-public%3Afr%252Fekalia%252Finjector%252Fekalia-injector)](https://nexus.ekalia.fr/#browse/browse:maven-snapshots:fr%2Fekalia%2Finjector%2Fekalia-injector)

This is an object injector for Java programs that is used to inject objects into static fields of classes, instead of
passing them as arguments to constructors. This is useful when you have a lot of classes that need to access the same
Expand Down Expand Up @@ -85,7 +85,6 @@ You have 2 options to provide a class to the injector:
If you want the class to be automatically provided by the injector, you can use the `@Provides` annotation like this:

```java

@Provides
public class MyProvidedClass {
// ...
Expand Down Expand Up @@ -144,7 +143,6 @@ priorities, the one with the lowest priority will be injected.
You can set the priority of a provided class when you register it with the injector or in the `@Provides` annotation:

```java

@Provides(priority = InjectPriority.HIGH)
public class MyProvidedClass {
// ...
Expand Down

0 comments on commit 8a9ac9a

Please sign in to comment.