Here we have two user-defined class loaders, MCL1 and MCL2.
在这里有两个用户定义的类装入器,即mcl1和mcl2。
Multiple singletons simultaneously loaded by different class loaders.
多个单例对象被不同的类加载器同时加载。
Problems can arise when code is moved between class loaders for any reason.
无论何种原因在类装入器之间移动代码时都会出现问题。
Other types of confusion are also possible when using multiple class loaders.
使用多个类装入器还可能引起其它类型的混淆。
The test case creates two class loaders, each with what appears to be the same classpath.
测试用例创建了两个类装入器,每个类装入器使用的类路径看起来相同。
Peer class loading does not follow the traditional hierarchical delegation structure for class loaders.
对等类装入不遵循传统的类装入器层次委托结构。
The first is to encourage additional tenure collections in the presence of large amounts of class loaders.
第一种方法是在出现大量类加载器时鼓励进行额外的保留区收集。
Table 1 summarizes the command-line options for setting the classpaths of the three standard class loaders.
表1总结了设置三个标准类装入器的类路径的命令行选项。
This is because B is not in the classpath of the system class loader or its parent or ancestor class loaders.
这是因为B不在系统类装入器或者它的双亲或祖先类装入器的类路径中。
The class loader delegation model is the graph of class loaders that pass loading requests to each other.
类装入器委托模型是把装入请求相互传给对方的类装入器图。
By using multiple class loaders within WebSphere Application Server, it is possible to avoid these conflicts.
通过在WebSphere应用程序服务器中使用多种类加载器,可以避免这些冲突。
We've also examined some of the other issues that may arise in the implicit and explicit use of class loaders.
我们还研究了在使用隐式或显式类装入器时可能出现的其他一些问题。
It is part of the JarIndex implementation and used by class loaders to speed up the class loading process.
它是JarIndex实现的一部分,并由类装载器用于加速类装载过程。
It is often useful to know where class loaders look for classes and which class loader loads a particular class.
知道类装入器在哪里寻找类、特定的类是由哪个类装入器装入的,通常很有用。
One major problem is that because the applications are deployed separately, they all use different class loaders.
一个主要的问题是,由于应用程序都是分别部署的,因此它们全都使用不同的类装入程序。
Applications can also define their own class loaders for special purposes (such as run-time reloading of classes).
应用程序还可以定义它们自己的用于特殊用途(例如运行时类的重新装入)的类装入器。
The JVM verifies all classes in class loaders and ensures that applications do not perform any dangerous operations.
JVM验证类装入器中所有的类并确保应用程序不会执行任何危险操作。
A class loaded by a class loader instance is uniquely identified by that class loaders namespace and the class name.
类加载器实例加载的类由加载器的名称空间和类名惟一标识。
Different versions of server side component classes should be isolated using different class loaders whenever possible.
服务器端组件类的不同版本应该尽量使用不同的类加载器使其分离开来。
An application class loader leak occurs when applications are restarted but their class loaders are not cleaned up.
当应用程序重启但它们的类加载器没有清理时,将发生应用程序类加载器泄露。
The transformation framework employed by the SOAP connector uses special class loaders to perform these transformations.
SOAP连接器使用的变换框架利用特殊的类加载程序来执行变换。
The IBM Verbose class Loading option is a great way to check what the classpaths for all class loaders have been set to.
IBM详细类装入选项是检查所有类装入器设置的类路径的好方法。
The flexibility of class loaders even allows dynamic reloading of modified code while an application continues to execute.
类装入器的灵活性甚至允许动态地重新装入已修改的代码,同时应用程序继续执行。
The complete set of class loaders make up a tree-structured hierarchy with different types of classes loaded at each level.
整个类装入器集合形成了树状结构的层次结构,在其每个层次上都可装入不同类型的类。
Class loaders normally keep a map of the classes they've loaded, to be able to find one by name if it's requested again.
类装入器通常保留它们所装入类的映射,从而当再次请求某个类时,能通过名称找到该类。
The framework code itself will also use one or more other class loaders, again to prevent interference to or from applications.
该框架代码本身也将使用一个或多个其它类装入器,同样用来防止对应用程序产生的或来自应用程序的干扰。
The XML serialization mechanism (based on JAXB 2.0) is also used to convert complex objects between different class loaders.
XML序列化机制(基于JAXB 2.0)还用于在不同类加载器之间转换复杂对象。
Instead, it has a set of class loaders that are unrelated except that they have the same parent (usually the system class loader).
相反,它有一组类装入器,彼此互不相关,但是有共同的双亲(通常是系统类装入器)。
Also, you will not be able load multiple versions of these JAR files as the classes will all be in the system class loaders namespace.
同样,不能加载这些JAR文件的多个版本,因为类都位于系统类加载器名称空间中。
When there is a hierarchy of class loaders, the root class loader, which is the bootstrap class loader, attempts to load the class first.
当类加载器存在一个层次结构时,根类加载器(即引导类加载器)将首先尝试加载类。
应用推荐