version 1.15, 2006/01/30 16:17:36
|
version 1.16, 2006/11/14 18:34:50
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
|
// |
|
// Modified By: Dave Sudlik, IBM (dsudlik@us.ibm.com), for PEP 164 |
|
// Aruran, IBM (ashanmug@in.ibm.com) for Bug# 3614 |
|
// David Dillard, VERITAS Software Corp. |
|
// (david.dillard@veritas.com) |
|
// Vijay Eli, IBM, (vijayeli@in.ibm.com) for Bug# 3613 |
|
// Aruran, IBM (ashanmug@in.ibm.com) for Bug# 3613 |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
| |
|
|
class and provides an implementation for repository-related configuration | class and provides an implementation for repository-related configuration |
properties. | properties. |
*/ | */ |
class PEGASUS_CONFIG_LINKAGE RepositoryPropertyOwner : public ConfigPropertyOwner |
class PEGASUS_CONFIG_LINKAGE RepositoryPropertyOwner : |
|
public ConfigPropertyOwner |
{ | { |
public: | public: |
| |
/** Constructors */ | /** Constructors */ |
RepositoryPropertyOwner(); | RepositoryPropertyOwner(); |
| |
|
|
/** Destructor */ | /** Destructor */ |
~RepositoryPropertyOwner(); | ~RepositoryPropertyOwner(); |
| |
|
|
*/ | */ |
void initialize(); | void initialize(); |
| |
|
|
/** | /** |
Get information about the specified property. | Get information about the specified property. |
| |
|
|
*/ | */ |
void getPropertyInfo(const String& name, Array<String>& propertyInfo)const; | void getPropertyInfo(const String& name, Array<String>& propertyInfo)const; |
| |
|
|
/** | /** |
Get default value of the specified property. | Get default value of the specified property. |
| |
|
|
*/ | */ |
String getDefaultValue(const String& name)const; | String getDefaultValue(const String& name)const; |
| |
|
|
/** | /** |
Get current value of the specified property. | Get current value of the specified property. |
| |
|
|
*/ | */ |
String getCurrentValue(const String& name)const; | String getCurrentValue(const String& name)const; |
| |
|
|
/** | /** |
Get planned value of the specified property. | Get planned value of the specified property. |
| |
|
|
*/ | */ |
String getPlannedValue(const String& name)const; | String getPlannedValue(const String& name)const; |
| |
|
|
/** | /** |
Init current value of the specified property to the specified value. | Init current value of the specified property to the specified value. |
This method is expected to be called only once at the start of the | This method is expected to be called only once at the start of the |
|
|
*/ | */ |
void initCurrentValue(const String& name, const String& value); | void initCurrentValue(const String& name, const String& value); |
| |
|
|
/** | /** |
Init planned value of the specified property to the specified value. | Init planned value of the specified property to the specified value. |
This method is expected to be called only once at the start of the | This method is expected to be called only once at the start of the |
|
|
*/ | */ |
void initPlannedValue(const String& name, const String& value); | void initPlannedValue(const String& name, const String& value); |
| |
|
|
/** | /** |
Update current value of the specified property to the specified value. | Update current value of the specified property to the specified value. |
The property value will be updated only if the property is dynamically | The property value will be updated only if the property is dynamically |
|
|
//throw (NonDynamicConfigProperty, InvalidPropertyValue, | //throw (NonDynamicConfigProperty, InvalidPropertyValue, |
// UnrecognizedConfigProperty); | // UnrecognizedConfigProperty); |
| |
|
|
/** | /** |
Update planned value of the specified property to the specified value. | Update planned value of the specified property to the specified value. |
| |
|
|
*/ | */ |
void updatePlannedValue(const String& name, const String& value); | void updatePlannedValue(const String& name, const String& value); |
| |
|
|
/** | /** |
Checks to see if the given value is valid or not. | Checks to see if the given value is valid or not. |
| |
|
|
The repository properties owned by this class | The repository properties owned by this class |
*/ | */ |
struct ConfigProperty* _repositoryIsDefaultInstanceProvider; | struct ConfigProperty* _repositoryIsDefaultInstanceProvider; |
struct ConfigProperty* _enableBinaryRepository; // PEP 164 |
struct ConfigProperty* _enableBinaryRepository; |
|
|
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |