ca.bc.gov.webade
Interface ADEConnectionProxy


public interface ADEConnectionProxy

Provides access to the ADE database via a JDBC Connection. Copyright (c) 2001 Company: Vivid Solutions

Version:
1.0
Author:
Jason Ross

Method Summary
 java.sql.Connection getADEConnection()
          Returns a connection to the ADE database.
 java.lang.String getEnvironment()
           
 void releaseADEConnection(java.sql.Connection conn)
          Releases the lock on the given ADE connection.
 

Method Detail

getEnvironment

public java.lang.String getEnvironment()
Returns:
Returns the environment.

getADEConnection

public java.sql.Connection getADEConnection()
                                     throws java.sql.SQLException
Returns a connection to the ADE database. Allows the WebADE API to use the database to perform WebADE processes, while hiding this functionality from specific application implementations.

Returns:
A connection to the WebADE database.
Throws:
java.sql.SQLException - Thrown when the operation fails.

releaseADEConnection

public void releaseADEConnection(java.sql.Connection conn)
                          throws java.sql.SQLException
Releases the lock on the given ADE connection.

Parameters:
conn - A connection to the WebADE database.
Throws:
java.sql.SQLException - Thrown when the operation fails.