|
SolarMetric Kodo JDO 2.5.8 generated on January 11 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.solarmetric.kodo.impl.jdbc.runtime.ConfigurationConnector.AbstractConnectionFactoryConfiguration
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 |
|
| Constructor Detail |
public ConfigurationConnector.AbstractConnectionFactoryConfiguration(JDBCConfiguration conf,
boolean connectionFactory2)
conf - the configuration to useconnectionFactory2 - 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 |
public Properties getConnectionPropertiesProps()
ConnectionFactoryConfigurationProperties
object.getConnectionPropertiesProps in interface ConnectionFactoryConfigurationpublic void setConnectionUserName(String connectionUserName)
ConnectionFactoryConfigurationsetConnectionUserName in interface ConnectionFactoryConfigurationpublic String getConnectionUserName()
ConnectionFactoryConfigurationgetConnectionUserName in interface ConnectionFactoryConfigurationpublic void setConnectionPassword(String connectionPassword)
ConnectionFactoryConfigurationsetConnectionPassword in interface ConnectionFactoryConfigurationpublic String getConnectionPassword()
ConnectionFactoryConfigurationgetConnectionPassword in interface ConnectionFactoryConfigurationpublic void setConnectionURL(String connectionURL)
ConnectionFactoryConfigurationsetConnectionURL in interface ConnectionFactoryConfigurationpublic String getConnectionURL()
ConnectionFactoryConfigurationgetConnectionURL in interface ConnectionFactoryConfigurationpublic void setConnectionDriverName(String connectionDriverName)
ConnectionFactoryConfigurationsetConnectionDriverName in interface ConnectionFactoryConfigurationpublic String getConnectionDriverName()
ConnectionFactoryConfigurationgetConnectionDriverName in interface ConnectionFactoryConfigurationpublic void setConnectionFactoryName(String connectionFactoryName)
ConnectionFactoryConfigurationsetConnectionFactoryName in interface ConnectionFactoryConfigurationpublic String getConnectionFactoryName()
ConnectionFactoryConfigurationgetConnectionFactoryName in interface ConnectionFactoryConfigurationpublic void setMaxPool(int maxPool)
ConnectionFactoryConfigurationsetMaxPool in interface ConnectionFactoryConfigurationpublic int getMaxPool()
ConnectionFactoryConfigurationgetMaxPool in interface ConnectionFactoryConfigurationpublic void setMinPool(int minPool)
ConnectionFactoryConfigurationsetMinPool in interface ConnectionFactoryConfigurationpublic int getMinPool()
ConnectionFactoryConfigurationgetMinPool in interface ConnectionFactoryConfigurationpublic void setMsWait(int msWait)
ConnectionFactoryConfigurationsetMsWait in interface ConnectionFactoryConfigurationpublic int getMsWait()
ConnectionFactoryConfigurationgetMsWait in interface ConnectionFactoryConfigurationpublic void setStatementExecutionTimeout(int statementExecutionTimeout)
ConnectionFactoryConfigurationsetStatementExecutionTimeout in interface ConnectionFactoryConfigurationpublic int getStatementExecutionTimeout()
ConnectionFactoryConfigurationgetStatementExecutionTimeout in interface ConnectionFactoryConfigurationpublic void setConnectionProperties(String connectionProperties)
ConnectionFactoryConfigurationsetConnectionProperties in interface ConnectionFactoryConfigurationpublic String getConnectionProperties()
ConnectionFactoryConfigurationgetConnectionProperties in interface ConnectionFactoryConfigurationpublic void setConnectionTestTimeout(int connectionTestTimeout)
ConnectionFactoryConfigurationsetConnectionTestTimeout in interface ConnectionFactoryConfigurationpublic int getConnectionTestTimeout()
ConnectionFactoryConfigurationgetConnectionTestTimeout in interface ConnectionFactoryConfigurationpublic void setStatementCacheMaxSize(int statementCacheMaxSize)
ConnectionFactoryConfigurationsetStatementCacheMaxSize in interface ConnectionFactoryConfigurationpublic int getStatementCacheMaxSize()
ConnectionFactoryConfigurationgetStatementCacheMaxSize in interface ConnectionFactoryConfiguration
|
SolarMetric Kodo JDO 2.5.8 generated on January 11 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||