util.rmi
Class ClearRegistry.Now

java.lang.Object
  extended by util.CommandLineParser
      extended by util.rmi.ClearRegistry.Now
Enclosing class:
ClearRegistry

public static class ClearRegistry.Now
extends CommandLineParser

Called from the command line to erase all registry bindings.


Nested Class Summary
 
Nested classes/interfaces inherited from class util.CommandLineParser
CommandLineParser.Test
 
Field Summary
private static String FOOT
           
private static String ONESWITCH
           
private static Map<String,String> USE
           
private static String ZEROSWITCH
           
 
Constructor Summary
ClearRegistry.Now()
           
 
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
 

Field Detail

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
Constructor Detail

ClearRegistry.Now

public ClearRegistry.Now()
Method Detail

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