public class Weixin4jServerStartupListener extends Object implements javax.servlet.ServletContextListener
| Constructor and Description |
|---|
Weixin4jServerStartupListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
void |
start(org.springframework.context.ApplicationContext applicationContext)
启动服务
|
void |
stop()
关闭服务
|
public void start(org.springframework.context.ApplicationContext applicationContext)
applicationContext - public void stop()
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed in interface javax.servlet.ServletContextListenerCopyright © 2014–2020. All rights reserved.