|
Node Director
|
config files in simple "key value" style format More...
Public Member Functions | |
| SimpleKeyHandler () | |
Public Member Functions inherited from sfi.director.application.config.ConfigFileHandler | |
| 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 | |
| SimpleKeyHandler (String id, String[] packages, String[] filesel) | |
| void | addMultiArg (String name) |
| void | processLine (RestoreConfigEnvironment env, String line) throws IOException |
| void | emit (String key, String value) throws IOException |
Protected Member Functions inherited from sfi.director.application.config.ConfigFileHandler | |
| 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) |
| 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 |
Protected Attributes | |
| String | searchSeparator = null |
| String | insertSeparator = " " |
| boolean | spaceTolerant = false |
config files in simple "key value" style format
| sfi.director.application.config.SimpleKeyHandler.SimpleKeyHandler | ( | ) |
|
protected |
|
protected |
Referenced by sfi.director.application.config.ResolvConf.ResolvConf().
|
protected |
Reimplemented from sfi.director.application.config.ConfigFileHandler.
References sfi.director.application.config.SimpleKeyHandler.insertSeparator, sfi.director.application.config.ConfigFileHandler.restEnv(), and sfi.director.util.Tools.split().
Referenced by sfi.director.application.config.SimpleKeyHandler.processLine().
|
protected |
Reimplemented from sfi.director.application.config.ConfigFileHandler.
References sfi.director.application.config.ConfigFileHandler.dropThem(), sfi.director.application.config.SimpleKeyHandler.emit(), sfi.director.application.config.SimpleKeyHandler.searchSeparator, and sfi.director.application.config.SimpleKeyHandler.spaceTolerant.
|
protected |
Referenced by sfi.director.application.config.SimpleKeyHandler.emit(), sfi.director.application.config.SimpleKeyColonHandler.SimpleKeyColonHandler(), sfi.director.application.config.SimpleKeyEqualHandler.SimpleKeyEqualHandler(), and sfi.director.application.config.SimpleKeyEqualSpaceTolerantHandler.SimpleKeyEqualSpaceTolerantHandler().
|
protected |
Referenced by sfi.director.application.config.SimpleKeyHandler.processLine(), sfi.director.application.config.SimpleKeyColonHandler.SimpleKeyColonHandler(), sfi.director.application.config.SimpleKeyEqualHandler.SimpleKeyEqualHandler(), and sfi.director.application.config.SimpleKeyEqualSpaceTolerantHandler.SimpleKeyEqualSpaceTolerantHandler().
|
protected |
1.8.1.2