public class RemoteDUnitVM extends java.rmi.server.UnicastRemoteObject implements RemoteDUnitVMIF
| Constructor and Description |
|---|
RemoteDUnitVM() |
| Modifier and Type | Method and Description |
|---|---|
void |
disconnectVM() |
MethExecutorResult |
executeMethodOnClass(java.lang.String className,
java.lang.String methodName)
Called remotely by the master controller to cause the client to execute
the method on the class.
|
MethExecutorResult |
executeMethodOnClass(java.lang.String className,
java.lang.String methodName,
java.lang.Object[] args)
Executes a given static method in a given class with the given
arguments.
|
MethExecutorResult |
executeMethodOnObject(java.lang.Object obj,
java.lang.String methodName)
Called remotely by the master controller to cause the client to execute
the instance method on the object.
|
MethExecutorResult |
executeMethodOnObject(java.lang.Object obj,
java.lang.String methodName,
java.lang.Object[] args)
Executes a given instance method on a given object with the given
arguments.
|
void |
executeTask(int tsid,
int type,
int index) |
void |
notifyDynamicActionComplete(int actionId) |
void |
runShutdownHook() |
void |
shutDownVM(boolean disconnect,
boolean runShutdownHook) |
clone, exportObject, exportObject, exportObject, unexportObjectpublic RemoteDUnitVM()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic MethExecutorResult executeMethodOnObject(java.lang.Object obj, java.lang.String methodName)
executeMethodOnObject in interface RemoteDUnitVMIFobj - the object to execute the method onmethodName - the name of the method to executepublic MethExecutorResult executeMethodOnObject(java.lang.Object obj, java.lang.String methodName, java.lang.Object[] args)
executeMethodOnObject in interface RemoteDUnitVMIFpublic MethExecutorResult executeMethodOnClass(java.lang.String className, java.lang.String methodName)
className - the name of the class executemethodName - the name of the method to executepublic MethExecutorResult executeMethodOnClass(java.lang.String className, java.lang.String methodName, java.lang.Object[] args)
executeMethodOnClass in interface RemoteDUnitVMIFpublic void executeTask(int tsid,
int type,
int index)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void runShutdownHook()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void notifyDynamicActionComplete(int actionId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void shutDownVM(boolean disconnect,
boolean runShutdownHook)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void disconnectVM()
throws java.rmi.RemoteException
java.rmi.RemoteException