com.vaadin.flow.server.startup.
Class VaadinAppShellInitializer
- java.lang.Object
-
- com.vaadin.flow.server.startup.VaadinAppShellInitializer
-
All Implemented Interfaces:
public class VaadinAppShellInitializer extends Object implements Serializable
Servlet initializer visiting
AppShellConfigurator
configuration.Since:
3.0
See Also:
-
-
Constructor Summary
Constructors Constructor and Description VaadinAppShellInitializer()
-
Method Summary
All Methods Modifier and Type Method and Description void
contextDestroyed(ServletContextEvent sce)
void
contextInitialized(ServletContextEvent sce)
static List<Class<? extends Annotation>>
getValidAnnotations()
Return the list of annotations handled by this class.
static List<Class<?>>
getValidSupers()
Return the list of super classes handled by this class.
static void
init(Set<Class<?>> classes, ServletContext context, DeploymentConfiguration config)
Initializes the
AppShellRegistry
for the application.void
onStartup(Set<Class<?>> classes, ServletContext context)
-
-
-
Method Detail
-
onStartup
public void onStartup(Set<Class<?>> classes, ServletContext context) throws ServletException
Throws:
ServletException
-
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 theHandlesTypes
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)
-
-