Wednesday, 7 August 2013

Use of Thread's ContextClassLoader

Use of Thread's ContextClassLoader

In the lines below:
These are the two methods of getting the classloaders
1) Thread.currentThread().getContextClassLoader();
2) getClass().getClassLoader();
Would anybody please explain me the difference between these two.

No comments:

Post a Comment