com.arsdigita.runtime
Class RuntimeConfig
java.lang.Object
com.arsdigita.util.parameter.AbstractParameterContext
com.arsdigita.runtime.AbstractConfig
com.arsdigita.runtime.RuntimeConfig
- All Implemented Interfaces:
- ParameterContext
- public final class RuntimeConfig
- extends AbstractConfig
A configuration record for configuration of the runtime
environment.
- Version:
- $Id: //core-platform/dev/src/com/arsdigita/runtime/RuntimeConfig.java#8 $
- Author:
- Justin Ross <jross@redhat.com>
|
Constructor Summary |
RuntimeConfig()
Constructs an empty RuntimeConfig object. |
| Methods inherited from class com.arsdigita.util.parameter.AbstractParameterContext |
get, get, getParameters, load, load, loadInfo, register, save, set, validate, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
RuntimeConfig
public RuntimeConfig()
- Constructs an empty RuntimeConfig object.
getConfig
public static final RuntimeConfig getConfig()
- Returns the singleton configuration record for the runtime
environment.
- Returns:
- The
RuntimeConfig record; it cannot be null
getJDBCURL
public final String getJDBCURL()
- Returns the default JDBC URL for the current runtime.
- Returns:
- A
String JDBC URL; it cannot be null
getJDBCPoolSize
public final int getJDBCPoolSize()
- Returns the maximum size to be used for the connection pool.
- Returns:
- An integer limit on the number of JDBC connections
allowed open at once.
getJDBCPingInterval
public final long getJDBCPingInterval()
getQueryCacheSize
public final int getQueryCacheSize()
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC