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

rwsf::NamingContext

Group:  Generic Objects

Local Index

Members

Non-Members

Header File

#include <rwsf/core/NamingContext.h>

Description

A rwsf::NamingContext object contains all rwsf::NamedObjects relevant to a particular service. On startup, the Agent creates all registered named objects and then stores them together in an instance of rwsf::NamingContext specific to each service. This context object acts like a global registry and instantiates each object.

Global Typedefs

typedef NamedObjectImp* (*RWNamingCreateMethod)();

Global Static Functions

NamingContext* 
getGlobalInstance();

Public Constructors

NamingContext();

Destructor

~NamingContext();

Public Member Functions

void 
bind(const std::string& name, const rwsf::NamedObject& obj);
rwsf::NamedObject 
lookup(const std::string& name) const;
void 
unbind(const std::string& name);
rwsf::Enumeration<std::string> 
listBindings() const;
void 
load(const std::string& filename, 
    const std::string& librarySuffix =
std::string(LEIF_DEFAULT_LIBSUFFIX));
static void 
loadGlobal(const std::string& filename, 
    const std::string& librarySuffix =
std::string(LEIF_DEFAULT_LIBSUFFIX));


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.