首页> 外国专利> Automatic deployment of Java classes using byte code instrumentation

Automatic deployment of Java classes using byte code instrumentation

机译:使用字节码工具自动部署Java类

摘要

A computer implemented method, data processing system, and computer program product for Java class automatic deployment using byte code instrumentation technology. One or more classloaders are instrumented with byte code instrumentation code such that a class loading event is received when a class is loaded. If a determination is made that new byte code instrumentation code needs to be loaded with the loaded class, candidate classloaders that load import classes of the new byte code instrumentation code are determined. A correct classloader from the candidate classloaders to load the new byte code instrumentation code is calculated. The correct classloader is instrumented to have an extended classpath, wherein the new byte code instrumentation code is inserted into the extended classpath of the correct classloader. The class is loaded from the extended classpath and original classpath of the correct classloader.
机译:使用字节码检测技术的Java类自动部署的计算机实现的方法,数据处理系统和计算机程序产品。一个或多个类加载器使用字节码检测代码进行检测,以便在加载类时接收到类加载事件。如果确定需要使用已加载的类来加载新的字节码工具代码,则确定要加载新的字节码工具代码的导入类的候选类加载器。从候选类加载器中加载一个正确的类加载器,以加载新的字节码检测代码。正确的类加载器被检测为具有扩展的类路径,其中新的字节码检测代码被插入到正确的类加载器的扩展的类路径中。该类是从正确的类加载器的扩展类路径和原始类路径加载的。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号