tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lebing Xie <...@fokus.fraunhofer.de>
Subject bindThread() and unbindThread(oldCCL) in StandardContext start()
Date Tue, 26 Jul 2005 09:43:36 GMT
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


Mime
View raw message