Class QuarkusInstantiatorFactory

java.lang.Object
com.vaadin.quarkus.QuarkusInstantiatorFactory
All Implemented Interfaces:
com.vaadin.flow.di.InstantiatorFactory

@ApplicationScoped public class QuarkusInstantiatorFactory extends Object implements com.vaadin.flow.di.InstantiatorFactory
Instantiator factory implementation based on Quarkus DI feature. Quarkus DI solution (also called ArC) is based on the Contexts and Dependency Injection for Java 2.0 specification, but it is not a full CDI implementation. Only a subset of the CDI features is implemented. See Quarkus CDI Reference for further details.
See Also:
  • InstantiatorFactory
  • Constructor Details

    • QuarkusInstantiatorFactory

      public QuarkusInstantiatorFactory()
  • Method Details

    • createInstantitor

      public com.vaadin.flow.di.Instantiator createInstantitor(com.vaadin.flow.server.VaadinService vaadinService)
      Specified by:
      createInstantitor in interface com.vaadin.flow.di.InstantiatorFactory
    • getServiceClass

      public Class<? extends com.vaadin.flow.server.VaadinService> getServiceClass()
      Gets the service class that this instantiator factory is supposed to work with.
      Returns:
      the service class this instantiator factory is supposed to work with.