org.pentaho.platform.web.servlet
Class PentahoDataSourceResolver

java.lang.Object
  extended by org.pentaho.platform.web.servlet.PentahoDataSourceResolver
All Implemented Interfaces:
mondrian.spi.DataSourceResolver

public class PentahoDataSourceResolver
extends Object
implements mondrian.spi.DataSourceResolver

This class provides SPI functionality to Mondrian. It resolves relational data sources by their name. It uses the PentahoSessionHolder.

Author:
Luc Boudreau

Constructor Summary
PentahoDataSourceResolver()
           
 
Method Summary
 DataSource lookup(String dataSourceName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PentahoDataSourceResolver

public PentahoDataSourceResolver()
Method Detail

lookup

public DataSource lookup(String dataSourceName)
                  throws Exception
Specified by:
lookup in interface mondrian.spi.DataSourceResolver
Throws:
Exception