A child configuration inherits its parent s classloader and therefore has access to all the parent configuration s classes 而子配置可以继承其父配置的类装载器,从而访问所有父配置的类。
Figure 29 shows the section in the websphere portal configuration that can be used to set this classloader configuraton 图29展示了用于设置此类加载器配置的websphere portal配置中的章节。
The war root path is part of the dynamic classloader and is the home of the war from which classes will be loaded 。 war根路径是动态类装入器的一部分,也是war (类将由此装入)所在的位置。
I used this technique of substituting a custom classloader to modify classes at run time in an earlier article see 在上一篇文章中,我使用这种代入自定义类加载器的技术来在运行时修改类(参阅
For an in - depth discussion of class transformation at run time using a custom classloader , see the author s article , 关于使用自定义类加载器在运行时进行类转换的深入讨论,请参阅作者的文章“
Attribute . this lets you establish a classloader hierarchy , enabling you to share code between separately deployed modules 这样可以建立一个类加载器层次结构,使您能够在部署的不同模块之间共享代码。
The classloader maps plug - in references to their corresponding jar files containing the plug - in s classes , as in our example , 类加载器将插件引用映射到它们相应的包含有插件类的jar文件,比如我们的例子,
Further , depending on the classloader structure , an attacker may be able to invoke servlets outside of your web application 更进一步地,根据类加载器的结构,攻击者可能在您的web应用程序外部调用servlet 。
When a plug - in is installed , its classloader s classpath is not hard - coded ; instead it is computed by the platform at startup based on the 当插件安装好后,它的类装载器的类路径不是硬编码,而是当启动时基于
In general , you can set up your vm or application server with a weaving agent or use a weaving classloader in your application 通常,可以用织入代理设置vm或应用服务器,或在应用程序中使用织入classloader 。