nl.knowledgeplaza.soaptools.client
Class SoapConnectionPoolFactoryServletUtils

java.lang.Object
  extended by nl.knowledgeplaza.soaptools.client.SoapConnectionPoolFactoryServletUtils

public class SoapConnectionPoolFactoryServletUtils
extends Object

Servlet related helper methods for the JdbcConnectionPoolFactory. The splitup of these methods to this class eliminates any imports of servlet classes in JdbcConnectionPoolFactory, which would cause usage of JdbcConnectionPoolFactory outside a webapp to be problematic.

Version:
$Revision: 1.1 $

Field Summary
static String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
SoapConnectionPoolFactoryServletUtils()
           
 
Method Summary
static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.http.HttpServletRequest request, String poolname)
           
static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.http.HttpServletRequest request, String poolname, String applicationname)
           
static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.http.HttpServletRequest request, String poolname, String applicationname, boolean autocommit)
          Deprecated.  
static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.http.HttpSession session, String poolname)
           
static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.http.HttpSession session, String poolname, String applicationname)
           
static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.ServletContext context, String poolname)
           
static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.ServletContext context, String poolname, nl.knowledgeplaza.util.ConfigurationProperties configurationProperties)
          Get the database pool from a servlet context or create one
static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.ServletContext context, String poolname, String applicationname)
          Get the database pool from a servlet context or create one
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCECODE_VERSION

public static final String SOURCECODE_VERSION
Standard variable for determining version of a class file.

See Also:
Constant Field Values
Constructor Detail

SoapConnectionPoolFactoryServletUtils

public SoapConnectionPoolFactoryServletUtils()
Method Detail

getConnectionPool

public static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.ServletContext context,
                                                                       String poolname,
                                                                       nl.knowledgeplaza.util.ConfigurationProperties configurationProperties)
Get the database pool from a servlet context or create one


getConnectionPool

public static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.ServletContext context,
                                                                       String poolname,
                                                                       String applicationname)
Get the database pool from a servlet context or create one


getConnectionPool

public static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.ServletContext context,
                                                                       String poolname)

getConnectionPool

public static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.http.HttpSession session,
                                                                       String poolname,
                                                                       String applicationname)

getConnectionPool

public static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.http.HttpSession session,
                                                                       String poolname)

getConnectionPool

public static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.http.HttpServletRequest request,
                                                                       String poolname,
                                                                       String applicationname)

getConnectionPool

public static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.http.HttpServletRequest request,
                                                                       String poolname)

getConnectionPool

public static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.http.HttpServletRequest request,
                                                                       String poolname,
                                                                       String applicationname,
                                                                       boolean autocommit)
Deprecated. 

for backward compatibility, autocommit is not used!!!



Copyright © 2013 KnowledgePlaza. All Rights Reserved.