Trees | Index | Help |
---|
Package flumotion :: Package common :: Module registry :: Class ComponentRegistry |
|
Loggable
--+
|
ComponentRegistry
Method Summary | |
---|---|
__init__(self)
| |
addFile(self,
filename,
string)
| |
addFromString(self,
string)
| |
Add a registry path to this registry. | |
Clean the cache of components. | |
Dump the cache of components to the given opened file descriptor. | |
getBundles(self)
| |
getComponent(self,
name)
| |
getComponents(self)
| |
getDirectories(self)
| |
hasComponent(self,
name)
| |
isEmpty(self)
| |
rebuildNeeded(self)
| |
save(self,
force)
| |
Verify if the registry is uptodate and rebuild if it is not. | |
Inherited from Loggable | |
Log a debug message. | |
Log an error. | |
Log an informational message. | |
Log a log message. | |
Overridable log function. | |
Overridable object name function. | |
Log a warning. |
Class Variable Summary | |
---|---|
str |
filename = '/usr/src/rpm/BUILD/flumotion-0.1.6/cache/reg...
|
str |
logCategory : Implementors can provide a category to log their messages under. |
Method Details |
---|
addRegistryPath(self, path, force=False)Add a registry path to this registry. If force is False, the registry path will only be re-scanned if the directory has been modified since the last scan. If force is True, then the registry path will be parsed regardless of the modification time. |
clean(self)Clean the cache of components. |
dump(self, fd)Dump the cache of components to the given opened file descriptor.
|
verify(self)Verify if the registry is uptodate and rebuild if it is not. |
Class Variable Details |
---|
filename
|
logCategoryImplementors can provide a category to log their messages under.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Feb 16 07:22:59 2005 | http://epydoc.sf.net |