diff --git a/inject.html b/inject.html index 2634057a..35fc003c 100644 --- a/inject.html +++ b/inject.html @@ -3,7 +3,7 @@ -ActiveJ Inject | Lightning-fast and ultimately powerful Dependency Injection Java library. Multithreaded friendly, feature-rich, and can boast with lighting-fast start-up time and runtime | ActiveJ 6.0 +ActiveJ Inject | Lightning-fast and ultimately powerful Dependency Injection Java library. Multithreaded friendly, feature-rich, and can boast with lightning-fast start-up time and runtime | ActiveJ 6.0 @@ -30,7 +30,7 @@

Why Activ
  • No third-party dependencies
  • Dependency Injection: Redefined

    -

    Enjoy development with a wide range of powerful tools. ActiveJ Inject makes it easy to develop, debugg, refactor, and reuse code without restrictions or overhead.

    +

    Enjoy development with a wide range of powerful tools. ActiveJ Inject makes it easy to develop, debug, refactor, and reuse code without restrictions or overhead.

    Annotation processing is separated into a standard plugin, which is used by default and allows you to generate missing dependencies. However, if you need to implement complex business logic, you can either use ActiveJ Inject DSL or even create your own annotations processing plugins.

    DSL provides support for programmatic binding generation, dependency graph introspection, transformations, automatic generation of missing bindings, and modification of existing bindings. In this way, you can use the full power of Java to algorithmically create complex bindings and dependencies graphs directly at runtime, taking into account the runtime information and settings.

    Module cookbook = new AbstractModule() {
    @Provides
    Sugar sugar() { return new Sugar("Sugar", 10.f); }

    @Provides
    Butter butter() { return new Butter("Butter", 20.0f); }

    @Provides
    Flour flour() { return new Flour("Flour", 100.0f); }

    @Provides
    Pastry pastry(Sugar sugar, Butter butter, Flour flour) {
    return new Pastry(sugar, butter, flour);
    }

    @Provides
    Cookie cookie(Pastry pastry) {
    return new Cookie(pastry);
    }
    };
    Injector.of(cookbook).getInstance(Cookie.class);
    @@ -38,4 +38,4 @@

    Github or Maven).

    - \ No newline at end of file +