It wouldn't be too simple or minimalist, but if you pass every object around
as a Proxy (ala Pheonix), you could try passing around references before the
objects they point to have actually been created.  That would allow you to
create instances in arbitrary order--but only if service() were not
permitted to call any methods on the dependancies.

Leo Simons wrote:
> Hi gang,
>
> Problem
> =======
> working on some Tweety demos I found that anything more than the
> simplest of examples runs you into ConcurrentModificationExceptions and
> stuff like that. The root of the problem is that for any real avalon
> lifecycle demo, you need to satisfy the ServiceManager contract, for
> which you need to map dependencies.
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to