Inheritance diagram for sfi.director.application.config.ConfigFileHandler:

Classes derived from this class handle one specific config file.
Public Member Functions | |
| void | save (SaveConfigEnvironment env) throws DirectorException |
| save this file if the ConfigEnvironment demands it. | |
| void | saveFile (SaveConfigEnvironment env, String file, String id) throws DirectorException |
| boolean | isInScope (SaveConfigEnvironment env) |
| does the ConfigEnvironment imply this config file must be saved. | |
| String | findFile (ConfigEnvironment env, boolean force) |
| try to find the best matching file out of the filesel list. | |
| synchronized void | restore (RestoreConfigEnvironment env) throws DirectorException |
| restore one config file from config environment env. | |
| String | id () |
| String[] | Packages () |
| String[] | Packages (String id) |
| String | description (String id) |
| String | configPrefixById (String id) |
| void | archiveStart (OutputStream out) |
| void | archiveWrite (byte[] data, int size) throws IOException |
| void | archiveClose () throws IOException |
Protected Member Functions | |
| ConfigFileHandler () | |
| ConfigFileHandler (String id, String[] packages, String[] filesel) | |
| void | performPostRestore (RestoreConfigEnvironment env) |
| RestoreConfigEnvironment | restEnv () |
| void | restEnv (RestoreConfigEnvironment env) |
| void | id (String newid) |
| void | Packages (String[] newpackages) |
| void | Filesel (String[] newfilesel) |
| String[] | Filesel () |
| String[] | restartIfProcs () |
| void | restartIfProcs (String[] procs) |
| String[] | restartServices () |
| void | restartServices (String[] services) |
| String | configPrefix () |
| void | configPrefix (String prefix) |
| void | processLine (RestoreConfigEnvironment env, String line) throws IOException |
| Vector | dropThem () |
| Hashtable | needInsert () |
| void | startFile (RestoreConfigEnvironment env) |
| void | endFile (RestoreConfigEnvironment env) throws IOException |
| place holder for handler specific finalization code | |
| void | emit (String key) throws IOException |
| void | emit (String key, String value) throws IOException |
Package Attributes | |
| OutputStream | extractStream = null |
| StringBuffer | buffer = new StringBuffer() |
| int | eolAfter = 0 |
|
|
|
|
||||||||||||||||
|
|
|
|
Implements sfi.director.util.ArchiveFilter. Reimplemented in sfi.director.application.config.GenericFileHandler. |
|
|
Implements sfi.director.util.ArchiveFilter. Reimplemented in sfi.director.application.config.GenericFileHandler. |
|
||||||||||||
|
Implements sfi.director.util.ArchiveFilter. Reimplemented in sfi.director.application.config.GenericFileHandler. |
|
|
|
|
|
|
|
|
Reimplemented in sfi.director.application.config.GenericFileHandler. |
|
|
Reimplemented in sfi.director.application.config.GenericFileHandler. |
|
|
|
|
||||||||||||
|
|
|
|
|
place holder for handler specific finalization code
Reimplemented in sfi.director.application.config.CompatPasswd. |
|
|
|
|
|
|
|
||||||||||||
|
try to find the best matching file out of the filesel list.
|
|
|
|
|
|
|
|
|
does the ConfigEnvironment imply this config file must be saved.
|
|
|
|
|
|
Reimplemented in sfi.director.application.config.GenericFileHandler. |
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
restore one config file from config environment env.
Reimplemented in sfi.director.application.config.GenericFileHandler. |
|
|
save this file if the ConfigEnvironment demands it.
Reimplemented in sfi.director.application.config.ConfigDir, and sfi.director.application.config.GenericFileHandler. |
|
||||||||||||||||
|
Reimplemented in sfi.director.application.config.Automounter. |
|
|
Reimplemented in sfi.director.application.config.CompatPasswd, and sfi.director.application.config.NamedConf. |
|
|
|
|
|
|
|
|
|
1.4.5