Node Director
Static Public Member Functions | List of all members
sfi.director.util.Init Class Reference

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.

Member Function Documentation

static DBConnection sfi.director.util.Init.set_db ( String  prop,
String  defloc,
boolean  fatal,
String  defaulturl 
)
static
static DBConnection sfi.director.util.Init.set_db ( String  prop,
String  defloc,
boolean  fatal 
)
static
static DBConnection sfi.director.util.Init.set_db ( String  prop,
String  defloc,
boolean  fatal,
Credentials  creds 
)
static
static DBConnection sfi.director.util.Init.set_db ( String  prop,
String  defloc,
boolean  fatal,
Credentials  creds,
String  defaulturl 
)
static
static void sfi.director.util.Init.setup ( )
static
static void sfi.director.util.Init.setup_agent ( )
static
static void sfi.director.util.Init.setup_base ( )
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 void sfi.director.util.Init.setup_cli ( )
static
static void sfi.director.util.Init.setup_frinterface ( )
static
static void sfi.director.util.Init.setup_localagent ( )
static

The setup method used when running in agent mode.

References sfi.director.util.Setup.logger, and sfi.director.util.Init.setup_base().

static void sfi.director.util.Init.setup_objectregistry ( )
static
static void sfi.director.util.Init.setup_objeventdb ( )
static
static void sfi.director.util.Init.setup_setpasswd ( )
static

The setup method used by the user password utility.

References sfi.director.util.Init.setup_base().


The documentation for this class was generated from the following file: