ServletContextHandler.java 文件源码

java
阅读 38 收藏 0 点赞 0 评论 0

项目:marathon-auth-plugin 作者:
@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);
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号