abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Moseley" <...@osafoundation.org>
Subject Re: Getting access to the Factory/Abdera instances
Date Wed, 31 Oct 2007 00:02:53 GMT
On 10/30/07, Dan Diephouse <dan.diephouse@mulesource.com> wrote:
> I was wondering if instead of passing the Abdera instance around all the
> time on the request instance, if we could just inject it into providers
> instead. While theoretically we could have a single provider serve
> multiple Abdera instances, I don't really think its that likely. People
> may do it, but I think the majority of people won't.
> If we could do something like Provider.setAbdera(abdera) it would make
> access to the Factory quite a bit easier as well. For instance, inside
> the CollectionProvider bits I have to do this currently:

i'm doing something very similar in Cosmo, and it provides those very
benefits. +1

View raw message