Class CdiInstantiatorFactory

java.lang.Object
com.vaadin.cdi.CdiInstantiatorFactory
All Implemented Interfaces:
com.vaadin.flow.di.InstantiatorFactory

public class CdiInstantiatorFactory extends Object implements com.vaadin.flow.di.InstantiatorFactory
Default CDI instantiator factory.

Can be overridden by a @VaadinServiceEnabled CDI Alternative/Specializes, or can be customized with a Decorator.

See Also:
  • Instantiator
  • Constructor Details

    • CdiInstantiatorFactory

      public CdiInstantiatorFactory()
  • Method Details

    • createInstantitor

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

      public Class<? extends com.vaadin.flow.server.VaadinService> getServiceClass()