public class DevModeInitializer extends Object implements Serializable
Constructor and Description |
---|
DevModeInitializer() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(ServletContextEvent ctx) |
void |
contextInitialized(ServletContextEvent ctx) |
static void |
initDevModeHandler(Set<Class<?>> classes,
ServletContext context,
DeploymentConfiguration config)
Initialize the devmode server if not in production mode or compatibility
mode.
|
void |
onStartup(Set<Class<?>> classes,
ServletContext context) |
public void onStartup(Set<Class<?>> classes, ServletContext context) throws ServletException
ServletException
public static void initDevModeHandler(Set<Class<?>> classes, ServletContext context, DeploymentConfiguration config) throws ServletException
classes
- classes to check for npm- and js modulescontext
- servlet context we are running inconfig
- deployment configurationServletException
- if dev mode can't be initializedpublic void contextInitialized(ServletContextEvent ctx)
public void contextDestroyed(ServletContextEvent ctx)
Copyright © 2020. All rights reserved.