Table of Contents

Module: config_components ./src/peak/config/config_components.py
Imported modules   
from __future__ import generators
from interfaces import *
from peak.api import *
from peak.binding.components import Component, Make, getParentComponent
from peak.binding.interfaces import IAttachable, IRecipe
from peak.naming.interfaces import IState
from peak.util.EigenData import EigenCell, AlreadyRead
from peak.util.FileParsing import AbstractConfigParser
from peak.util.imports import importString, importObject, whenImported
from protocols.advice import getMRO, determineMetaclass
from registries import FactoryFor
Functions   
Value
_setCellInDict
fileNearModule
findUtilities
findUtility
instancePerComponent
iterKeys
iterParents
iterValues
lookup
parentProviding
parentsProviding
provideInstance
  Value 
Value ( v )

Return an IRule that always returns v

  _setCellInDict 
_setCellInDict (
        d,
        key,
        value,
        )

  fileNearModule 
fileNearModule ( moduleName,  filename )

  findUtilities 
findUtilities ( component,  iface )

DEPRECATED: Use config.iterValues() instead

  findUtility 
findUtility (
        component,
        configKey,
        default=NOT_GIVEN,
        )

DEPRECATED: use config.lookup() instead

  instancePerComponent 
instancePerComponent ( factorySpec )

DEPRECATED: use factory mechanisms instead

  iterKeys 
iterKeys ( component,  configKey )

Iterate sub-keys of configKey that are available from component

  iterParents 
iterParents ( component )

Iterate over all parents of component

  iterValues 
iterValues ( component,  configKey )

Return iterator over all values of'configKey' for component

  lookup 
lookup (
        component,
        configKey,
        default=NOT_GIVEN,
        )

Return value for configKey in context of component, or default

Exceptions   
exceptions.NameNotFound( configKey, resolvedObj = component )
  parentProviding 
parentProviding (
        component,
        protocol,
        default=NOT_GIVEN,
        )

Return first parent providing protocol for component, or default

Exceptions   
exceptions.NameNotFound( protocol, resolvedObj = component )
  parentsProviding 
parentsProviding ( component,  protocol )

Iterate over all parents of component that adapt to protocol

  provideInstance 
provideInstance ( factorySpec )

DEPRECATED, use CreateViaFactory(key) instead

Classes   

ConfigMap

ConfigurationRoot

Default implementation for a configuration root.

CreateViaFactory

IRule' for one-time creation of target interface using FactoryFor()

LazyRule

Namespace

Traverse to another property namespace

NamingStateAsSmartProperty

PropertySet

DEPRECATED

ServiceArea

Component that acts as a home for "global"-ish services

__NamespaceExtensions


Table of Contents

This document was automatically generated on Tue Feb 17 19:55:40 2004 by HappyDoc version 2.1