Class TestSiteCatalog


  • public class TestSiteCatalog
    extends java.lang.Object
    A Test program that shows how to load a Site Catalog, and query for all sites. The configuration is picked from the Properties. The following properties need to be set
          pegasus.catalog.site       Text|XML|XML3
          pegasus.catalog.site.file  path to the site catalog.
      
    The Pegasus Properties can be picked from property files at various locations. The priorities are explained below.
       - The default path for the properties file is $PEGASUS_HOME/etc/properties.
       - A properties file if found at ${user.home}/.pegasusrc has higher property.
       - Finally a user can specify the path to the properties file by specifying 
         the JVM  property pegasus.user.properties . This has the higher priority.
     
    Version:
    $Revision$
    Author:
    Karan Vahi
    • Constructor Summary

      Constructors 
      Constructor Description
      TestSiteCatalog()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      The main program.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestSiteCatalog

        public TestSiteCatalog()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        The main program.
        Parameters:
        args - arguments passed at runtime