Figure 5. Classloader selection dialog.
图5.类库加载器选项对话框。
Launch the ClassLoader Viewer from the administrative console.
从管理控制台启动ClassLoaderViewer。
Then select the created classloader and click the libraries link.
然后选择创建的类加载器并单击libraries链接。
You control the classloader for parent-child child-parent delegation.
您控制了父-子、子-父委托的类加载器。
So you need to get an object of type ClassLoader from the application.
因此,需要从应用程序获取classloader类型的对象。
Updating the code from last month to use the custom classloader approach is easy.
更新上个月的代码以使用自定义类加载器方法是很容易的。
The ClassLoader loaded classes section lists the classes loaded by each class loader.
类装入器装入的类部分列出了每个类装入器装入的类。
Modifying the classloader structure should allow the application to migrate successfully.
修改类加载器结构应该使应用程序能够成功迁移。
The deployment options available are dependent upon the application server's classloader mode.
可用的部署选项取决于应用服务器的类装载器(classloader)模式。
The JSP engine's classloader knows how to load JSP classes when they are all in the same package.
JSP引擎的类加载器知道当所有的 JSP 类都在同一个包中时该如何加载它们。
The deployment options available are dependent upon the classloader mode of the application server.
部署选项可用依赖于应用服务器的类装载器(classloader)模式。
Select classloader from the additional properties section, and select the classloader displayed here.
从附加属性部分选择classloader,然后选择此处显示的类加载程序。
So classloader leaks are introduced that lead to increased memory consumption after continuous redeploys.
于是类加载器泄漏(classloaderleaks)就会被引入,导致在连续重部署后内存消耗增加。
It works really well and I don't really know what kind of problems you have with Launcher or ClassLoader.
它的作品真的很好,我真的不知道你有什么样的与发射器或装载问题。
It is the responsibility of a plug-in's classloader to resolve references to classes within its libraries.
插件的类加载器(classloader)负责在它的库中解析对类的引用。
The JVM architecture gives us a convenient way of doing this — by working with the classloader implementation.
JVM体系结构为我们提供了这样做的便利途径——通过使用classloader实现。
The ClassLoader of the class controls the enabling and disabling of assertions with the following four methods
类的ClassLoader 使用下面四种方法控制断言的启用和禁用
If next to no instances of classes are defined by a classloader, then it is likely that the classloader is idle.
如果类加载器几乎没有定义任何的类实例,那么这个类加载器很可能是空闲的。
Figure 29 shows the section in the WebSphere Portal configuration that can be used to set this classloader configuraton.
图29展示了用于设置此类加载器配置的WebSpherePortal 配置中的章节。
You analyse further by selecting one of the classloaders in the report to open a new classloader-specific component report.
您可以选择报告中的类加载器进行深入的分析,以便打开一个新的类加载器特有的组件报告。
The Classloader summaries section provides details about each class loader in the system, including the type of the class loader.
Classloader汇总部分提供了系统中每个类装入器的细节。
Use a custom SecurityManager or ClassLoader that prevents loading of anonymous classes or other classes not under your direct control.
使用定制的SecurityManager或ClassLoader阻止加载匿名类或其他无法直接控制的类。
With these support classes, I can now define the CharSequenceCompiler. It's constructed with a runtime ClassLoader and compiler options.
通过这些支持类,现在可以定义CharSequenceCompiler,可使用运行时ClassLoader和编译器选项构建。
The ClassLoader type is ultimately responsible for loading classes into the system, but the JVM can interpret this however it wants to.
的ClassLoader类型是最终负责类加载到系统,但是JVM可以解释这个但是它想。
In order to keep this method as context-free as possible, we grab the file as an InputStream out of the ClassLoader that loaded the class.
为了让此方法尽量与上下文无关,我们从加载类的ClassLoader中抓取文件作为InputStream。
Similarly, the ClassLoader attributes inject the current class loader, and the ObjectName attributes inject the current name into the GBean.
类似地,ClassLoader属性注入当前类装入器,ObjectName 属性把当前名称注入 GBean。
Typically, all classes are loaded from the system ClassLoader; however, some systems partition their runtime space with different ClassLoaders.
通常情况下,所有类都是由系统ClassLoader装载的;可是有些系统使用不同的ClassLoader将其运行时空间进行了划分。
Often the best solution is to configure the classloader under WebSphere to use PARENT_LAST classloader mode rather than the default PARENT_FIRST mode.
通常最佳解决方案是在WebSphere下设定类装载器(classloader)以使用PARENT_LAST classloader模式而不是默认的PARENT_FIRST模式。
Using classloader hooks, you can intercept the process of loading classes into the JVM and transform the class representations before they're actually loaded.
通过使用classloader挂钩(hook),您可以拦截将类加载到JVM中的过程,并在实际加载这些类之前转换它们。
To accomplish my goal of intercepting the classloading process we need to go a step further, by defining and using our own classloader for the application classes.
为了实现拦截类加载过程的目标,我们需要采取进一步的动作,对应用程序类定义和使用我们自己的classloader。
应用推荐