util.rmi
Class ClearRegistry.Now
java.lang.Object
util.CommandLineParser
util.rmi.ClearRegistry.Now
- Enclosing class:
- ClearRegistry
public static class ClearRegistry.Now
- extends CommandLineParser
Called from the command line to erase all registry bindings.
|
Method Summary |
static void |
main(String[] arg)
Command line arguments are the host name where the registry is
running and the registry port, or the local host on the default port
if none is given. |
| Methods inherited from class util.CommandLineParser |
getArguments, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZEROSWITCH
private static final String ZEROSWITCH
- See Also:
- Constant Field Values
ONESWITCH
private static final String ONESWITCH
- See Also:
- Constant Field Values
USE
private static final Map<String,String> USE
FOOT
private static final String FOOT
- See Also:
- Constant Field Values
ClearRegistry.Now
public ClearRegistry.Now()
main
public static void main(String[] arg)
throws InterruptedException,
ParseException
- Command line arguments are the host name where the registry is
running and the registry port, or the local host on the default port
if none is given. Use -k to specify killing of only dead entries.
Give names to be removed on command line, otherwise all are
cleaned.
- Throws:
InterruptedException
ParseException