org.kohsuke.youdebug
Class VMFactory
java.lang.Object
org.kohsuke.youdebug.VMFactory
public class VMFactory
- extends Object
Connects to VM
in various ways.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VMFactory
public VMFactory()
connectRemote
public static VM connectRemote(String host,
int port)
throws com.sun.jdi.connect.IllegalConnectorArgumentsException,
IOException
- Connects via a socket
- Throws:
com.sun.jdi.connect.IllegalConnectorArgumentsException
IOException
connectLocal
public static VM connectLocal(int pid)
throws com.sun.jdi.connect.IllegalConnectorArgumentsException,
IOException
- Throws:
com.sun.jdi.connect.IllegalConnectorArgumentsException
IOException
launch
public static VM launch(String commandLine)
throws com.sun.jdi.connect.IllegalConnectorArgumentsException,
IOException,
com.sun.jdi.connect.VMStartException
- Throws:
com.sun.jdi.connect.IllegalConnectorArgumentsException
IOException
com.sun.jdi.connect.VMStartException
Copyright © 2013. All rights reserved.