| Home | Trees | Index | Help |
|---|
| Package twisted :: Package web :: Module static :: Class Registry |
|
Versioned--+ |Componentized--+ |Versioned--+ | Registry
| Method Summary | |
|---|---|
__init__(self)
| |
Get state, adding a version number to it on its way out. (inherited from Versioned)
| |
__setstate__(self,
state)
(inherited from Versioned)
| |
Utility method that calls addComponent. (inherited from Componentized)
| |
Add a component to me, for all appropriate interfaces. (inherited from Componentized)
| |
cachePath(self,
path,
rsrc)
| |
getCachedPath(self,
path)
| |
Very similar to Componentized.getComponent, with a little magic. | |
locateAdapterClass(self,
klass,
interfaceClass,
default,
registry)
(inherited from Componentized)
| |
Remove the given component from me entirely, for all interfaces for which it has been registered. (inherited from Componentized)
| |
setAdapter(self,
interfaceClass,
adapterClass)
(inherited from Componentized)
| |
setComponent(self,
interfaceClass,
component)
(inherited from Componentized)
| |
Remove my component specified by the given interface class. (inherited from Componentized)
| |
upgradeToVersion1(self)
| |
(internal) Do a version upgrade. (inherited from Versioned)
| |
Find an instance of a particular class in a service collection and all subcollections. | |
| Class Variable Summary | |
|---|---|
int |
persistenceVersion
|
| Method Details |
|---|
getComponent(self, interface, registry=None)Very similar to Componentized.getComponent, with a little magic. This adds the additional default behavior that if no component already
exists and 'interface' is a subclass of |
_grabService(self, svc, sclas)Find an instance of a particular class in a service collection and all subcollections. |
| Class Variable Details |
|---|
persistenceVersion
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 1.1 on Fri Jun 27 03:49:04 2003 | http://epydoc.sf.net |