SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

com.solarmetric.kodo.impl.jdbc.runtime
Class ConfigurationConnector.AbstractConnectionFactoryConfiguration

java.lang.Object
  |
  +--com.solarmetric.kodo.impl.jdbc.runtime.ConfigurationConnector.AbstractConnectionFactoryConfiguration
All Implemented Interfaces:
ConnectionFactoryConfiguration
Enclosing class:
ConfigurationConnector

public static class ConfigurationConnector.AbstractConnectionFactoryConfiguration
extends Object
implements ConnectionFactoryConfiguration

An abstract ConnectionFactoryConfiguration that can be instantiated with values from a JDBCConfiguration configuration.


Constructor Summary
ConfigurationConnector.AbstractConnectionFactoryConfiguration(JDBCConfiguration conf, boolean connectionFactory2)
          Constructor: use the values from the specified configuration.
 
Method Summary
 String getConnectionDriverName()
          Class name of the Connection Driver.
 String getConnectionFactoryName()
          The name for the data store connection factory.
 String getConnectionPassword()
          The password for the data store connection.
 String getConnectionProperties()
          Get the properties string to apply to the connection factory.
 Properties getConnectionPropertiesProps()
          Returns the ConnectionFactory properties as a Properties object.
 int getConnectionTestTimeout()
          The number of seconds to wait between testing connections retrieved from the connection pool.
 String getConnectionURL()
          The URL for the data store connection.
 String getConnectionUserName()
          The user name for the data store connection.
 int getMaxPool()
          The maximum number of connections in the connection pool.
 int getMinPool()
          The minimum number of connections in the connection pool.
 int getMsWait()
          The number of milliseconds to wait for an available connection from the connection pool before throwing a JDODatastoreException.
 int getStatementCacheMaxSize()
          The size of the statement re-use cache.
 int getStatementExecutionTimeout()
          The timout for Statement execution (in seconds).
 void setConnectionDriverName(String connectionDriverName)
          Class name of the Connection Driver.
 void setConnectionFactoryName(String connectionFactoryName)
          The name for the data store connection factory.
 void setConnectionPassword(String connectionPassword)
          The password for the data store connection.
 void setConnectionProperties(String connectionProperties)
          Get the properties string to apply to the connection factory.
 void setConnectionTestTimeout(int connectionTestTimeout)
          The number of seconds to wait between testing connections retrieved from the connection pool.
 void setConnectionURL(String connectionURL)
          The URL for the data store connection.
 void setConnectionUserName(String connectionUserName)
          The user name for the data store connection.
 void setMaxPool(int maxPool)
          The maximum number of connections in the connection pool.
 void setMinPool(int minPool)
          The minimum number of connections in the connection pool.
 void setMsWait(int msWait)
          The number of milliseconds to wait for an available connection from the connection pool before throwing a JDODatastoreException.
 void setStatementCacheMaxSize(int statementCacheMaxSize)
          The size of the statement re-use cache.
 void setStatementExecutionTimeout(int statementExecutionTimeout)
          The timout for Statement execution (in seconds).
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationConnector.AbstractConnectionFactoryConfiguration

public ConfigurationConnector.AbstractConnectionFactoryConfiguration(JDBCConfiguration conf,
                                                                     boolean connectionFactory2)
Constructor: use the values from the specified configuration.
Parameters:
conf - the configuration to use
connectionFactory2 - if false, then standard JDO properties will be used to create the configuration. If true, then the ConnectionFactory2Properties will be used to provide configuration values.
Method Detail

getConnectionPropertiesProps

public Properties getConnectionPropertiesProps()
Description copied from interface: ConnectionFactoryConfiguration
Returns the ConnectionFactory properties as a Properties object.
Specified by:
getConnectionPropertiesProps in interface ConnectionFactoryConfiguration

setConnectionUserName

public void setConnectionUserName(String connectionUserName)
Description copied from interface: ConnectionFactoryConfiguration
The user name for the data store connection.
Specified by:
setConnectionUserName in interface ConnectionFactoryConfiguration

getConnectionUserName

public String getConnectionUserName()
Description copied from interface: ConnectionFactoryConfiguration
The user name for the data store connection.
Specified by:
getConnectionUserName in interface ConnectionFactoryConfiguration

setConnectionPassword

public void setConnectionPassword(String connectionPassword)
Description copied from interface: ConnectionFactoryConfiguration
The password for the data store connection.
Specified by:
setConnectionPassword in interface ConnectionFactoryConfiguration

getConnectionPassword

public String getConnectionPassword()
Description copied from interface: ConnectionFactoryConfiguration
The password for the data store connection.
Specified by:
getConnectionPassword in interface ConnectionFactoryConfiguration

setConnectionURL

public void setConnectionURL(String connectionURL)
Description copied from interface: ConnectionFactoryConfiguration
The URL for the data store connection.
Specified by:
setConnectionURL in interface ConnectionFactoryConfiguration

