What is ActiveInject?
ActiveInject is one of the ActiveJ technologies, but it has minimal third-party dependencies and can be used as a stand-alone component.
Dependency Injection: Redefined
Enjoy development with a wide range of powerful tools. ActiveInject simplifies development,
debugging, refactoring and reusing of your code without restrictions and overhead.
The annotations processing is separated into a standard plugin that is used by default and allows for generation of missing dependencies. Yet if you need to implement a complex business logic, you can either use ActiveInject DSL, or even create your own annotations processing plugins.
The DSL provides support for programmatic binding generation, introspections of dependencies graphs, transformations, automatic generation of missing bindings, and modification of the already existing bindings. This way you can use the full power of Java to algorithmically create complex bindings and dependencies graphs directly in runtime with respect to the runtime information and settings.
We’ve compared ActiveInject to Guice and Spring in the same scenario using JMH as the benchmark tool. We ran benchmarks in AverageTime mode and made 20 measurements.
Add ActiveInject to your project
ActiveInject is one of the ActiveJ technologies that also include cloud solutions, lightning-fast serializers, bytecode generators and others. To learn more about ActiveJ ecosystem, visit ActiveJ website.