Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Hydra Core Library Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::Config

Group:  General


rwsf::Config rwsf::HandleBase

Local Index

Members

Header File

#include <rwsf/core/Config.h>

Description

rwsf::Config is the base class for classes that encapsulate information from a deployment descriptor. Configuration information consists of a context object and a set of name/value pairs. The service implementation creates an instance of this class for each service instance. This class implements the handle/body idiom in which rwsf::ConfigImp is the body.

An instance of rwsf::Config contains the configuration information for each object created by the Hydra Agent. When the Agent starts up, it reads the objects.xml configuration file supplied for each service. This configuration file defines each object required by a service along with its initialization parameters. The Agent places these parameters into an rwsf::Config object which then gets passed to the init() method for the named object.

Public Constructors

Config();
Config(const Config& config);

Public Destructor

virtual
~Config();

Public Member Operators

Config&
operator=(const Config& rhs);

Public Member Functions

bool 
containsParameter(const std::string& name) const;
bool
getBoolInitParameter(const std::string& key, 
bool def = false) const;
std::string
getInitParameter(const std::string& name) const;
rwsf::Enumeration<std::string>
getInitParameterNames() const;
long 
getLongInitParameter(const std::string& key, 
long def = 0) const;
void 
setBoolInitParameter(const std::string& key, bool value);
void 
setInitParameter(const std::string& key, 
                   const std::string& value);
void 
setLongInitParameter(const std::string& key, long value);


Previous fileTop of DocumentContentsIndex pageNext file

©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks and HydraSDO is a trademark of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.