Class RegClientTest


  • public class RegClientTest
    extends java.lang.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

      Constructors 
      Constructor Description
      RegClientTest()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.net.URL> getKnownRegMap()
      Returns a map containing nickname->service endpoint pairs for some popular registries, for convenience.
      static void main​(java.lang.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​(java.lang.String[] args)
                         throws java.io.IOException
        Main method. The "-help" flag will print usage information.
        Throws:
        java.io.IOException
      • getKnownRegMap

        public static java.util.Map<java.lang.String,​java.net.URL> getKnownRegMap()
        Returns a map containing nickname->service endpoint pairs for some popular registries, for convenience.
        Returns:
        map of nicknames to registry service endpoints