Class JmixSpringInstantiator

java.lang.Object
com.vaadin.flow.di.DefaultInstantiator
com.vaadin.flow.spring.SpringInstantiator
io.jmix.flowui.sys.vaadin.JmixSpringInstantiator
All Implemented Interfaces:
com.vaadin.flow.di.Instantiator, Serializable

public class JmixSpringInstantiator extends com.vaadin.flow.spring.SpringInstantiator
See Also:
  • Field Details

  • Constructor Details

    • JmixSpringInstantiator

      public JmixSpringInstantiator(com.vaadin.flow.server.VaadinService service, org.springframework.context.ApplicationContext context)
      Creates a new spring instantiator instance.
      Parameters:
      service - the service to use
      context - the application context
  • Method Details

    • createRouteTarget

      public <T extends com.vaadin.flow.component.HasElement> T createRouteTarget(Class<T> routeTargetType, com.vaadin.flow.router.NavigationEvent event)
    • getOrCreate

      public <T> T getOrCreate(Class<T> type)
      Specified by:
      getOrCreate in interface com.vaadin.flow.di.Instantiator
      Overrides:
      getOrCreate in class com.vaadin.flow.spring.SpringInstantiator
    • init

      protected <T> void init(Class<T> type, T instance)
    • initBeforeNavigation

      protected <T> void initBeforeNavigation(Class<T> routeTargetType, com.vaadin.flow.router.NavigationEvent event, T instance)
    • getUiTestIdSupport

      protected UiTestIdSupport getUiTestIdSupport()
    • getUiProperties

      protected UiProperties getUiProperties()