Static Public Member Functions | Static Public Attributes | Static Package Attributes

cern.cmw.mom.util.MomConfig Class Reference

List of all members.

Static Public Member Functions

static synchronized Properties getProperties (ClassLoader loader)

Static Public Attributes

static final String CONFIGURATION_PROPERTY = "cmw.mom.config"
static final String CONFIGURATION_PROPERTY_FILE = "cmw-mom-config.properties"
static final String CONFIGURATION_FILE = "cmw-mom.properties"
static final String CONNECTION_RETRY_PERIOD_PROPERTY = "cmw.mom.retry"
static final String CONNECTION_RETRY_NUMBER_PROPERTY = "cmw.mom.maxretry"
static final String CONNECTION_PING_INTERVAL_PROPERTY = "cmw.mom.ping"
static final String USERNAME_PROPERTY = "cmw.mom.username"
static final String PASSWORD_PROPERTY = "cmw.mom.password"
static final String BROKER_LIST_PROPERTY = "cmw.mom.brokerlist"
static final String LOAD_BALANCING_PROPERTY = "cmw.mom.loadbalancing"
static final String KEEP_ALIVE_PROPERTY = "cmw.mom.keepalive"
static final String MSG_PERSISTANCE_PROPERTY = "cmw.mom.persistance"
static final String MSG_PRIORITY_PROPERTY = "cmw.mom.priority"
static final String MSG_TIMETOLIVE_PROPERTY = "cmw.mom.timetolive"
static final String SEQUENTIAL_PROPERTY = "cmw.mom.sequential"
static final String SELECTOR_AT_BROKER_PROPERTY = "cmw.mom.selectoratbroker"
static final String NOTIFICATION_PROPERTY = "cmw.mom.notification"

Static Package Attributes

static Category cat = Category.getInstance(MomConfig.class.getName())

Detailed Description

Service class. Provides property definitions and initialization facility.

Version:
1.0 23 Jan 2001
Author:
Controls Middleware Project

Member Function Documentation

static synchronized Properties cern.cmw.mom.util.MomConfig.getProperties ( ClassLoader  loader  )  [static]

Returns properties loaded from the CMW configuration file. The path of the configuration file can be specified with the system property "cmw.config". If this property is not specified, then the default will be used which in the CERN environment is "http://slwww/~pca/cmw/cmw.cfg". The order of priority is as follows : system properties, user defined config file, default config file, default values.

Returns:
java.util.Properties The CMW properties.

References cern.cmw.mom.util.MomConfig.cat, cern.cmw.mom.util.MomConfig.CONFIGURATION_FILE, cern.cmw.mom.util.MomConfig.CONFIGURATION_PROPERTY, and cern.cmw.mom.util.MomConfig.CONFIGURATION_PROPERTY_FILE.


Member Data Documentation

final String cern.cmw.mom.util.MomConfig.BROKER_LIST_PROPERTY = "cmw.mom.brokerlist" [static]

Field BROKER_LIST_PROPERTY

Category cern.cmw.mom.util.MomConfig.cat = Category.getInstance(MomConfig.class.getName()) [static, package]
final String cern.cmw.mom.util.MomConfig.CONFIGURATION_FILE = "cmw-mom.properties" [static]

Field CONFIGURATION_FILE

Referenced by cern.cmw.mom.util.MomConfig.getProperties().

final String cern.cmw.mom.util.MomConfig.CONFIGURATION_PROPERTY = "cmw.mom.config" [static]

Field CONFIG_FILE_LOCATION_PROPERTY

Referenced by cern.cmw.mom.util.MomConfig.getProperties().

final String cern.cmw.mom.util.MomConfig.CONFIGURATION_PROPERTY_FILE = "cmw-mom-config.properties" [static]

Field CONFIGURATION_PROPERTY_FILE

Referenced by cern.cmw.mom.util.MomConfig.getProperties().

final String cern.cmw.mom.util.MomConfig.CONNECTION_PING_INTERVAL_PROPERTY = "cmw.mom.ping" [static]

Field CONNECTION_PING_INTERVAL_PROPERTY

final String cern.cmw.mom.util.MomConfig.CONNECTION_RETRY_NUMBER_PROPERTY = "cmw.mom.maxretry" [static]

Field CONNECTION_RETRY_NUMBER_PROPERTY

final String cern.cmw.mom.util.MomConfig.CONNECTION_RETRY_PERIOD_PROPERTY = "cmw.mom.retry" [static]

Field CONNECTION_RETRY_PERIOD_PROPERTY

final String cern.cmw.mom.util.MomConfig.KEEP_ALIVE_PROPERTY = "cmw.mom.keepalive" [static]

Field KEEP_ALIVE_PROPERTY

final String cern.cmw.mom.util.MomConfig.LOAD_BALANCING_PROPERTY = "cmw.mom.loadbalancing" [static]

Field LOAD_BALANCING_PROPERTY

final String cern.cmw.mom.util.MomConfig.MSG_PERSISTANCE_PROPERTY = "cmw.mom.persistance" [static]

Field MSG_PERSISTANCE_PROPERTY

final String cern.cmw.mom.util.MomConfig.MSG_PRIORITY_PROPERTY = "cmw.mom.priority" [static]

Field MSG_PRIORITY_PROPERTY

final String cern.cmw.mom.util.MomConfig.MSG_TIMETOLIVE_PROPERTY = "cmw.mom.timetolive" [static]

Field MSG_TIMETOLIVE_PROPERTY

final String cern.cmw.mom.util.MomConfig.NOTIFICATION_PROPERTY = "cmw.mom.notification" [static]

Field NOTIFICATION_PROPERTY

final String cern.cmw.mom.util.MomConfig.PASSWORD_PROPERTY = "cmw.mom.password" [static]

Field PASSWORD_PROPERTY

final String cern.cmw.mom.util.MomConfig.SELECTOR_AT_BROKER_PROPERTY = "cmw.mom.selectoratbroker" [static]

Field SELECTOR_AT_BROKER_PROPERTY

final String cern.cmw.mom.util.MomConfig.SEQUENTIAL_PROPERTY = "cmw.mom.sequential" [static]

Field SEQUENTIAL_PROPERTY

final String cern.cmw.mom.util.MomConfig.USERNAME_PROPERTY = "cmw.mom.username" [static]

Field USERNAME_PROPERTY


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties