Home | Trees | Index | Help |
---|
Package svnmailer :: Package settings :: Class Manager |
|
object
--+ |Singleton
--+ | Manager
Method Summary | |
---|---|
_base.BaseSettings |
Loads the settings using the registered loader |
Registers a new settings loader | |
Registers a new mapper class | |
Registers a new configuration option | |
Registers a new member type | |
Loads the class specified by classname | |
Inherited from Singleton | |
Non-initialization | |
Returns the one and only instance (Static method) | |
Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... |
Class Variable Summary | |
---|---|
str | _LOADER : The settings loader. |
list | _MAPPERS : The list of mapper classes. |
dict | _MEMBERS : The member definitions of the configuration sections. |
dict | _TYPEMAP : The mapping of all available type names to their
actual implementation classes. |
module | _util : The util module |
Inherited from Singleton | |
NoneType |
__singletoninstance__ = None |
Instance Method Details |
---|
loadSettings(self, options)Loads the settings using the registered loader
|
registerLoader(self, classname)Registers a new settings loader
|
registerMapper(self, classname)Registers a new mapper class
|
registerOption(self, category, name, spec=None, aliases=None, compare=True)Registers a new configuration option
|
registerType(self, name, classname)Registers a new member type
|
_load(self, classname)Loads the class specified byclassname
|
Class Variable Details |
---|
_LOADERThe settings loader. It should be modified by theregisterLoader method only and is also a fully qualified
class name. Note that each registerLoader call overrides the
previous one.
|
_MAPPERSThe list of mapper classes. It should be modified by theregisterMapper method only. The classes are expressed by
their fully qualified names in string form (like
'svnmailer.settings.mappers.PlainMapper'). The list is
initially filled with the builtin mapper classes.
|
_MEMBERSThe member definitions of the configuration sections. UseregisterOption to modifiy it.
|
_TYPEMAPThe mapping of all available type names to their actual implementation classes. It should be modified by theregisterType method only. The classes are expressed by their
fully qualified names in string form (like
'svnmailer.settings._accessors.UnicodeMember'). The dict
is initially filled with builtin descriptor classes.
|
_utilThe util module
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sun Sep 25 20:49:13 2005 | http://epydoc.sf.net |