However, I'm not sure a singleton classloader reference works well from a redeployment perspective, since could it have references to other classloaders and could lead to perm gen explosion?