Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions
five.localsitemanager.registry.PersistentComponents Class Reference
Inheritance diagram for five.localsitemanager.registry.PersistentComponents:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def registeredUtilities

Private Member Functions

def _init_registries

Detailed Description

An implementation of a component registry that can be persisted
and looks like a standard ObjectManager.  It also ensures that all
utilities have the the parent of this site manager (which should be
the ISite) as their acquired parent.

Definition at line 161 of file registry.py.


Member Function Documentation

Reimplemented in CMFCore.src.five.localsitemanager.registry.PersistentComponents.

Definition at line 168 of file registry.py.

00168 
00169     def _init_registries(self):
00170         super(PersistentComponents, self)._init_registries()
00171         utilities = Acquisition.aq_base(self.utilities)
00172         utilities.LookupClass = FiveVerifyingAdapterLookup
00173         utilities._createLookup()
00174         utilities.__parent__ = self

Reimplemented in CMFCore.src.five.localsitemanager.registry.PersistentComponents.

Definition at line 175 of file registry.py.

00175 
00176     def registeredUtilities(self):
00177         for reg in super(PersistentComponents, self).registeredUtilities():
00178             reg.component=_wrap(reg.component, self)
00179             yield reg
00180 

Here is the call graph for this function:


The documentation for this class was generated from the following file: