Right, the static approach will not work. FWIW, the static variable is not a ClassLoader; it is a "ClassLoaderProvider". Problem is that I just do not know a way here to provide it contextual ClassLoaders from a non-contextual call.