Object setContextFinder() { if (!SET_TCCL) return Boolean.FALSE; Thread currentThread = Thread.currentThread(); ClassLoader previousTCCL = currentThread.getContextClassLoader(); ClassLoader contextFinder = framework.getContextFinder(); if (previousTCCL != contextFinder) { currentThread.setContextClassLoader(framework.getContextFinder()); return previousTCCL; } return Boolean.FALSE; }