RE: [picocontainer-dev] ComponentMonitor becomes Monitor

"Michael Rimov" <[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Organization Centerline Computers, Inc.
Message-ID <00f101c79b18$8c87f830$a597e890$@com>
> For some context.. I was complaining about a situation where:
> 
> * Create container A, and start it
> * Make a child container B from A
> * <app runs>
> * Stop container A
> * Stopping everything fails because B can't be stopped because it was
> never started.
> 
> So my suggestion was that we could not throw an exception on stop(),
> but since we don't want to eat it, it could be sent to the
> ComponentMonitor. Now since this is for the container and not
> components, renaming to just Monitor seemed reasonable.

Not only do I agree, but the other condition where a monitor trigger was
created is when someone calls getComponent() and the requested key doesn't
exist.  

Currently ComponentMonitor doesn't work for that situation either.

A definite 'aye' :)

							-Mike



---------------------------------------------------------------------
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.