Re: [Repoze-dev] plugging in a new scanner

2010-04-21 Thread Chris Withers
Chris McDonough wrote: Monkeypatchable or should I avoid trying to do that... The trunk now uses venusian instead of hardcoded decorator scanning. See the repoze.bfg.view.bfg_view class for an example decorator that registers a callback that will be called at config.scan() time. See

Re: [Repoze-dev] plugging in a new scanner

2010-04-21 Thread Chris McDonough
On 4/21/10 10:51 AM, Chris Withers wrote: Chris McDonough wrote: Monkeypatchable or should I avoid trying to do that... The trunk now uses venusian instead of hardcoded decorator scanning. See the repoze.bfg.view.bfg_view class for an example decorator that registers a callback that will be

Re: [Repoze-dev] plugging in a new scanner

2010-04-15 Thread Chris Withers
Chris McDonough wrote: On 4/13/10 4:15 AM, Chris Withers wrote: Hi All, I'd like to plug in my own decorator (as a way of wiring a method to recieve stomp messages from a particular queue as it happens) to the config.scan() machinery. Are there docs or a recommended way to do this? No.

[Repoze-dev] plugging in a new scanner

2010-04-13 Thread Chris Withers
Hi All, I'd like to plug in my own decorator (as a way of wiring a method to recieve stomp messages from a particular queue as it happens) to the config.scan() machinery. Are there docs or a recommended way to do this? cheers, Chris -- Simplistix - Content Management, Batch Processing

Re: [Repoze-dev] plugging in a new scanner

2010-04-13 Thread Chris McDonough
On 4/13/10 4:15 AM, Chris Withers wrote: Hi All, I'd like to plug in my own decorator (as a way of wiring a method to recieve stomp messages from a particular queue as it happens) to the config.scan() machinery. Are there docs or a recommended way to do this? No. It's hardcoded. I think