发明授权
US08196128B2 System and method for providing a filtering classloader in a computer environment
有权
在计算机环境中提供过滤类加载器的系统和方法
- 专利标题: System and method for providing a filtering classloader in a computer environment
- 专利标题(中): 在计算机环境中提供过滤类加载器的系统和方法
-
申请号: US11765263申请日: 2007-06-19
-
公开(公告)号: US08196128B2公开(公告)日: 2012-06-05
- 发明人: Srinagesh Susarla , Ashok Banerjee , Robert Woollen
- 申请人: Srinagesh Susarla , Ashok Banerjee , Robert Woollen
- 申请人地址: US CA Redwood Shores
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Fliesler Meyer LLP
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
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.
公开/授权文献
信息查询