You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.server.startup.

Class VaadinAppShellInitializer

    • Constructor Detail

      • VaadinAppShellInitializer

        public VaadinAppShellInitializer()
    • Method Detail

      • init

        public static void init​(Set<Class<?>> classes,
                                VaadinContext context)

        Initializes the AppShellRegistry for the application.

        Parameters:

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

        context - the VaadinContext.

      • 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, VaadinContext)

      • 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, VaadinContext)

      • contextInitialized

        public void contextInitialized​(javax.servlet.ServletContextEvent sce)

        Specified by:

        contextInitialized in interface javax.servlet.ServletContextListener

      • contextDestroyed

        public void contextDestroyed​(javax.servlet.ServletContextEvent sce)

        Specified by:

        contextDestroyed in interface javax.servlet.ServletContextListener