• Next is the class loader cache initialization.

    下一步装载器缓存初始化

    youdao

  • The garbage collector interacts closely with the class loader.

    垃圾收集器装入器交互很密切

    youdao

  • The parent of this class loader will be the class loader of the current thread context.

    加载父类加载器当前线程上下文的类加载器。

    youdao

  • But how can that work if the class loader looks for existing class files for each class it loads?

    但是如果装入所装入的每个查找现有文件那么它会如何工作呢?

    youdao

  • When the class loader is dereferenced, the classes that it loaded are not garbage collectable.

    取消对装入引用时,装入就变成无法进行垃圾收集的了。

    youdao

  • The class loader plays an important role in linking a native call to its appropriate native definition.

    本机调用链接对应的本机定义时,装入器扮演重要角色

    youdao

  • If either of the above rules are violated, then a ClassCastException is thrown by the class loader.

    如果违反了以上任何规则那么装入器就会抛出ClassCastException。

    youdao

  • The class loader delegation model is the graph of class loaders that pass loading requests to each other.

    装入委托模型装入请求相互传给对方装入器图。

    youdao

  • When a native method is invoked, the class loader attempts to load the native library that defines that method.

    调用本机方法装入器会尝试装入定义了方法的本机库

    youdao

  • The data files must be located in the mock Customer project so that they can be picked up from the class loader.

    数据文件必须位于模拟Customer项目中,以便可以加载器中加载它们

    youdao

  • When one of these methods is invoked, the class whose name is specified as an argument is loaded by the class loader.

    调用其中一个方法的时候,指定(以类名为参数)类装入器装入。

    youdao

  • If the class hasn't been loaded yet, the class loader will load it now and return the newly constructed class instance.

    如果装入,类装入现在装入返回创建的类实例

    youdao

  • The class loader does a number of checks on the bytecodes of the class to ensure that it is well formed and well behaved.

    装入器对于类字节码要许多检测确保格式正确、行为正确

    youdao

  • These methods let the framework set the class loader to be used for each application while running code from that application.

    这些方法允许框架设置装入器,使得运行每个应用程序中的代码可以将类装入器用应用程序。

    youdao

  • For example, the selected class loader in Figure 5 now shows that it is the class loader for the PlantsByWebSphere Web application.

    例如5中选中的加载显示PlantsByWebSphereweb应用程序类加载器。

    youdao

  • The Classloader summaries section provides details about each class loader in the system, including the type of the class loader.

    Classloader汇总部分提供了系统每个装入器细节

    youdao

  • As an example of a class loader hierarchy in action, Figure 1 shows the class loader hierarchy defined by the Tomcat servlet engine.

    作为装入层次结构实际示例1显示Tomcatservlet引擎定义类装入器层次结构。

    youdao

  • If the class loader tries to find a nonexistent resource, all the JAR files within the application or applet will have to be downloaded.

    如果装载器试图寻找一个存在资源,那么应用程序或者applet中的所有JAR文件都会下载

    youdao

  • If the parent returns null (or throws a ClassNotFoundException), then the class loader searches its own path for the source of the class.

    如果返回null(抛出ClassNotFoundException),那么装入器会在自己的路径寻找

    youdao

  • Before you begin this article, you should be familiar with the class loader delegation model, along with the phases and stages of class linking.

    开始篇文章之前应当熟悉装入委托模型以及类链接阶段过程

    youdao

  • Because the parent class loader is always given the opportunity to load a class first, the class is loaded by the class loader nearest the root.

    因为装入总是得到装入机会,所以类装入器装入的类最靠近

    youdao

  • public void setDefaultAssertionStatus(boolean enabled): This method sets the default status for packages and classes loaded by the class loader.

    publicvoidsetDefaultAssertionStatus(booleanenabled) :方法设置装入器装入缺省状态

    youdao

  • Given an object being tested (such as item in Listing 5) and a target class (Integer) being cast to, the class loader checks the following rules.

    检查对象(例如清单5中的item)类型转换成目标(Integer)时,类装入器检查以下规则

    youdao

  • Each EAR application should have a unique string name for the class loader. Here, we use the application name in the class loader name to avoid repetition.

    这里我们使用应用程序作为加载器名称避免重复

    youdao

  • Among other things, the collector examines the class loader data structures to determine which classes are live — that is, are not garbage collectable.

    众多事情当中,收集器检查装入器数据结构判断哪个活动的——也就是说,应当被当作垃圾收集的。

    youdao

  • public void clearAssertionStatus(): This method resets all package and class settings to false, and then resets the class loader to setting false also.

    publicvoid clearAssertionStatus() :方法所有设置false然后将类装入器也重设为 false。

    youdao

  • Different packaging options can be used to partition different versions of J2EE components, and this has major implications on the class loader strategy.

    可以使用不同封装选择分隔不同版本J2EE组件并且这种做法本身就意味着要使用不同加载器。

    youdao

  • NoClassDefFoundError is another common exception thrown by the class loader during the loading phase. The JVM specification defines NoClassDefFoundError as follows

    NoClassDefFoundError装入装入阶段抛出另一个常见异常

    youdao

  • This tells the class loader that will load our Grails app, to ignore any classes from these packages available to the parent class loader (i.e., the container's class loader).

    告诉装载Grails应用程序装载程序忽略这些包中用于类装载程序(容器类装载程序)的所有

    youdao

  • The application ClassLoader Leaks query will find all stopped application class loaders and interrogate suspects that cause the class loader to be ineligible for garbage collection.

    ApplicationClassLoaderLeaks查询找到所有停止应用程序加载器,询问可能导致加载器不适合垃圾收集可疑对象。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定