com.metamatrix.soap.service
Class BasicConnectionPoolFactory

java.lang.Object
  extended by com.metamatrix.soap.service.BasicConnectionPoolFactory
All Implemented Interfaces:
ConnectionPoolFactory

public class BasicConnectionPoolFactory
extends java.lang.Object
implements ConnectionPoolFactory

This is the basic implementation of the ConnectionPoolFactory interface.

Since:
4.3

Field Summary
 
Fields inherited from interface com.metamatrix.soap.service.ConnectionPoolFactory
INITIAL_POOL_SIZE_PROPERTY_DEFAULT, INITIAL_POOL_SIZE_PROPERTY_KEY, MAX_ACTIVE_CONNECTIONS_DEFAULT, MAX_ACTIVE_CONNECTIONS_PROPERTY_KEY, MAX_IDLE_CONNECTIONS_DEFAULT, MAX_IDLE_CONNECTIONS_PROPERTY_KEY, MAX_WAIT_PROPERTY_DEFAULT, MAX_WAIT_PROPERTY_KEY, MIN_EVICTABLE_IDLE_TIME_MILLIS_DEFAULT, MIN_EVICTABLE_IDLE_TIME_MILLIS_KEY, MIN_IDLE_COUNT_PROPERTY_DEFAULT, MIN_IDLE_COUNT_PROPERTY_KEY, TIME_BETWEEN_EVICTION_THREAD_RUNS_DEFAULT, TIME_BETWEEN_EVICTION_THREAD_RUNS_KEY
 
Constructor Summary
BasicConnectionPoolFactory()
           
 
Method Summary
 javax.sql.DataSource createConnectionPool(java.util.Properties poolProperties)
           
protected  java.lang.String getProperty(java.lang.String propKey)
          This method will get a property value from the JVM System properties with the default value from the default properties class level instance being the default value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicConnectionPoolFactory

public BasicConnectionPoolFactory()
Method Detail

createConnectionPool

public javax.sql.DataSource createConnectionPool(java.util.Properties poolProperties)
Specified by:
createConnectionPool in interface ConnectionPoolFactory
Since:
4.3
See Also:
ConnectionPoolFactory.createConnectionPool(java.util.Properties)

getProperty

protected java.lang.String getProperty(java.lang.String propKey)
This method will get a property value from the JVM System properties with the default value from the default properties class level instance being the default value.

Parameters:
propKey - The key for the property to get
Returns:
the value of the property for the passed in key
Since:
4.3


Copyright © 2009. All Rights Reserved.