Re: [picocontainer-dev] Visitor Work
Jörg Schaible <[email protected]> Sun, 22 Jun 2008 17:39:53 +0200
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
Paul Hammant wrote:
> Mike,
>
> So its funny Aslak reworked the lifecycle stuff to use a visitor some
> years ago. I ended up removing it and going back to essentially the
> current design because visitation thru a tree was going to go to every
> node regardless of lifecycle strategy choices for each node. I.e. if
> you wanted to block traversal at some scope, you could not. Seems to
> me that a container should be able to block a number of things its
> parent is trying to do to it.
>
> So if you were interested there is in Svn (deleted) a LifecycleVisitor.
The main problem was stop/dispose, since they need a visitor visiting the
elements in reverse order ... ;-)
- Jörg
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email