Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions
CMFCore.src.five.localsitemanager.registry.PersistentComponents Class Reference
Inheritance diagram for CMFCore.src.five.localsitemanager.registry.PersistentComponents:
Inheritance graph
Collaboration diagram for CMFCore.src.five.localsitemanager.registry.PersistentComponents:
Collaboration graph

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

Member Function Documentation

Reimplemented from five.localsitemanager.registry.PersistentComponents.

Definition at line 168 of file

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 from five.localsitemanager.registry.PersistentComponents.

Definition at line 175 of file

00176     def registeredUtilities(self):
00177         for ((provided, name), (component, info)
00178              ) in self._utility_registrations.iteritems():
00179             yield UtilityRegistration(self, provided, name,
00180                                       _wrap(component, self), info)

Here is the call graph for this function:

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