public class BaseShutdownHook extends Object implements javax.servlet.ServletContextListener, org.springframework.beans.factory.BeanFactoryAware, Runnable
Constructor and Description |
---|
BaseShutdownHook() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent ctx) |
void |
contextInitialized(javax.servlet.ServletContextEvent ctx) |
void |
run() |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory fac) |
protected void |
shutDownTasks() |
public void setBeanFactory(org.springframework.beans.factory.BeanFactory fac) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
protected void shutDownTasks()
public void contextDestroyed(javax.servlet.ServletContextEvent ctx)
contextDestroyed
in interface javax.servlet.ServletContextListener
public void contextInitialized(javax.servlet.ServletContextEvent ctx)
contextInitialized
in interface javax.servlet.ServletContextListener
Copyright © 2018. All rights reserved.