To be clear... its not that the chain is not considered. The problem all along has been an open question in the design of the registries. Namely can registries be reused as the parent of multiple child repositories. For example, take the BootstrapServiceRegistry.. given this:
BootstrapServiceRegistry bsr = ...;
new SomeServiceRegistry( bsr, ... );
new SomeOtherServiceRegistry( bsr, ... );
new YetAnotherServiceRegistry( bsr, ... );
Closing the BootstrapServiceRegistry when we close one of the "other" registries is bad.
|