首页>
外国专利>
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.
展开▼