mondrian.spi.impl
Class ServletContextCatalogLocator
java.lang.Object
mondrian.spi.impl.ServletContextCatalogLocator
- All Implemented Interfaces:
- CatalogLocator
public class ServletContextCatalogLocator
- extends 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
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletContextCatalogLocator
public ServletContextCatalogLocator(ServletContext servletContext)
locate
public String locate(String catalogPath)
- Specified by:
locate
in interface CatalogLocator
- Returns:
- URL complied string representation.