Class QuarkusInstantiator

java.lang.Object
com.vaadin.quarkus.QuarkusInstantiator
All Implemented Interfaces:
com.vaadin.flow.di.Instantiator, Serializable

public class QuarkusInstantiator extends Object implements com.vaadin.flow.di.Instantiator
Instantiator implementation for Quarkus. New instances are created by default by QuarkusInstantiatorFactory.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    QuarkusInstantiator(com.vaadin.flow.di.DefaultInstantiator delegate, jakarta.enterprise.inject.spi.BeanManager beanManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends com.vaadin.flow.component.Component>
    T
    createComponent(Class<T> componentClass)
     
    jakarta.enterprise.inject.spi.BeanManager
    Gets the BeanManager instance.
    com.vaadin.flow.i18n.I18NProvider
     
    <T> T
    getOrCreate(Class<T> type)
     
    Stream<com.vaadin.flow.server.VaadinServiceInitListener>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.di.Instantiator

    createRouteTarget, getApplicationClass, getApplicationClass, getDependencyFilters, getIndexHtmlRequestListeners, getMenuAccessControl
  • Constructor Details

    • QuarkusInstantiator

      public QuarkusInstantiator(com.vaadin.flow.di.DefaultInstantiator delegate, jakarta.enterprise.inject.spi.BeanManager beanManager)
  • Method Details

    • getBeanManager

      public jakarta.enterprise.inject.spi.BeanManager getBeanManager()
      Gets the BeanManager instance.
      Returns:
      the BeanManager instance.
    • getOrCreate

      public <T> T getOrCreate(Class<T> type)
      Specified by:
      getOrCreate in interface com.vaadin.flow.di.Instantiator
    • getI18NProvider

      public com.vaadin.flow.i18n.I18NProvider getI18NProvider()
      Specified by:
      getI18NProvider in interface com.vaadin.flow.di.Instantiator
    • getServiceInitListeners

      public Stream<com.vaadin.flow.server.VaadinServiceInitListener> getServiceInitListeners()
      Specified by:
      getServiceInitListeners in interface com.vaadin.flow.di.Instantiator
    • createComponent

      public <T extends com.vaadin.flow.component.Component> T createComponent(Class<T> componentClass)
      Specified by:
      createComponent in interface com.vaadin.flow.di.Instantiator