The Injector

The InfuseInjector class in the Infuse framework is an implementation of the Injector interface. It is responsible for managing the creation, injection, and lifecycle of dependencies in your Java applications.

Key Features

  • Dependency Injection: Automatically injects dependencies into classes based on annotations.

  • Instance Provisioning: Provides instances of classes either through constructor, field, or method injection.

  • Lifecycle Management: Manages the lifecycle of dependencies, including initialization and destruction.

  • Module Integration: Integrates with modules to define and organize dependencies.

  • Hierarchical Injectors: Supports parent-child relationships for scoped dependency management.

Last updated