Package flumotion :: Package common :: Module registry :: Class RegistrySubsetWriter
[hide private]

Class RegistrySubsetWriter

source code

extern.log.log.Loggable --+    
                          |    
             RegistryWriter --+
                              |
                             RegistrySubsetWriter

Instance Methods [hide private]
 
__init__(self, fromRegistry=None, onlyBundles=None) source code
 
dump(self, fd)
Dump the cache of components to the given opened file descriptor.
source code

Inherited from extern.log.log.Loggable: __providedBy__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]

Inherited from extern.log.log.Loggable: __implemented__, __provides__, logCategory

Method Details [hide private]

__init__(self, fromRegistry=None, onlyBundles=None)
(Constructor)

source code 
Parameters:
  • fromRegistry (ComponentRegistry) - The registry to subset, or the default.
  • onlyBundles (list of str) - If given, only include the subset of the registry that is provided by bundles whose names are in this list.
Overrides: RegistryWriter.__init__

dump(self, fd)

source code 

Dump the cache of components to the given opened file descriptor.

Parameters:
  • fd - open file descriptor to write to
Overrides: RegistryWriter.dump
(inherited documentation)