Package aquarium :: Package wsadaptor :: Module ModPythonAdaptor
[show private | hide private]
[frames | no frames]

Module aquarium.wsadaptor.ModPythonAdaptor

This subclass of WebServerAdaptor is for mod_python.


Classes
ModPythonAdaptor This subclass of WebServerAdaptor is for mod_python.

Function Summary
  handler(req)
Use this as your mod_python handler.
  updatePackagePath(req)
Update __main__.packagePath.

Function Details

handler(req)

Use this as your mod_python handler.

If you need to use your own subclass of aquarium.util.Aquarium, create a new modules that has a handler function like this one. You can still make use of this module's ModPythonAdaptor class and updatePackagePath function.

This function calls updatePackagePath.

updatePackagePath(req)

Update __main__.packagePath.

If the mod_python PythonOption AQUARIUM_PACKAGE_PATH is set, then set __main__.packagePath and reload the aquarium package.


Generated by Epydoc 2.1 on Mon Jan 1 16:34:19 2007 http://epydoc.sf.net