Package mondrian.spi.impl
Class JndiDataSourceResolver
java.lang.Object
mondrian.spi.impl.JndiDataSourceResolver
- All Implemented Interfaces:
DataSourceResolver
Implementation of
DataSourceResolver
that looks up
a data source using JNDI.- Author:
- jhyde
-
Constructor Summary
ConstructorDescriptionPublic constructor, required for plugin instantiation. -
Method Summary
Modifier and TypeMethodDescriptionConverts a data source name to a JDBC data source object.
-
Constructor Details
-
JndiDataSourceResolver
public JndiDataSourceResolver()Public constructor, required for plugin instantiation.
-
-
Method Details
-
lookup
Description copied from interface:DataSourceResolver
Converts a data source name to a JDBC data source object.- Specified by:
lookup
in interfaceDataSourceResolver
- Parameters:
dataSourceName
- Data source name- Returns:
- JDBC data source, or null if not found
- Throws:
NamingException
-