RE: [picocontainer-dev] Bug in DefaultPico?
"Michael Rimov" <[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Organization | Centerline Computers, Inc |
| Message-ID | <008301c84239$1133b6b0$339b2410$@com> |
>You're quite right - its lame as is.
>What do you think it should be changed to ? One using plain refs rather than
integers ?
I don't see why we shouldn't use plain refs. As long as the refs are cleared
after dispose() -- I mean, perhaps something else will show itself as a better
option later, but for now, I'd take care of one step at a time.
I'm also thinking of moving the start, stop, and dispose operations to a
Visitor. (The visitor doesn't have to be transient, so it would be possible for
it to keep track of what CA's and what Child containers were started.) It
should help move several of the additional data structures sitting in Pico to
other more reusable objects.
-Mike
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email