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

Class Service

AppBase --+
          |
         Service


The service object is one of the top level objects used to build new parts of the AGTk. The service 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)
  _CheckRequestedCert(self, dn)
Check to see if we have a cert with this dn; if we do not, check to see if there's a request pending for it.
    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
NoneType theServiceInstance = None                                                                  
    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

_CheckRequestedCert(self, dn)

Check to see if we have a cert with this dn; if we do not, check to see if there's a request pending for it. If there is, install. Otherwise just return.
Parameters:
dn - Distinguished name of identity to check for.

Static Method Details

instance()

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

Class Variable Details

theServiceInstance

Type:
NoneType
Value:
None                                                                  

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