Recently, I fou开发者_开发知识库nd there is a java.lang.instrument
package in jdk, which is used by many frameworks to reload classes or profile.
I don't find many articles of using them, is there any resource(book, article, project) to help to understand it?
I think this link can help to understand a little the usage of java agents:
- Not So Secret Java Agent (1)
- Not So Secret Java Agent (2)
- Not So Secret Java Agent (3)
- Not So Secret Java Agent (4)
hope this will help
This library is for Java Instrumentation mechanism (Registering a class as MBean server) using JMX. Refer JMX guide
精彩评论