public class VaadinAppShellInitializer extends Object implements Serializable
AppShellConfigurator
configuration.Constructor and Description |
---|
VaadinAppShellInitializer() |
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) |
public void onStartup(Set<Class<?>> classes, ServletContext context) throws ServletException
ServletException
public static void init(Set<Class<?>> classes, ServletContext context, DeploymentConfiguration config)
AppShellRegistry
for the application.classes
- a set of classes that matches the HandlesTypes
set in
this class.context
- the servlet context.config
- the vaadin configuration for the application.public static List<Class<? extends Annotation>> getValidAnnotations()
@HandlesTypes
-based classpath
scanning.init(Set, ServletContext, DeploymentConfiguration)
public static List<Class<?>> getValidSupers()
@HandlesTypes
-based classpath
scanning.init(Set, ServletContext, DeploymentConfiguration)
public void contextInitialized(ServletContextEvent sce)
public void contextDestroyed(ServletContextEvent sce)
Copyright © 2020. All rights reserved.