Node Director
|
Static Public Member Functions | |
static void | setup_base () |
Setup some basic things ... | |
static DBConnection | set_db (String prop, String defloc, boolean fatal, String defaulturl) |
Setup one database. | |
static DBConnection | set_db (String prop, String defloc, boolean fatal) |
static DBConnection | set_db (String prop, String defloc, boolean fatal, Credentials creds) |
static DBConnection | set_db (String prop, String defloc, boolean fatal, Credentials creds, String defaulturl) |
static void | setup_objectregistry () |
static void | setup_objeventdb () |
static void | setup () |
The main setup() routine used by most of the interactive director classes. | |
static void | setup_localagent () |
The setup method used when running in agent mode. | |
static void | setup_agent () |
The setup method used when running in agent mode. | |
static void | setup_setpasswd () |
The setup method used by the user password utility. | |
static void | setup_cli () |
The setup method used by CLI commands. | |
static void | setup_frinterface () |
The frontend interface setup() routine. |
|
static |
|
static |
References sfi.director.util.Init.set_db().
|
static |
References sfi.director.util.Init.set_db().
|
static |
References sfi.director.util.Tools.exit(), sfi.director.repository.DBConnection.get(), sfi.director.repository.DBManager.getConnection(), sfi.director.util.MyProperties.getProperty(), sfi.director.util.Tools.log(), sfi.director.util.Setup.nulldb, sfi.director.util.Setup.properties, sfi.director.repository.OnDemandDBConnection.setCredentials(), sfi.director.util.MyProperties.setProperty(), and sfi.director.util.Setup.topdb.
|
static |
The main setup() routine used by most of the interactive director classes.
References sfi.director.util.Setup.cmdqueuedb, sfi.director.util.MyProperties.getProperty(), sfi.director.util.Setup.jobqueuedb, sfi.director.util.Setup.logger, sfi.director.util.Setup.nulldb, sfi.director.util.Setup.properties, sfi.director.util.Setup.reqqueuedb, sfi.director.util.Init.set_db(), sfi.director.util.Init.setup_base(), sfi.director.util.Init.setup_objectregistry(), and sfi.director.util.Init.setup_objeventdb().
Referenced by sfi.director.application.DirectorPackage.main(), sfi.director.cli.debug.run(), sfi.director.cli.test.run(), sfi.director.cli.agent.run(), and sfi.director.util.Init.setup_cli().
|
static |
The setup method used when running in agent mode.
References sfi.director.util.SiteSetup.configdir, sfi.director.util.Setup.fileSeparator, sfi.director.util.MyProperties.getProperty(), sfi.director.util.Setup.hostnames, sfi.director.util.Setup.isagent, sfi.director.util.Setup.logger, sfi.director.util.Setup.masterhost, sfi.director.util.Setup.properties, and sfi.director.util.Init.setup_base().
Referenced by sfi.director.cli.app_extract.run(), sfi.director.cli.agent.run(), and sfi.director.cli.app_freeze.run().
|
static |
Setup some basic things ...
this method is invoked by any other setup_* method
References sfi.director.util.Setup.active_properties, sfi.director.util.MyProperties.addProperties(), sfi.director.util.Setup.agentcommand, sfi.director.util.SiteSetup.configdir, sfi.director.util.Setup.configDomain, sfi.director.util.SiteSetup.configfile, sfi.director.util.Setup.configFile, sfi.director.util.Tools.debug(), sfi.director.util.Setup.defaultSettings, sfi.director.util.Tools.exit(), sfi.director.util.Setup.fileSeparator, sfi.director.repository.DBManager.getConnection(), sfi.director.system.Hosts.gethostaliases(), sfi.director.system.Hosts.gethostname(), sfi.director.util.MyProperties.getProperty(), sfi.director.util.Setup.hostname, sfi.director.util.Setup.hostnames, sfi.director.util.Setup.isagent, sfi.director.util.Setup.iswindows, sfi.director.util.Setup.localLockdb, sfi.director.util.Tools.log(), sfi.director.util.Setup.masterhost, sfi.director.util.Setup.memorydb, sfi.director.util.Setup.nulldb, sfi.director.util.Setup.programid, sfi.director.util.Setup.properties, sfi.director.util.Setup.rcdir, sfi.director.util.Setup.rootDir, sfi.director.util.Init.set_db(), sfi.director.util.MyProperties.setDefault(), sfi.director.util.Tools.split(), sfi.director.util.Setup.tmphost, and sfi.director.util.Setup.tmpstorage.
Referenced by sfi.director.util.Init.setup(), sfi.director.util.Init.setup_agent(), sfi.director.util.Init.setup_frinterface(), sfi.director.util.Init.setup_localagent(), and sfi.director.util.Init.setup_setpasswd().
|
static |
The setup method used by CLI commands.
References sfi.director.util.Setup.interactive, sfi.director.util.Setup.logger, and sfi.director.util.Init.setup().
Referenced by sfi.director.jobs.JobMonitor.main(), sfi.director.cli.listdirectories.run(), sfi.director.cli.olinstall.run(), sfi.director.cli.docrefetch.run(), sfi.director.cli.docclean.run(), sfi.director.cli.docu.run(), sfi.director.cli.keyinit.run(), sfi.director.cli.shutdown.run(), sfi.director.cli.init.run(), sfi.director.cli.monitor.run(), sfi.director.cli.app_import.run(), sfi.director.cli.listconfig.run(), sfi.director.cli.list.run(), sfi.director.cli.listevents.run(), sfi.director.cli.mkdepend.run(), sfi.director.cli.delete.run(), sfi.director.cli.event.run(), sfi.director.cli.modify.run(), sfi.director.cli.copy.run(), sfi.director.cli.passwd.run(), sfi.director.cli.build.run(), sfi.director.cli.serverstatus.run(), sfi.director.cli.app_subscribe.run(), sfi.director.cli.app_freeze.run(), sfi.director.cli.app_dist.run(), and sfi.director.cli.schema.run().
|
static |
The frontend interface setup() routine.
References sfi.director.util.Setup.cmdqueuedb, sfi.director.util.SiteSetup.configdir, sfi.director.util.Setup.fileSeparator, sfi.director.util.MyProperties.getProperty(), sfi.director.util.Setup.jobqueuedb, sfi.director.util.Setup.logger, sfi.director.util.Setup.nulldb, sfi.director.util.Setup.properties, sfi.director.util.Setup.reqqueuedb, sfi.director.util.Init.set_db(), sfi.director.util.Credentials.setMethod(), sfi.director.util.Init.setup_base(), sfi.director.util.Init.setup_objectregistry(), and sfi.director.util.Init.setup_objeventdb().
Referenced by sfi.director.cli.frinterface.run().
|
static |
The setup method used when running in agent mode.
References sfi.director.util.Setup.logger, and sfi.director.util.Init.setup_base().
|
static |
References sfi.director.util.Tools.exit(), sfi.director.util.Setup.fileSeparator, sfi.director.util.ObjectRegistry.fromSearch(), sfi.director.repository.DBManager.getConnection(), sfi.director.util.MyProperties.getProperty(), sfi.director.util.Tools.log(), sfi.director.util.Setup.objregistrydb, sfi.director.util.Setup.properties, sfi.director.util.Setup.rootDir, and sfi.director.repository.DBConnection.search().
Referenced by sfi.director.util.Init.setup(), and sfi.director.util.Init.setup_frinterface().
|
static |
|
static |
The setup method used by the user password utility.
References sfi.director.util.Init.setup_base().