ClassLoader
基本解釋
- 類加載器
英漢例句
- Java virtual machine(JVM) loads the classes by ClassLoader.
Java虛擬機(JVM)使用一個類裝載器(ClassLoader)根據(jù)應(yīng)用程序的需要載入所需的類。 - Object in your normal Java classes lets you dynamically execute Groovy scripts just as the classloader does.
對象嵌入普通Java類,可以像類加載器所做的那樣動態(tài)執(zhí)行Groovy腳本。 - The key point here is that class loading is controlled by Eclipse and each plug-in has its own classloader.
在此關(guān)鍵的一點是類裝載由Eclipse控制,并且每個插件擁有自己的類裝載器。 - When a JVM comes across an object whose class isn't known, it invokes a classloader.
當 JVM 遇到一個對象的類未知的時候,就會調(diào)用類裝入器。 - Otherwise, your code will only work in simple command-line applications, when the system classloader is the last classloader created in the JVM.
前不久在幫朋友做那個企業(yè)應(yīng)用平臺時,對這方面的知識深入研究和學習了一下,遇到的最好的文檔就是這篇文章了。