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
Version:
$Id: //open/mondrian/src/main/mondrian/spi/impl/ServletContextCatalogLocator.java#6 $
Author:
Gang Chen, jhyde

Constructor Summary
ServletContextCatalogLocator(javax.servlet.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(javax.servlet.ServletContext servletContext)
Method Detail

locate

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

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads