You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Lebing Xie <xi...@fokus.fraunhofer.de> on 2005/07/26 11:43:36 UTC

bindThread() and unbindThread(oldCCL) in StandardContext start()

Hi, all
Here is a question about StandardContext start.

                // Binding thread
                oldCCL = bindThread();
		....
		....
                // Unbinding thread
                unbindThread(oldCCL);

and in bindThread(), 2 static methods
	//Binds a directory context to a class loader.
	DirContextURLStreamHandler.bind(getResources());  
	//Binds a naming context to a thread.
	ContextBindings.bindThread(this, this);

What is the idea behind it and why I need it? Seemed as I need a
directory context and a naming context for the start.

Thanx alot. ur Lebing


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org