Class Summary |
BootClasspathStarter |
Starts a target process adding a dir in -Xbootclasspath/p: option Target process is launched using
$JAVA_HOME/bin/java [opt] [main] and [opt] is patched to use [bootDir] in -Xbootclasspath/p: option. |
ClassLoaderPatcher |
Utility methods to manipulate class redefinition of java.lang.ClassLoader in xxxStarter |
JDWPPlug |
Isolation of JDWP dependancies to Plug online mode in a running / remote VM. |
JDWPStarter |
Starts a target process adding JDWP option to have a listening connector and be in suspend mode Target process is
launched using $JAVA_HOME/bin/java [opt] [main] and [opt] is patched to use -Xdebug
-Xrunjdwp:transport=.. |
Plug |
Main application that allow two steps preparation of the hook This can be used instead of ProcessStarter to dual
JVM and stream piping
Usage
java [options..] org.codehaus.aspectwerkz.hook.Plug -target <targetJar.jar>
java [options..] org.codehaus.aspectwerkz.hook.Plug -hotswap <jdwp options>
java [options..] org.codehaus.aspectwerkz.hook.Plug -resume <jdwp options>
java [options..] org.codehaus.aspectwerkz.hook.Plug -info <jdwp options>
-target targetJar.jar to generate a targetJar.jar containing the patched java.lang.ClassLoader suitable for your
current java installation. |
ProcessStarter |
ProcessStarter uses JPDA JDI api to start a VM with a runtime modified java.lang.ClassLoader, or transparently use a
Xbootclasspath style (java 1.3 detected or forced)
Important note
Due to a JPDA issue in LauchingConnector, this implementation is based on Process forking. |