version 1.118, 2012/07/05 12:56:32
|
version 1.119, 2012/07/26 15:23:16
|
|
|
return propertyOwner->getPlannedValue(name); | return propertyOwner->getPlannedValue(name); |
} | } |
| |
|
/** |
|
Get help on specified attribute |
|
*/ |
|
void ConfigManager::getPropertyHelp( |
|
const String& name, |
|
String& propertyHelp) const |
|
{ |
|
// |
|
// get property owner object from config table |
|
// |
|
ConfigPropertyOwner* propertyOwner; |
|
if ( !_propertyTable->ownerTable.lookup(name, |
|
propertyOwner)) |
|
{ |
|
throw UnrecognizedConfigProperty(name); |
|
} |
|
propertyHelp.append(propertyOwner->getPropertyHelp(name)); |
|
} |
| |
/** | /** |
Get all the attributes of the specified property. | Get all the attributes of the specified property. |
|
|
return listenAddrs; | return listenAddrs; |
} | } |
| |
|
String ConfigManager::getDynamicAttributeStatus(const String& name) |
|
{ |
|
// |
|
// get property owner object from config table |
|
// |
|
ConfigPropertyOwner* propertyOwner; |
|
if ( !_propertyTable->ownerTable.lookup(name, propertyOwner)) |
|
{ |
|
throw UnrecognizedConfigProperty(name); |
|
} |
|
|
|
Boolean _isDynamic = propertyOwner->isDynamic(name); |
|
|
|
MessageLoaderParms parms( |
|
(_isDynamic? "Config.ConfigManager.DYNAMIC": |
|
"Config.ConfigManager.STATIC"), |
|
(_isDynamic? "Dynamic" : "Static")); |
|
|
|
parms.msg_src_path = "pegasus/pegasusServer"; |
|
return MessageLoader::getMessage(parms); |
|
} |
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |