|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.aspectwerkz.hook.Plug
public class 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>
| Constructor Summary | |
|---|---|
Plug()
|
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
|
static Map |
parseArgs(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 |
target(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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Plug()
| Method Detail |
|---|
public void target(String destJar)
throws Exception
destJar -
Exceptionpublic static void usage()
public static Map parseArgs(String args)
throws Exception
args -
Exceptionpublic static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||