We will hardly assign a task to you. You should contribute based on
what gives you a pleasant time and at the same time be useful to you.
But as a pointer (and as a big test for you willingness to contribute)
I can direct you to the Component Burden concept that is long overdue.
I've implemented it in a container that pre-dated the MicroKernel, and
might be available somewhere at some apache CVS (found it, see below).
It can be implemented easily and beautifully or harder and ugly. I
havent really stopped to think about it, but that's a direction and it
would be an enormous contribution.
If you want something smaller to start with, you can check our Jira on
MicroKernel/Windsor and DynamicProxy.
Link to old code
http://svn.apache.org/viewvc/avalon/trunk/central/laboratory/avalon-net/Castle/
Thanks
--
Cheers,
hamilton verissimo
ham...@castlestronghold.com
http://www.castlestronghold.com/
Right
> A burden is the responsibility a component has for decommissioning its
> dependencies.
Yep
> When a component is released its component burden should also be released,
> unless the dependency is a singleton in which case it only should be
> released when the final reference to the component is released. Similar to
> COM reference counting.
You don`t need to worry about the lifestyle. If you release a
singleton, nothing will happen. See
http://svn.castleproject.org:8080/svn/castle/trunk/InversionOfControl/Castle.MicroKernel/Lifestyle/SingletonLifestyleManager.cs
> Is my understanding in line with the vision for
> this?
Absolutely. You can have a burden per component root (the original
component requested from the container) or the burden can be per
component/dependency. Also, the dispose order should be the inverse of
the creation order.