com.arsdigita.runtime
Class RuntimeConfig

java.lang.Object
  extended bycom.arsdigita.util.parameter.AbstractParameterContext
      extended bycom.arsdigita.runtime.AbstractConfig
          extended bycom.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>

Field Summary
static String versionId
           
 
Constructor Summary
RuntimeConfig()
          Constructs an empty RuntimeConfig object.
 
Method Summary
static RuntimeConfig getConfig()
          Returns the singleton configuration record for the runtime environment.
 long getJDBCPingInterval()
           
 int getJDBCPoolSize()
          Returns the maximum size to be used for the connection pool.
 String getJDBCURL()
          Returns the default JDBC URL for the current runtime.
 int getQueryCacheSize()
           
 
Methods inherited from class com.arsdigita.runtime.AbstractConfig
load, load, load, require
 
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
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

RuntimeConfig

public RuntimeConfig()
Constructs an empty RuntimeConfig object.

Method Detail

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 21 2004:2337 UTC