System and method for providing a filtering classloader in a computer environment
    1.
    发明授权
    System and method for providing a filtering classloader in a computer environment 有权
    在计算机环境中提供过滤类加载器的系统和方法

    公开(公告)号:US08196128B2

    公开(公告)日:2012-06-05

    申请号:US11765263

    申请日:2007-06-19

    IPC分类号: G06F9/44

    CPC分类号: G06F9/44521 G06F9/44552

    摘要: A system and method for providing a filtering classloader within a Java-based or other application environment. In one embodiment, a filtering classloader is placed between two other classloaders, e.g. between the system classloader and the application classloader. The filtering classloader is provided with a set of patterns which throw a “class not found exception” if an application makes a request for that class or package. The exception leads the application classloader to believe (perhaps correctly) that there is no class with that name in the system classloader. The application classloader then loads the class itself. The class may or may not exist in the system classloader; the filtering classloader in essence overrides any retrieval from that classloader in favor of the application classloader, for certain specified patterns of request.

    摘要翻译: 一种用于在基于Java或其他应用程序环境中提供过滤类加载器的系统和方法。 在一个实施例中,过滤类加载器被放置在两个其他类加载器之间,例如。 在系统类加载器和应用程序类加载器之间。 过滤类加载器提供了一组模式,如果应用程序请求该类或包,则会抛出“类未找到异常”。 该异常导致应用程序类加载器相信(或许正确)在系统类加载器中没有该名称的类。 应用程序类加载器然后加载类本身。 该类可能存在或可能不存在于系统类加载器中; 过滤类加载器本质上将覆盖来自该类加载器的任何有利于应用程序类加载器的检索,对于某些指定的请求模式。

    SYSTEM AND METHOD FOR PROVIDING A FILTERING CLASSLOADER IN A COMPUTER ENVIRONMENT
    2.
    发明申请
    SYSTEM AND METHOD FOR PROVIDING A FILTERING CLASSLOADER IN A COMPUTER ENVIRONMENT 有权
    在计算机环境中提供过滤器的系统和方法

    公开(公告)号:US20080271002A1

    公开(公告)日:2008-10-30

    申请号:US11765263

    申请日:2007-06-19

    IPC分类号: G06F9/45

    CPC分类号: G06F9/44521 G06F9/44552

    摘要: A system and method for providing a filtering classloader within a Java-based or other application environment. In one embodiment, a filtering classloader is placed between two other classloaders, e.g. between the system classloader and the application classloader. The filtering classloader is provided with a set of patterns which throw a “class not found exception” if an application makes a request for that class or package. The exception leads the application classloader to believe (perhaps correctly) that there is no class with that name in the system classloader. The application classloader then loads the class itself. The class may or may not exist in the system classloader; the filtering classloader in essence overrides any retrieval from that classloader in favor of the application classloader, for certain specified patterns of request.

    摘要翻译: 一种用于在基于Java或其他应用程序环境中提供过滤类加载器的系统和方法。 在一个实施例中,过滤类加载器被放置在两个其他类加载器之间,例如。 在系统类加载器和应用程序类加载器之间。 过滤类加载器提供了一组模式,如果应用程序请求该类或包,则会抛出“类未找到异常”。 该异常导致应用程序类加载器相信(或许正确)在系统类加载器中没有该名称的类。 应用程序类加载器然后加载类本身。 该类可能存在或可能不存在于系统类加载器中; 过滤类加载器本质上将覆盖来自该类加载器的任何有利于应用程序类加载器的检索,对于某些指定的请求模式。

    System and method for dynamically redefining class files in an application server environment
    3.
    发明授权
    System and method for dynamically redefining class files in an application server environment 有权
    用于在应用程序服务器环境中动态重新定义类文件的系统和方法

    公开(公告)号:US08615734B2

    公开(公告)日:2013-12-24

    申请号:US12266369

    申请日:2008-11-06

    IPC分类号: G06F9/44

    CPC分类号: G06F8/24 G06F9/4488

    摘要: Disclosed herein is a system and method for dynamically redefining class files in a Java-based development environment. The existing development cycle in Java generally requires developers to edit, build, and deploy before they can test changes to the code. This process can be quite time consuming. There is a need for dynamically redefining and testing class files in a development environment without a significant time delay or loss of data. In one embodiment, when a developer modifies the class definition a ClassFileTransformer function is used to maintain the original shape of a redefinable class, i.e. its declared fields and methods, without affecting the redefined class' behavior or appearance to outside code.

    摘要翻译: 本文公开了一种用于在基于Java的开发环境中动态地重新定义类文件的系统和方法。 Java的现有开发周期通常要求开发人员在对代码进行更改之前进行编辑,构建和部署。 这个过程可能相当耗时。 需要在开发环境中动态地重新定义和测试类文件,而没有显着的时间延迟或数据丢失。 在一个实施例中,当开发人员修改类定义时,使用ClassFileTransformer函数来维护可重定类的原始形状,即其声明的字段和方法,而不影响重定义类的行为或外部代码的外观。

    SYSTEM AND METHOD FOR DYNAMICALLY REDEFINING CLASS FILES IN AN APPLICATION SERVER ENVIRONMENT
    4.
    发明申请
    SYSTEM AND METHOD FOR DYNAMICALLY REDEFINING CLASS FILES IN AN APPLICATION SERVER ENVIRONMENT 有权
    在应用服务器环境中动态地重新排列类文件的系统和方法

    公开(公告)号:US20090125881A1

    公开(公告)日:2009-05-14

    申请号:US12266369

    申请日:2008-11-06

    IPC分类号: G06F9/44

    CPC分类号: G06F8/24 G06F9/4488

    摘要: Disclosed herein is a system and method for dynamically redefining class files in a Java-based development environment. The existing development cycle in Java generally requires developers to edit, build, and deploy before they can test changes to the code. This process can be quite time consuming. There is a need for dynamically redefining and testing class files in a development environment without a significant time delay or loss of data. In one embodiment, when a developer modifies the class definition a ClassFileTransformer function is used to maintain the original shape of a redefinable class, i.e. its declared fields and methods, without affecting the redefined class' behavior or appearance to outside code.

    摘要翻译: 本文公开了一种用于在基于Java的开发环境中动态地重新定义类文件的系统和方法。 Java的现有开发周期通常要求开发人员在对代码进行更改之前进行编辑,构建和部署。 这个过程可能相当耗时。 需要在开发环境中动态地重新定义和测试类文件,而没有显着的时间延迟或数据丢失。 在一个实施例中,当开发人员修改类定义时,使用ClassFileTransformer函数来维护可重定类的原始形状,即其声明的字段和方法,而不影响重定义类的行为或外部代码的外观。