Class DemoProducers

java.lang.Object
ai.redouble.demo.quarkus.DemoProducers

@ApplicationScoped public class DemoProducers extends Object
The engine's plain objects handed to the CDI container: the same FileIndex, DemoCorpus and DemoCatalog the Spring host wires as beans, produced here as application-scoped singletons so the JAX-RS resources inject them. The engine knows nothing of either container; each host supplies these one way it understands.
Since:
0.1 (2026-09-22)
Author:
Andrey Santrosyan
  • Constructor Details

    • DemoProducers

      public DemoProducers()
  • Method Details

    • fileIndex

      @Produces @ApplicationScoped public FileIndex fileIndex()
    • demoCorpus

      @Produces @ApplicationScoped public DemoCorpus demoCorpus()
    • demoCatalog

      @Produces @ApplicationScoped public DemoCatalog demoCatalog()
    • catalogAdmin

      @Produces @ApplicationScoped public CatalogAdmin catalogAdmin(DemoCatalog catalog, DemoCorpus corpus, SessionCredentials session)
      The shared write-side catalog logic, over this host's session credential store.