|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.hook.Plug
Main application that allow two steps preparation of the hook
This can be used instead of ProcessStarter to dual JVM and stream piping
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>
If the JVM was started with -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y Use java [options..] ..Plug -prepare transport=dt_socket,address=8000Be sure to set AspectWerkz option prior to starting the JVM with -Xrunjdwp options.
Constructor Summary | |
Plug()
|
Method Summary | |
void |
hotswap(java.util.Map jdwp)
Hotswaps the java.lang.ClassLoader of the remote JVM and resume |
void |
info(java.util.Map jdwp)
Prints information about the remote JVM and resume |
static void |
main(java.lang.String[] args)
|
static java.util.Map |
parseArgs(java.lang.String args)
Parse a jdwp like string in a Map transport=dt_socket,address=8000 will produce a Map of 2 entries whose keys are transport and address |
void |
resume(java.util.Map jdwp)
Resume the remote JVM, without hotswapping classes |
void |
target(java.lang.String destJar)
Dumps the modified java.lang.ClassLoader in destJar The aspectcwerkz.classloader.clclasspreprocessor is used if specified, else defaults to AspectWerkz layer 1 |
static void |
usage()
Print usage information on stdout |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Plug()
Method Detail |
public void target(java.lang.String destJar) throws java.lang.Exception
destJar
-
java.lang.Exception
public void resume(java.util.Map jdwp) throws java.lang.Exception
jdwp
-
java.lang.Exception
public void info(java.util.Map jdwp) throws java.lang.Exception
jdwp
-
java.lang.Exception
public void hotswap(java.util.Map jdwp) throws java.lang.Exception
jdwp
-
java.lang.Exception
public static void usage()
public static java.util.Map parseArgs(java.lang.String args) throws java.lang.Exception
args
-
java.lang.Exception
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |