Home | Trees | Index | Help |
|
---|
Package AccessGrid :: Module Toolkit :: Class AppBase |
|
Application
,
Service
Method Summary | |
---|---|
The application constructor that enforces the singleton pattern. | |
AddCmdLineOption(self,
option)
| |
Locate given file in configuration directories: first check user dir, then system dir; return None if not found | |
GetCertificateManager(self)
| |
GetCertMgrUI(self)
| |
GetConfigFilename(self)
| |
GetDebugLevel(self)
| |
GetDefaultSubject(self)
| |
Return the loggingLevels object for the current log file. | |
GetGlobusConfig(self)
| |
GetHostname(self)
| |
Return a toolkit wide log. | |
GetLogFilename(self)
| |
Return the primary loggingLevels object. | |
GetOption(self,
arg)
| |
Return the loggingLevels object for the current output stream. | |
GetToolkitConfig(self)
| |
GetUserConfig(self)
| |
This method sets up everything for reasonable execution. | |
The interface for getting the one true instance of this object. (Static method) | |
Process toolkit wide standard arguments. | |
Check to see if the local clock is out of synch, a common reason for a failed authentication. |
Class Variable Summary | |
---|---|
NoneType |
theInstance = None |
Instance Method Details |
---|
__init__(self)
The application constructor that enforces the singleton pattern.
|
FindConfigFile(self, configFile)Locate given file in configuration directories: first check user dir, then system dir; return None if not found |
GetFileLogLevels(self)Return the loggingLevels object for the current log file. |
GetLog(self)Return a toolkit wide log. |
GetLogLevels(self)Return the primary loggingLevels object. in debug mode: self.streamLoggerLevels otherwise: self.fhLoggerLevels Should be called after initialization. Levels can be set like this: ll = GetFileLevels() ll.SetLevel(Log.DEBUG) and tuned like this: ll.SetLevel(Log.WARN, Log.Hosting) |
GetStreamLogLevels(self)Return the loggingLevels object for the current output stream. Returns None when not in debug mode. |
Initialize(self, name=None, args=None)This method sets up everything for reasonable execution. At the first sign of any problems it raises exceptions and exits. |
ProcessArgs(self, args=None)Process toolkit wide standard arguments. Then return the modified argv so the app can choose to parse more if it requires that. |
__CheckForInvalidClock(self)Check to see if the local clock is out of synch, a common reason for a failed authentication. This routine loggs a warningString. |
Static Method Details |
---|
instance()The interface for getting the one true instance of this object. |
Class Variable Details |
---|
theInstance
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Apr 14 16:39:30 2005 | http://epydoc.sf.net |