org.codehaus.aspectwerkz.hook
Class BootClasspathStarter
java.lang.Object
org.codehaus.aspectwerkz.hook.AbstractStarter
org.codehaus.aspectwerkz.hook.BootClasspathStarter
- public class BootClasspathStarter
- extends org.codehaus.aspectwerkz.hook.AbstractStarter
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.
This is suitable for java 1.3.
This can be use with java 1.4 to avoid running in JDWP mode.
- Author:
- Alexandre Vasseur
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
opt
protected String opt
main
protected String main
BootClasspathStarter
public BootClasspathStarter(String opt,
String main,
String bootDir)
getCommandLine
public String getCommandLine()
- return command line that launched the target process
launchVM
public Process launchVM()
throws IOException
- launchs target process
- Throws:
IOException
Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.