Introduction

Infuse is a dependency injection library.

Overview

Infuse is a lightweight, powerful dependency injection library for Java designed to simplify the management of object creation and dependency resolution. Some of its features are:

  • Annotation-Driven: Utilizes custom annotations like @Inject for easy dependency management.

  • Support for Lifecycle Methods: Annotations like @PostConstruct and @PreDestroy allow for lifecycle management.

  • Flexible Binding: Supports various types of bindings including singleton and instance providers.

  • Eager and Lazy Initialization: Options for both eager and lazy initialization of dependencies.

  • Nested Injection: Supports nested dependency injection through child injectors.

Last updated