avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Weitzman <davew...@optonline.net>
Subject Re: Simplest possible way for dependency mapping?
Date Mon, 02 Dec 2002 23:29:17 GMT
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:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>

View raw message