java.lang.Object
page.codeberg.rrangelo.contextfx.components.Injector
page.codeberg.rrangelo.contextfx.reactive.components.ReactiveInjector

public class ReactiveInjector extends Injector
Orchestrates both the standard and reactive dependency injection phases.

ReactiveInjector extends Injector to add a second injection pass for reactive stereotypes. The reactiveInject() method first runs the standard Injector.inject() pipeline (models → components → services → controllers → views), then processes the reactive equivalents in the same order:

  1. ReactiveModelInjector
  2. ReactiveComponentInjector
  3. ReactiveServiceInjector
  4. ReactiveControllerInjector
  5. ReactiveViewInjector
Author:
Ramon Rangel Osorio <ramon.rangel@protonmail.com>
See Also:
  • Constructor Details

    • ReactiveInjector

      public ReactiveInjector(ReactiveScanner reactiveScanner)
      Creates a ReactiveInjector bound to the given ReactiveScanner result set.
      Parameters:
      reactiveScanner - the scanner whose class list will be processed during reactive injection
  • Method Details

    • reactiveInject

      public final void reactiveInject()
      Runs the standard injection pipeline followed by the reactive injection pipeline. Both pipelines operate on the same class list from the bound ReactiveScanner.