Trees | Index | Help |
---|
Package SPyRO :: Module SPyRO :: Class CodePool |
|
Method Summary | |
---|---|
Init the ServerObjectPool object with a | |
Replace function of __import__ to support import modules from the code pool | |
Remove an object with name |name| | |
Get an object and its authorization data, it must raise a KeyError exception if |name| is not present in the pool | |
Loads a python's module in the object path (self.path) The authority object is set to the |_spyro_authentication| global variable in the module. | |
Register an object |obj| with the ID |name| | |
Register an object (to send by reference) |
Method Details |
---|
__init__(self,
path)
Init the ServerObjectPool object with a
|
_import_(self, name, _globals, _locals, fromlist)Replace function of __import__ to support import modules from the code pool |
delobj(self, name)Remove an object with name |name| |
getobj(self, name)Get an object and its authorization data, it must raise a KeyError exception if |name| is not present in the pool |
loadmodule(self, name, authobj)Loads a python's module in the object path (self.path) The authority object is set to the |_spyro_authentication| global variable in the module. If it is not present the |authobj| argument is used instead. |
setobj(self, name, obj, authobj=None)Register an object |obj| with the ID |name| |
setsend(self, ret, auth=None)Register an object (to send by reference) |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sat Oct 14 11:50:52 2006 | http://epydoc.sf.net |