@Override
public void callContextInitialized(ServletContextListener l, ServletContextEvent e)
{
try
{
//toggle state of the dynamic API so that the listener cannot use it
if(isProgrammaticListener(l))
this.getServletContext().setEnabled(false);
super.callContextInitialized(l, e);
}
finally
{
//untoggle the state of the dynamic API
this.getServletContext().setEnabled(true);
}
}
ServletContextHandler.java 文件源码
java
阅读 38
收藏 0
点赞 0
评论 0
项目:marathon-auth-plugin
作者:
评论列表
文章目录