Class ClassCache


  • public class ClassCache
    extends Object
    • Constructor Detail

      • ClassCache

        public ClassCache​(IModule module)
    • Method Detail

      • classFileExists

        public boolean classFileExists​(String className)
      • loadClass

        public Class loadClass​(String className)
      • getAllTypeNames

        public Set<String> getAllTypeNames()
      • clearClasspathInfo

        public void clearClasspathInfo()
      • remove

        public void remove​(String fullyQualifiedName)
      • dispose

        public void dispose()
      • reassignClassLoader

        public void reassignClassLoader()
        Called in Single module mode. If the parent loader of the ModuleClassLoader is the GosuPluginContainer, we drop the ModuleClassLoader and its parent, the GosuPluginContainer. New ones are created and assigned here. Note, this is a giant hack among many gianter hacks that keep the old test framework floating.
      • hasNamespace

        public boolean hasNamespace​(String namespace)