Class ModuleClassLoader


  • public final class ModuleClassLoader
    extends MPSModuleClassLoader
    MPS implementation of java.lang.ClassLoader which uses non-standard way of class loading delegation. Its methods #loadClass, #findResources are called by JVM during JVM class loading process and also by an explicit user call of #getClass and #getOwnClass methods in ReloadableModule and in ClassLoaderManager instance (old deprecated way). Note that these methods yield additional error information in the case of failure. Users of class loading API are supposed to process it on their own behalf. This classloader implementation supports a redeploy of the module classes on the fly For example, all language modules possess an instance of such classloader.
    See Also:
    ModuleIsNotLoadableException, ModuleClassNotFoundException