jPOS 1.6.7 API Documentation

org.jpos.q2.tpl
Class ConnectionPoolAdaptor

java.lang.Object
  extended by org.jpos.q2.QBeanSupport
      extended by org.jpos.q2.tpl.ConnectionPoolAdaptor
All Implemented Interfaces:
Configurable, QBean, QBeanSupportMBean, QPersist

public class ConnectionPoolAdaptor
extends QBeanSupport

ConnectionPoolAdaptor

Version:
$Revision: 2854 $ $Date: 2010-01-02 02:34:31 -0800 (Sat, 02 Jan 2010) $
 <connection-pool name='jposdb'
   class='org.jpos.q2.tpl.ConnectionPoolAdaptor' logger="Q2">
 
  <property name="jdbc.driver"         value="com.mysql.jdbc.Driver" />
  <property name="jdbc.url"
           value="jdbc:mysql:///jpos?autoReconnect=true" />
  <property name="jdbc.user"           value="myuser" />
  <property name="jdbc.password"       value="mypass" />
 
  <property name="initial-connections" value="1" />
  <property name="max-connections"     value="10" />
  <property name="wait-if-busy"        value="yes" />
 </connection-pool>
 
Author:
Alejandro Revilla

Field Summary
 
Fields inherited from interface org.jpos.q2.QBean
DESTROYED, FAILED, STARTED, STARTING, stateString, STOPPED, STOPPING
 
Constructor Summary
ConnectionPoolAdaptor()
           
 
Method Summary
 
Methods inherited from class org.jpos.q2.QBeanSupport
destroy, getConfiguration, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getRealm, getServer, getState, getStateAsString, init, isModified, running, setConfiguration, setLogger, setModified, setName, setPersist, setRealm, setServer, setState, shutdownQ2, start, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionPoolAdaptor

public ConnectionPoolAdaptor()

jPOS.org