Re: [Zope-dev] Re: unregistering components?

2007-11-25 Thread Baiju M
- Philipp von Weitershausen [EMAIL PROTECTED] wrote: Wichert Akkerman wrote: Previously Ross Patterson wrote: Chris Withers [EMAIL PROTECTED] writes: Hi All, Does the component architecture support un-registering adapters and the like? From zope.component.interfaces:

Re: [Zope-dev] Re: unregistering components?

2007-11-25 Thread Chris Withers
Philipp von Weitershausen wrote: class IComponentRegistry(interface.Interface): I think you should use zope.component.getGlobalSiteManager() for this. So getGlobalSiteManager returns a component registry? If so, how come it's not called getGlobalComponentRegistry? How do you set up nested

Re: [Zope-dev] Re: unregistering components?

2007-11-25 Thread Philipp von Weitershausen
On 25 Nov 2007, at 13:37 , Chris Withers wrote: Philipp von Weitershausen wrote: class IComponentRegistry(interface.Interface): I think you should use zope.component.getGlobalSiteManager() for this. So getGlobalSiteManager returns a component registry? Yes. It returns the one and only

Re: [Zope-dev] Re: unregistering components?

2007-11-25 Thread Chris Withers
Philipp von Weitershausen wrote: On 25 Nov 2007, at 13:37 , Chris Withers wrote: Philipp von Weitershausen wrote: class IComponentRegistry(interface.Interface): I think you should use zope.component.getGlobalSiteManager() for this. So getGlobalSiteManager returns a component registry?

Re: [Zope-dev] Re: unregistering components?

2007-11-24 Thread Wichert Akkerman
Previously Ross Patterson wrote: Chris Withers [EMAIL PROTECTED] writes: Hi All, Does the component architecture support un-registering adapters and the like? From zope.component.interfaces: class IComponentRegistry(interface.Interface): Register components snip...