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

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.language.markup.xsp.AbstractEsqlConnection
          extended by org.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.html 1304258 2012-03-23 10:09:27Z ilgrosso $
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-2010 The Apache Software Foundation. All Rights Reserved.