因为我发现在 Tomcat 7 源代码中bindThread()
命名的类中多次调用了命名的方法,特别是在名为. 我不明白为什么需要多次调用此方法。StandardContext
startInternal()
实际上bindThread()
是设置了线程上下文类加载器,但我不知道为什么仍然在调用中多次使用bindThread()
和unbindThread()
方法对。startInternal()
因为我发现在 Tomcat 7 源代码中bindThread()
命名的类中多次调用了命名的方法,特别是在名为. 我不明白为什么需要多次调用此方法。StandardContext
startInternal()
实际上bindThread()
是设置了线程上下文类加载器,但我不知道为什么仍然在调用中多次使用bindThread()
和unbindThread()
方法对。startInternal()