public class TemplateStartupListener extends Object implements javax.servlet.ServletContextListener
Constructor and Description |
---|
TemplateStartupListener() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
protected FileResolver |
createFileResolver() |
protected org.springframework.context.support.AbstractRefreshableConfigApplicationContext |
createWebApplicationContext(javax.servlet.ServletContext servletContext) |
protected void |
loadApplicationConfig(javax.servlet.ServletContext servletContext) |
protected void |
loadSpring(javax.servlet.ServletContext servletContext) |
protected void |
startApplication() |
protected void |
stopApplication() |
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed
in interface javax.servlet.ServletContextListener
protected void loadApplicationConfig(javax.servlet.ServletContext servletContext)
protected void loadSpring(javax.servlet.ServletContext servletContext)
protected FileResolver createFileResolver()
protected void startApplication()
protected void stopApplication()
protected org.springframework.context.support.AbstractRefreshableConfigApplicationContext createWebApplicationContext(javax.servlet.ServletContext servletContext)
Copyright © 2006–2018 TinyGroup. All rights reserved.