mondrian.spi.impl
Class ServletContextCatalogLocator

java.lang.Object
  extended by 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
 

Constructor Summary
ServletContextCatalogLocator(ServletContext servletContext)
           
 
Method Summary
 String locate(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 String locate(String catalogPath)
Specified by:
locate in interface CatalogLocator
Returns:
URL complied string representation.

SourceForge.net_Logo