Package gnue :: Package appserver :: Module geasSessionManager :: Class geasSessionManager
[show private | hide private]

Class geasSessionManager


Method Summary
  __init__(self, connections, modulepath, scanModules)
  getFilters(self, language)
  open(self, parameters)
Create a new connection to the application server and return a session object.
  updateRepository(self, scanModules, haltOnError)
This function updates the class repository used by the session manager.
  __visitPath(self, arg, dirname, files)
This function get's called by os.path.walk () and processes all files in a given directory.
  _loadRepository(self)
This function loads the class repository
  _scanModulePath(self)
This function splits the modulepath by semicolons and scans all parts for gcd- and gld-files.

Method Details

__init__(self, connections, modulepath=None, scanModules=False)
(Constructor)

getFilters(self, language)

open(self, parameters)

Create a new connection to the application server and return a session object.
Parameters:
parameters - dictionary of parameters passed to the newly created session. This might contain information for authentication (like '_username' and '_password') as well as locale information.
Returns:
geasSession.geasSession instance

updateRepository(self, scanModules, haltOnError=False)

This function updates the class repository used by the session manager. First the modulepath will be scanned for gcd- and gld-files. All files found will be integrated and finally the repository get's updated.

__visitPath(self, arg, dirname, files)

This function get's called by os.path.walk () and processes all files in a given directory.

_loadRepository(self)

This function loads the class repository

_scanModulePath(self)

This function splits the modulepath by semicolons and scans all parts for gcd- and gld-files.
Returns:
tuple of sequences (gcd, gld)


GNUe Home

Private API

Developer's Corner