Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

JAgent framework helps you to implement java agents. It has some extra functionality instead of standard Java's API.

GitHub RepositoryComing soon...
Public Maven repo
ContactImage Added

Class redefining

By default, java agents don't redefine already loaded classes. Standard API has method java.lang.instrument.Instrumentation#redefineClasses(ClassDefinition... definitions) to redefine them. But it's impossible to redefine some classes (for example, java.lang.String) using this method.


    <!-- maven-dependency-plugin is used to copy your agent into target directory -->
    <!-- Configure maven-surefire-plugin to use your agent -->

Getting support

If you need help, you have a question, or you need further details on how to use JAgent, you can refer to the following resources: