[picocontainer-dev] named containers (for debugging only)

Paul Hammant <[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
I've added setName to DPC and the other container impls.

toString() now prints strings like...

   foo:2<I<D<bar:3<|

where 'foo' is the name of the child container, and it has 2 component  
adapters in it.
and 'bar' is the name of the parent container, and it has  3 CAs in it.

   '<I' marks an immutable guard
   '<D' marks a container impl that delegates to another.
   '<|' marks the end of the line (EmptyPicoContainer)

I'm working through the NanoWar stuff of course, and this aids  
debugging.  It all looks good as stepping through breakpoints.

- Paul

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.