Class QuarkusInstantiatorFactory

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

@ApplicationScoped public class QuarkusInstantiatorFactory extends Object implements 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:
  • Constructor Details

    • QuarkusInstantiatorFactory

      public QuarkusInstantiatorFactory()
  • Method Details

    • createInstantitor

      public Instantiator createInstantitor(VaadinService vaadinService)
      Description copied from interface: InstantiatorFactory
      Create an Instantiator using the provided service.
      Specified by:
      createInstantitor in interface InstantiatorFactory
      Parameters:
      vaadinService - a VaadinService to create an Instantiator for
      Returns:
      an instantiator for the service or null if this factory is not able to create an instantiator for the provided service
    • getServiceClass

      public Class<? extends 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.