Package 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 aServletContext
. 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
-
-
Constructor Summary
Constructors Constructor Description ServletContextCatalogLocator(javax.servlet.ServletContext servletContext)
-
-
-
Method Detail
-
locate
public String locate(String catalogPath)
- Specified by:
locate
in interfaceCatalogLocator
- Returns:
- URL complied string representation.
-
-