com.metamatrix.jdbc
Interface EmbeddedConnectionFactory

All Known Implementing Classes:
EmbeddedConnectionFactoryImpl

public interface EmbeddedConnectionFactory

A marker interface for creating connections Embedded DQP. The interface is defined so that it can be used with DQP class loading.


Method Summary
 java.sql.Connection createConnection(java.util.Properties properties)
          Create a Connection to the DQP.
 void shutdown()
          Shutdown the connection factory, including the DQP and all its existing connections
 

Method Detail

createConnection

java.sql.Connection createConnection(java.util.Properties properties)
                                     throws java.sql.SQLException
Create a Connection to the DQP. This will load a DQP instance if one is not present

Parameters:
properties -
Returns:
Connection to DQP
Throws:
java.sql.SQLException

shutdown

void shutdown()
              throws java.sql.SQLException
Shutdown the connection factory, including the DQP and all its existing connections

Throws:
java.sql.SQLException


Copyright © 2009. All Rights Reserved.