pyre.config.Configurator

Module Contents

class pyre.config.Configurator.Configurator(executive=None, **kwds)

The manager of the configuration store

locator
codecs
loadConfiguration(self, uri, source, locator, priority)

Use {uri} to find a codec that can process {source} into a stream of configuration events

codec(self, encoding)

Retrieve the codec associated with the given {encoding}

register(self, codec)

Add {codec} to my registry

encodings(self)

Return the registered encodings

processEvents(self, events, priority)

Iterate over the {configuration} events and insert them into the model at the given {priority} level

assign(self, assignment, priority)

Process {assignment} by building a slot and placing it in the nameserver

defer(self, assignment, priority)

Process a conditional assignment

execute(self, command, priority)

Record a request to execute a command

load(self, request, priority)

Ask the pyre executive to load the configuration settings in {source}

configureComponentClass(self, component)

The last step in the configuration of a component class

configureComponentInstance(self, instance)

The last step in the configuration of a component instance

retrieveDirectAssignments(self, key)

Locate the direct configuration assignment under {key}

retrieveDeferredAssignments(self, key)

Locate the deferred assignments that are relevant to the component instance associated with the supplied configuration {key}

initializeNamespace(self)

Place my default settings in the global namespace

_indexDefaultCodecs(self)

Initialize the codec index