Tobias Krais wrote:
ClassLoader clazzLoader = ProtocolHandler.class.getClassLoader();
Thread.currentThread().setContextClassLoader(clazzLoader);

unless you control the remaining lifespan of the thread, remember to reset the context class loader once you are done

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to