public class RMI extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RMI.RemoteMachineSpec
Specification of remote machine.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
machineLifeTime
lifetime of remote machine (in msec).
|
static String |
SSL_suffix
suffix of remote machine's name for SSL
|
(package private) static boolean |
verbose
Verbose flag.
|
| Constructor and Description |
|---|
RMI() |
| Modifier and Type | Method and Description |
|---|---|
static RemoteMachine |
connectMachine(String host,
boolean ssl,
String name)
Connect to existing named remote machine.
|
static RemoteMachine |
createMachine(String host,
boolean ssl,
RMI.RemoteMachineSpec spec,
boolean sharable)
Create a remote machine.
|
static RemoteMachine |
createMachine(String host,
boolean ssl,
String name,
String implClass,
String implCodebase,
String[] args)
Create a remote machine.
|
static RemoteMachine |
createMachine(String host,
boolean ssl,
String name,
String implClass,
String implCodebase,
String[] args,
boolean sharable)
Create a remote machine on the remote registry.
|
static RemoteMachine |
createMachine(String host,
String name,
String implClass,
String implCodebase,
String[] args)
Create a remote machine.
|
static RemoteMachine |
createSharableMachine(String host,
boolean ssl,
String name,
String implClass,
String implCodebase,
String[] args)
Create a sharable remote machine.
|
static RemoteMachine |
createSharableMachine(String host,
String name,
String implClass,
String implCodebase,
String[] args)
Create a sharable remote machine.
|
static boolean |
getVerbose()
Get Verbose Mode.
|
static void |
setVerbose(boolean b)
Set Verbose Mode.
|
static void |
unbindMachine(String host,
boolean ssl,
String name)
Unbind a remote machine from the remote registry.
|
static boolean verbose
public static final int machineLifeTime
public static final String SSL_suffix
public static boolean getVerbose()
public static void setVerbose(boolean b)
b - verbose modepublic static void unbindMachine(String host, boolean ssl, String name) throws RemoteException, NotBoundException
host - host for the remote registryssl - connect via SSLname - name of remote machineRemoteException - Remote ExceptionNotBoundException - Not Bound ExceptionRMFactory.unbindRemoteMachine(String)public static RemoteMachine createMachine(String host, boolean ssl, String name, String implClass, String implCodebase, String[] args, boolean sharable) throws RemoteException, NotBoundException
host - host for the remote registryssl - connect via SSLname - name of remote machineimplClass - class of remote machineimplCodebase - codebase of remote machineargs - command arguments of remote machinesharable - share mode of remote machineRemoteException - Remote ExceptionNotBoundException - Not Bound ExceptionRMFactory.bindRemoteMachine(String, String, String, String[])public static RemoteMachine connectMachine(String host, boolean ssl, String name) throws RemoteException, NotBoundException
host - host for the remote registryssl - connect via SSLname - name of remote machineRemoteException - Remote ExceptionNotBoundException - Not Bound Exceptionpublic static RemoteMachine createMachine(String host, boolean ssl, RMI.RemoteMachineSpec spec, boolean sharable) throws RemoteException, NotBoundException
host - server hostssl - SSLspec - server specificationsharable - is sharable machine?RemoteException - Remote ExceptionNotBoundException - Not Bound ExceptioncreateMachine(String, boolean, String, String, String, String[], boolean)public static RemoteMachine createMachine(String host, boolean ssl, String name, String implClass, String implCodebase, String[] args) throws RemoteException, NotBoundException
host - server hostssl - SSLname - machine nameimplClass - macine classimplCodebase - codebaseargs - argumentsRemoteException - Remote ExceptionNotBoundException - Not Bound ExceptioncreateMachine(String, boolean, String, String, String, String[], boolean)public static RemoteMachine createMachine(String host, String name, String implClass, String implCodebase, String[] args) throws RemoteException, NotBoundException
host - server hostname - machine nameimplClass - macine classimplCodebase - codebaseargs - argumentsRemoteException - Remote ExceptionNotBoundException - Not Bound ExceptioncreateMachine(String, boolean, String, String, String, String[], boolean)public static RemoteMachine createSharableMachine(String host, boolean ssl, String name, String implClass, String implCodebase, String[] args) throws RemoteException, NotBoundException
host - server hostssl - SSLname - machine nameimplClass - macine classimplCodebase - codebaseargs - argumentsRemoteException - Remote ExceptionNotBoundException - Not Bound ExceptioncreateMachine(String, boolean, String, String, String, String[], boolean)public static RemoteMachine createSharableMachine(String host, String name, String implClass, String implCodebase, String[] args) throws RemoteException, NotBoundException
host - server hostname - machine nameimplClass - macine classimplCodebase - codebaseargs - argumentsRemoteException - Remote ExceptionNotBoundException - Not Bound ExceptioncreateMachine(String, boolean, String, String, String, String[], boolean)EDB Working Group at Mon Dec 15 16:45:05 JST 2025