t.w.s.Registry(components.Componentized, styles.Versioned) : class documentation

Part of twisted.web.static View Source View In Hierarchy

I am a Componentized object that will be made available to internal Twisted file-based dynamic web content such as .rpy and .epy scripts.
Method __init__ Undocumented
Method upgradeToVersion1 Undocumented
Method cachePath Undocumented
Method getCachedPath Undocumented

Inherited from Componentized:

Method locateAdapterClass Undocumented
Method setAdapter Cache a provider for the given interface, by adapting self using the given adapter class.
Method addAdapter Utility method that calls addComponent. I take an adapter class and instantiate it with myself as the first argument.
Method setComponent Cache a provider of the given interface.
Method addComponent Add a component to me, for all appropriate interfaces.
Method unsetComponent Remove my component specified by the given interface class.
Method removeComponent Remove the given component from me entirely, for all interfaces for which it has been registered.
Method getComponent Create or retrieve an adapter for the given interface.
Method __conform__ Undocumented

Inherited from Versioned:

Method __setstate__ Undocumented
Method __getstate__ Get state, adding a version number to it on its way out.
Method versionUpgrade (internal) Do a version upgrade.
def __init__(self): (source)
Undocumented
def upgradeToVersion1(self): (source)
Undocumented
def cachePath(self, path, rsrc): (source)
Undocumented
def getCachedPath(self, path): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.