(file) Return to ConfigManager.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Config

Diff for /pegasus/src/Pegasus/Config/ConfigManager.h between version 1.19 and 1.20

version 1.19, 2004/06/01 11:21:55 version 1.20, 2004/06/09 16:08:29
Line 75 
Line 75 
  
 private: private:
  
     // This is meant to be a singleton, so the constructor      /**
     // and the destructor are made private          Refers to the singleton ConfigManager instance.  If no ConfigManager
           instance has been constructed, this value is null.
        */
     static ConfigManager* _instance;     static ConfigManager* _instance;
  
  
Line 139 
Line 141 
     */     */
     static const String PEGASUS_HOME_DEFAULT;     static const String PEGASUS_HOME_DEFAULT;
  
     /**  
     Constants representing the command line options.  
     */  
     static const char OPTION_TRACE;  
   
     static const char OPTION_LOG_TRACE;  
   
     static const char OPTION_DAEMON;  
   
  
     /**     /**
     Property Owners     Property Owners
Line 170 
Line 163 
     static FileSystemPropertyOwner*   fileSystemOwner;     static FileSystemPropertyOwner*   fileSystemOwner;
  
     static ProviderDirPropertyOwner*    providerDirOwner;     static ProviderDirPropertyOwner*    providerDirOwner;
   
       /**
           Boolean indicating whether configuration data should be read from
           and persisted to configuration files.  If true, all operations are
           functional and updates are written to the configuration files.  If
           false, the ConfigManager does not read to or write from configuration
           files.  In this case, methods that specifically implicate
           configuration files must not be used.  The default value is false.
        */
       Boolean useConfigFiles;
   
     /**     /**
     Construct the singleton instance of the ConfigManager and return a          Get a reference to the singleton ConfigManager instance.  If no
     pointer to that instance.          ConfigManager instance exists, construct one.
     */     */
     static ConfigManager* getInstance();     static ConfigManager* getInstance();
  
  
     /**     /**
       Initialize the current value of a config property.
   
       @param  propertyName  The name of the property to initialize (e.g.,
                             "httpPort").
       @param  propertyValue The initial value of the property.
       @return true if the property found and initialized, else false.
   
       @exception UnrecognizedConfigProperty  if property is not defined.
       @exception InvalidPropertyValue  if property value is not valid.
       */
       Boolean initCurrentValue(
           const String& name,
           const String& value);
           //throw (InvalidPropertyValue, UnrecognizedConfigProperty);
   
       /**
     Update current value of a property.     Update current value of a property.
  
     @param  propertyName  The name of the property to update (eg. "httpPort").     @param  propertyName  The name of the property to update (eg. "httpPort").
Line 286 
Line 306 
     Get a list of all the property names.     Get a list of all the property names.
  
     @param propertyNames  List containing all the property names.     @param propertyNames  List containing all the property names.
     */      @param includeHiddenProperties  Boolean indicating whether hidden
     void getAllPropertyNames(Array<String>& propertyNames);                                      properties should be included in the
                                       returned list.
       */
       void getAllPropertyNames(
           Array<String>& propertyNames,
           Boolean includeHiddenProperties);
  
     /**     /**
     Merges the config properties from the specified configuration files.     Merges the config properties from the specified configuration files.


Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2