getConnectionURL

public String getConnectionURL()
Description copied from interface: ConnectionFactoryConfiguration
The URL for the data store connection.
Specified by:
getConnectionURL in interface ConnectionFactoryConfiguration

setConnectionDriverName

public void setConnectionDriverName(String connectionDriverName)
Description copied from interface: ConnectionFactoryConfiguration
Class name of the Connection Driver.
Specified by:
setConnectionDriverName in interface ConnectionFactoryConfiguration

getConnectionDriverName

public String getConnectionDriverName()
Description copied from interface: ConnectionFactoryConfiguration
Class name of the Connection Driver.
Specified by:
getConnectionDriverName in interface ConnectionFactoryConfiguration

setConnectionFactoryName

public void setConnectionFactoryName(String connectionFactoryName)
Description copied from interface: ConnectionFactoryConfiguration
The name for the data store connection factory.
Specified by:
setConnectionFactoryName in interface ConnectionFactoryConfiguration

getConnectionFactoryName

public String getConnectionFactoryName()
Description copied from interface: ConnectionFactoryConfiguration
The name for the data store connection factory.
Specified by:
getConnectionFactoryName in interface ConnectionFactoryConfiguration

setMaxPool

public void setMaxPool(int maxPool)
Description copied from interface: ConnectionFactoryConfiguration
The maximum number of connections in the connection pool.
Specified by:
setMaxPool in interface ConnectionFactoryConfiguration

getMaxPool

public int getMaxPool()
Description copied from interface: ConnectionFactoryConfiguration
The maximum number of connections in the connection pool.
Specified by:
getMaxPool in interface ConnectionFactoryConfiguration

setMinPool

public void setMinPool(int minPool)
Description copied from interface: ConnectionFactoryConfiguration
The minimum number of connections in the connection pool.
Specified by:
setMinPool in interface ConnectionFactoryConfiguration

getMinPool

public int getMinPool()
Description copied from interface: ConnectionFactoryConfiguration
The minimum number of connections in the connection pool.
Specified by:
getMinPool in interface ConnectionFactoryConfiguration

setMsWait

public void setMsWait(int msWait)
Description copied from interface: ConnectionFactoryConfiguration
The number of milliseconds to wait for an available connection from the connection pool before throwing a JDODatastoreException.
Specified by:
setMsWait in interface ConnectionFactoryConfiguration

getMsWait

public int getMsWait()
Description copied from interface: ConnectionFactoryConfiguration
The number of milliseconds to wait for an available connection from the connection pool before throwing a JDODatastoreException.
Specified by:
getMsWait in interface ConnectionFactoryConfiguration

setStatementExecutionTimeout

public void setStatementExecutionTimeout(int statementExecutionTimeout)
Description copied from interface: ConnectionFactoryConfiguration
The timout for Statement execution (in seconds).
Specified by:
setStatementExecutionTimeout in interface ConnectionFactoryConfiguration

getStatementExecutionTimeout

public int getStatementExecutionTimeout()
Description copied from interface: ConnectionFactoryConfiguration
The timout for Statement execution (in seconds).
Specified by:
getStatementExecutionTimeout in interface ConnectionFactoryConfiguration

setConnectionProperties

public void setConnectionProperties(String connectionProperties)
Description copied from interface: ConnectionFactoryConfiguration
Get the properties string to apply to the connection factory.
Specified by:
setConnectionProperties in interface ConnectionFactoryConfiguration

getConnectionProperties

public String getConnectionProperties()
Description copied from interface: ConnectionFactoryConfiguration
Get the properties string to apply to the connection factory.
Specified by:
getConnectionProperties in interface ConnectionFactoryConfiguration

setConnectionTestTimeout

public void setConnectionTestTimeout(int connectionTestTimeout)
Description copied from interface: ConnectionFactoryConfiguration
The number of seconds to wait between testing connections retrieved from the connection pool. Only valid when using the built-in Kodo connection pooling.
Specified by:
setConnectionTestTimeout in interface ConnectionFactoryConfiguration

getConnectionTestTimeout

public int getConnectionTestTimeout()
Description copied from interface: ConnectionFactoryConfiguration
The number of seconds to wait between testing connections retrieved from the connection pool. Only valid when using the built-in Kodo connection pooling.
Specified by:
getConnectionTestTimeout in interface ConnectionFactoryConfiguration

setStatementCacheMaxSize

public void setStatementCacheMaxSize(int statementCacheMaxSize)
Description copied from interface: ConnectionFactoryConfiguration
The size of the statement re-use cache.
Specified by:
setStatementCacheMaxSize in interface ConnectionFactoryConfiguration

getStatementCacheMaxSize

public int getStatementCacheMaxSize()
Description copied from interface: ConnectionFactoryConfiguration
The size of the statement re-use cache.
Specified by:
getStatementCacheMaxSize in interface ConnectionFactoryConfiguration

SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.