Package mondrian.spi
Interface DataSourceResolver
-
- All Known Implementing Classes:
JndiDataSourceResolver
public interface DataSourceResolver
Plugin class that resolves data source name toDataSource
object.The property
MondrianProperties.DataSourceResolverClass
determines which class to use. The default implementation isJndiDataSourceResolver
.- Author:
- jhyde
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataSource
lookup(String dataSourceName)
Converts a data source name to a JDBC data source object.
-
-
-
Method Detail
-
lookup
DataSource lookup(String dataSourceName) throws Exception
Converts a data source name to a JDBC data source object.- Parameters:
dataSourceName
- Data source name- Returns:
- JDBC data source, or null if not found
- Throws:
Exception
- on error
-
-