BaseConfig.cfcis not capable of reading or writing the config, it merely holds the data in a generic manner. If you want to read or write to/from a specific engine's format, you'll need to create one of the engine-specific subclasses, all of which extend
setCFHomePath()- Points to the server home where the config files are to be read or written.
read( CFHomePath )- Extract the config from the files found in the server home. You can override
write( CFHomePath )- Write the config out to the files in the server home whether or not they already exist. You can override
getMemento()- Return all configuration in as a raw CFML data structure. Useful for passing config values to another instance.
setMemento()- Accept configuration as a raw CFML data structure. Useful for accepting another instance's data.
BaseConfigclass if you want to deal with the generic JSON-based config.