public class VaadinAppShellInitializer extends Object implements VaadinServletContextStartupInitializer, Serializable
AppShellConfigurator configuration.
For internal use only. May be renamed or removed in a future release.
| 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)
Deprecated.
Use
#init(Set, VaadinContext) instead by wrapping
ServletContext with VaadinServletContext. |
void |
initialize(Set<Class<?>> classes,
VaadinContext context)
Applies this initializer to the given context
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessonStartup, requiresLookuppublic void initialize(Set<Class<?>> classes, VaadinContext context)
VaadinContextStartupInitializerinitialize in interface VaadinContextStartupInitializerclasses - the Set of application classes which this initializer needs to
do its jobcontext - the VaadinContext to use with this initializer@Deprecated public static void init(Set<Class<?>> classes, ServletContext context)
#init(Set, VaadinContext) instead by wrapping
ServletContext with VaadinServletContext.AppShellRegistry for the application.classes - a set of classes that matches the HandlesTypes set in
this class.context - the servlet context.public static List<Class<? extends Annotation>> getValidAnnotations()
@HandlesTypes-based classpath
scanning.VaadinAppShellInitializer#init(Set, VaadinContext)public static List<Class<?>> getValidSupers()
@HandlesTypes-based classpath
scanning.VaadinAppShellInitializer#init(Set, VaadinContext)public void contextInitialized(ServletContextEvent sce)
public void contextDestroyed(ServletContextEvent sce)
Copyright © 2021. All rights reserved.