net.groboclown.junit.jpda.v1
Class ConnectorFactory
java.lang.Object
|
+--net.groboclown.junit.jpda.v1.ConnectorFactory
- public class ConnectorFactory
- extends Object
Creates a JpdaConnection to a VM using JDI (from JPDA). Currently, the
only supported creation is via launching a new VM.
Constructor Summary |
protected |
ConnectorFactory()
Constructor - set to protected so that only subclasses can use it. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
s_instance
protected static ConnectorFactory s_instance
ConnectorFactory
protected ConnectorFactory()
- Constructor - set to protected so that only subclasses can use it.
getInstance
public static ConnectorFactory getInstance()
- Retrieve the singleton instance.
launchVM
public JpdaConnector launchVM(AsyncTest testClass)
- Create a new Connector by launching a new VM. The new VM will
execute AsyncTest's main method, using the given testClass class
as the test to execute.
Written under the LGPL