class documentation
class Registry(components.Componentized): (source)
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 | cache |
Undocumented |
| Method | get |
Undocumented |
| Instance Variable | _path |
Undocumented |
Inherited from Componentized:
| Method | __conform__ |
Undocumented |
| Method | add |
Utility method that calls addComponent. I take an adapter class and instantiate it with myself as the first argument. |
| Method | add |
Add a component to me, for all appropriate interfaces. |
| Method | get |
Create or retrieve an adapter for the given interface. |
| Method | locate |
Undocumented |
| Method | remove |
Remove the given component from me entirely, for all interfaces for which it has been registered. |
| Method | set |
Cache a provider for the given interface, by adapting self using the given adapter class. |
| Method | set |
Cache a provider of the given interface. |
| Method | unset |
Remove my component specified by the given interface class. |
| Class Variable | persistence |
Undocumented |
| Instance Variable | _adapter |
Undocumented |