org.apache.cocoon.components.language.markup.xsp
Class Cocoon2EsqlConnection

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.components.language.markup.xsp.AbstractEsqlConnection
          extended byorg.apache.cocoon.components.language.markup.xsp.Cocoon2EsqlConnection
All Implemented Interfaces:
LogEnabled

public final class Cocoon2EsqlConnection
extends AbstractEsqlConnection

This is the Cocoon2 specific part of an AbstractEsqlConnection.

Version:
CVS $Id: Cocoon2EsqlConnection.java 153399 2005-02-11 13:52:19Z cziegeler $
Author:
Torsten Curdt

Constructor Summary
Cocoon2EsqlConnection()
           
Cocoon2EsqlConnection(Connection connection)
          Someone passed the connection
Cocoon2EsqlConnection(DataSourceComponent datasource)
          Get the connection from the pool
 
Method Summary
 Connection getConnection()
           
 
Methods inherited from class org.apache.cocoon.components.language.markup.xsp.AbstractEsqlConnection
close, commit, createQuery, getAutoCommit, getMetaData, getMultipleResults, getProperties, getURL, rollback, setAutoCommit, setMultipleResults, setPassword, setProperty, setURL, setUser
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cocoon2EsqlConnection

public Cocoon2EsqlConnection()

Cocoon2EsqlConnection

public Cocoon2EsqlConnection(Connection connection)
Someone passed the connection

Parameters:
connection -

Cocoon2EsqlConnection

public Cocoon2EsqlConnection(DataSourceComponent datasource)
Get the connection from the pool

Parameters:
datasource -
Method Detail

getConnection

public Connection getConnection()
                         throws SQLException
Specified by:
getConnection in class AbstractEsqlConnection
Throws:
SQLException


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.