HappyDoc Generated Documentation Class: PluginLoader

HappyDoc3-r3_1 / happydoclib / pluginloader.py / PluginLoader 

A class to handle pluggable module loading.

Base Classes   

PluginLoader
  UserDict.UserDict

Methods   
  getModuleList 
getModuleList ( self )

Return a list of module names to be used as plugins.

  addEntryPoint 
addEntryPoint ( self,  infoDict )

Add an entry point into a module to our lookup tables.

This method must be implemented by the subclass.

Exceptions   

'Not implemented for %s' % self.__class__.__name__

  __init__ 
__init__ (
        self,
        moduleName,
        modulePath,
        parentModulePrefix,
        )

Create a PluginLoader.

Parameters
moduleName
The imported module, from which we get name, path, etc. to find the sub-modules.
modulePath
The path to the module, and therefore the parent directory of the plugins.
parentModulePrefix
The prefix of parent names to be added to moduleName. For example happydoclib.
Exceptions   

PluginException( buffer.getvalue(), _import_name )


This document was automatically generated Tue Dec 5 08:30:29 2006 by HappyDoc version 3.1