索引
所有程序包|所有类和接口
A
- agentmain(String, Instrumentation) - 类中的静态方法 cn.wjybxx.common.ClassReloadAgent
-
使用动态attach的方式获取
Instrumentation。 - appendToBootstrapClassLoaderSearch(JarFile) - 类中的静态方法 cn.wjybxx.common.ClassReloadAgent
-
添加指定jar包到根类加载器路径中
- appendToSystemClassLoaderSearch(JarFile) - 类中的静态方法 cn.wjybxx.common.ClassReloadAgent
-
添加指定jar包到系统类加载器路径中
C
- ClassReloadAgent - cn.wjybxx.common中的类
-
Instrumentation开发指南 IBM文档
- ClassReloadAgent() - 类的构造器 cn.wjybxx.common.ClassReloadAgent
- cn.wjybxx.common - 程序包 cn.wjybxx.common
I
- isModifiableClass(Class<?>) - 类中的静态方法 cn.wjybxx.common.ClassReloadAgent
-
查询一个类是否可以被修改(被重定义),是否可以用于
redefineClasses(ClassDefinition...)方法。 - isRedefineClassesSupported() - 类中的静态方法 cn.wjybxx.common.ClassReloadAgent
-
查询是否启用了重定义类功能。
P
- premain(String, Instrumentation) - 类中的静态方法 cn.wjybxx.common.ClassReloadAgent
-
这是instrument开发规范规定的固定格式的方法,当java程序启动时,如果指定了javaagent参数(classpath下的jar包名字),则会自动调用到这个方法。
R
- redefineClasses(ClassDefinition...) - 类中的静态方法 cn.wjybxx.common.ClassReloadAgent
-
重定义类文件(热更新类文件) 注意:请保证
isRedefineClassesSupported()为true,且所有要更新的类isModifiableClass(Class)为true。
使
- 使用方式 - 类 cn.wjybxx.common.ClassReloadAgent中的搜索标记
- 节
奇
- 奇巧淫技 - 类 cn.wjybxx.common.ClassReloadAgent中的搜索标记
- 节
热
- 热更新限制 - 类 cn.wjybxx.common.ClassReloadAgent中的搜索标记
- 节
违
- 违背直觉的情况 - 类 cn.wjybxx.common.ClassReloadAgent中的搜索标记
- 节
所有程序包|所有类和接口