pyre.framework.NameServer¶
Module Contents¶
-
class
pyre.framework.NameServer.NameServer(name='pyre::nameserver', **kwds)¶ Bases:
pyre.calc.Hierarchical.HierarchicalThe manager of the full set of runtime objects that are accessible by name. This includes everything from configuration settings to components and interfaces
-
configurable(self, name, configurable, locator, priority=None)¶ Add {configurable} to the model under {name}
-
package(self, name, executive, locator)¶ Retrieve the named package from the model. If there is no such package, instantiate one, configure it, and add it to the model.
-
createPackage(self, name, locator)¶ Build a new package node and attach it to the model
-
evaluate(self, expression)¶ Evaluate the given {expression} in my current context
-
interpolate(self, expression)¶ Interpolate the given {expression} in my current context
-
insert(self, value, priority, locator, key=None, name=None, split=None, factory=None)¶ Add {value} to the store
-
retrieve(self, name)¶ Retrieve the node registered under {name}. If no such node exists, an error marker will be built, stored in the symbol table under {name}, and returned.
-
__setitem__(self, name, value)¶ Convert {value} into a node and update the model
-
store(self, key, name, node, info)¶ Associate {name}, {node} and {info} with {key}
-
replace(self, key, name, oldNode, oldInfo, newNode, newInfo)¶ Choose which settings to retain
-
pullGlobalIntoScope(self, scope, symbols)¶ Merge settings for {traits} between global scope and the scope of {name}
-
__str__(self)¶ Identify me by name
-