Package AccessGrid :: Module Toolkit :: Class Application
[show private | hide private]
[frames | no frames]

Class Application

AppBase --+
          |
         Application

Known Subclasses:
CmdlineApplication, WXGUIApplication

The application object is one of the top level objects used to build new parts of the AGTk. The application object is required to be a singleton in any process.
Method Summary
  __init__(self)
The application constructor that enforces the singleton pattern.
  Initialize(self, name, args)
This method sets up everything for reasonable execution.
  instance()
The interface for getting the one true instance of this object. (Static method)
    Inherited from AppBase
  AddCmdLineOption(self, option)
  FindConfigFile(self, configFile)
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)
  GetFileLogLevels(self)
Return the loggingLevels object for the current log file.
  GetGlobusConfig(self)
  GetHostname(self)
  GetLog(self)
Return a toolkit wide log.
  GetLogFilename(self)
  GetLogLevels(self)
Return the primary loggingLevels object.
  GetOption(self, arg)
  GetStreamLogLevels(self)
Return the loggingLevels object for the current output stream.
  GetToolkitConfig(self)
  GetUserConfig(self)
  ProcessArgs(self, args)
Process toolkit wide standard arguments.

Class Variable Summary
CmdlineApplication theAppInstance = <AccessGrid.Toolkit.CmdlineApplication ...
    Inherited from AppBase
NoneType theInstance = None                                                                  

Instance Method Details

__init__(self)
(Constructor)

The application constructor that enforces the singleton pattern.
Overrides:
AccessGrid.Toolkit.AppBase.__init__

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.
Overrides:
AccessGrid.Toolkit.AppBase.Initialize

Static Method Details

instance()

The interface for getting the one true instance of this object.

Class Variable Details

theAppInstance

Type:
CmdlineApplication
Value:
<AccessGrid.Toolkit.CmdlineApplication instance at 0x0360A198>         

Generated by Epydoc 2.1 on Thu Apr 14 16:39:26 2005 http://epydoc.sf.net