Package grassyknoll :: Package collection :: Module DelegateCollection :: Class DelegateCollection
[hide private]

Class DelegateCollection

source code


A Collection implementation that passes the buck.

The reader and writer instances should not be shared with other objects.

Instance Methods [hide private]
 
__init__(self, writer_factory, reader_factory)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
close(self)
free resources associated with this collection
source code

Inherited from Collection.Collection: __len__, cleanUp, create, delete, list, retrieve

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Methods [hide private]

Inherited from lib.meta.FactoryMixin: factory

Instance Variables [hide private]
callable reader_factory
the reader factory
  writer_factory
the writer factory
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, writer_factory, reader_factory)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

close(self)

source code 
free resources associated with this collection
Overrides: Collection.Collection.close
(inherited documentation)