Class ServletContextCatalogLocator

  • All Implemented Interfaces:
    CatalogLocator

    public class ServletContextCatalogLocator
    extends java.lang.Object
    implements CatalogLocator
    Locates a catalog based upon a ServletContext.

    If the catalog URI is an absolute path, it refers to a resource inside our WAR file, so replace the URL.

    Since:
    December, 2005
    Author:
    Gang Chen, jhyde
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String locate​(java.lang.String catalogPath)  
      • Methods inherited from class java.lang.Object

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

      • ServletContextCatalogLocator

        public ServletContextCatalogLocator​(ServletContext servletContext)
    • Method Detail

      • locate

        public java.lang.String locate​(java.lang.String catalogPath)
        Specified by:
        locate in interface CatalogLocator
        Returns:
        URL complied string representation.