uk.ac.starlink.registry
Class RegClientTest

java.lang.Object
  extended by uk.ac.starlink.registry.RegClientTest

public class RegClientTest
extends Object

Example standalone utility which uses the registry client code. The main method allows you to make a registry query and prints a basic summary of the results. Run it with the "-help" flag for usage information.

Author:
Mark Taylor

Constructor Summary
RegClientTest()
           
 
Method Summary
static Map<String,URL> getKnownRegMap()
          Returns a map containing nickname->service endpoint pairs for some popular registries, for convenience.
static void main(String[] args)
          Main method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegClientTest

public RegClientTest()
Method Detail

main

public static void main(String[] args)
                 throws IOException
Main method. The "-help" flag will print usage information.

Throws:
IOException

getKnownRegMap

public static Map<String,URL> getKnownRegMap()
Returns a map containing nickname->service endpoint pairs for some popular registries, for convenience.

Returns:
map of nicknames to registry service endpoints


Copyright © 2013 Central Laboratory of the Research Councils. All Rights Reserved.