S via classloaders is to use groovy s nifty 的替代,是使用groovy優(yōu)美的
The white circles represent geronimo classloaders actually a 白色的圈表示geronimo類加載器(實(shí)際上是一個(gè)
It is even possible that the database engine classes will be spread between multiple classloaders 數(shù)據(jù)庫引擎類甚至可能跨多個(gè)類裝載器。
There are many circumstances where multiple application classloaders are used by java programs 在許多環(huán)境中,java程序會(huì)使用多個(gè)應(yīng)用程序類裝入器。
Per java virtual machine a fact that is only really a concern when using multiple classloaders within a single jvm instance (在一個(gè)jvm實(shí)例中使用多個(gè)類加載器時(shí),這是真正惟一值得關(guān)心的事情)。
Although smf runtime uses one jvm, it will assign different classloaders for different bundles to avoid unauthorized package sharing 盡管smf運(yùn)行時(shí)只使用一個(gè)jvm,但是它為不同的包分派不同的類裝載器以避免未授權(quán)的數(shù)據(jù)包共享。
Because of this, it is susceptible to internal implementation details of the app server, in particular the implementation of multiple classloaders 由于這個(gè)原因,它容易受到應(yīng)用程序服務(wù)器內(nèi)部實(shí)現(xiàn)細(xì)節(jié)的影響,尤其容易受多個(gè)類裝載器的實(shí)現(xiàn)的影響。
App servers use multiple classloaders to provide the isolation needed to run many applications simultaneously without the applications " stepping " on one and other 為了同時(shí)運(yùn)行多個(gè)應(yīng)用程序,并使這些應(yīng)用程序不致于相互干擾,應(yīng)用程序服務(wù)器使用多個(gè)類裝載器來提供必要的隔離。
classloaders and classloader hierarchies are complicated topics and have more detail than can be covered here for more information on this subject, follow the " j2ee class loading demystified " link in the 類裝載器和類裝載器層次結(jié)構(gòu)是一個(gè)復(fù)雜的話題,其中有更多的細(xì)節(jié)不是本文所能論述的(要了解關(guān)于此話題的更多信息,請?jiān)L問后面
Aspectj has had the necessary infrastructure to support load-time weaving since the 1.1 release, but it was necessary to write custom classloaders to actually integrate aspectj s weaver into an application 從1.1發(fā)行版起,aspectj就擁有支持裝入時(shí)織入必需的基礎(chǔ)設(shè)施,但是必須編寫定制的類裝入器,才能真正把a(bǔ)spectj的織入器集成進(jìn)應(yīng)用程序。