ca.sqlpower.wabit
Interface OlapConnectionMapping

All Known Subinterfaces:
WabitSessionContext, WabitSwingSessionContext
All Known Implementing Classes:
WabitSessionContextImpl, WabitSwingSessionContextImpl

public interface OlapConnectionMapping

This interface maps an Olap4jDataSource to an open OlapConnection.


Method Summary
 org.olap4j.OlapConnection createConnection(ca.sqlpower.sql.Olap4jDataSource dataSource)
          This method returns an OlapConnection that has been mapped to an Olap4jDataSource.
 

Method Detail

createConnection

org.olap4j.OlapConnection createConnection(ca.sqlpower.sql.Olap4jDataSource dataSource)
                                           throws java.sql.SQLException,
                                                  java.lang.ClassNotFoundException,
                                                  javax.naming.NamingException
This method returns an OlapConnection that has been mapped to an Olap4jDataSource. This connection should not be closed as other objects may be using it to access the data source.

Throws:
java.sql.SQLException
java.lang.ClassNotFoundException
javax.naming.NamingException


Copyright © 2009. All Rights Reserved.