com.vaadin.flow.server.startup.

Class VaadinAppShellInitializer

    • Constructor Detail

      • VaadinAppShellInitializer

        public VaadinAppShellInitializer()
    • Method Detail

      • init

        public static void init(Set<Class<?>> classes,
                                ServletContext context,
                                DeploymentConfiguration config)

        Initializes the AppShellRegistry for the application.

        Parameters:

        classes - a set of classes that matches the HandlesTypes set in this class.

        context - the servlet context.

        config - the vaadin configuration for the application.

      • getValidAnnotations

        public static List<Class<? extends Annotation>> getValidAnnotations()

        Return the list of annotations handled by this class. This method is thought to be called from external plugins (e.g. Vaadin Spring) that would need to override the @HandlesTypes-based classpath scanning.

        Returns:

        list of annotations handled by init(Set, ServletContext, DeploymentConfiguration)

      • getValidSupers

        public static List<Class<?>> getValidSupers()

        Return the list of super classes handled by this class. This method is thought to be called from external plugins (e.g. Vaadin Spring) that would need to override the @HandlesTypes-based classpath scanning.

        Returns:

        list of super classes handled by init(Set, ServletContext, DeploymentConfiguration)

      • contextInitialized

        public void contextInitialized(ServletContextEvent sce)
      • contextDestroyed

        public void contextDestroyed(ServletContextEvent sce)