Ok, I like this much better. The only thing is that we need a way to be able to actually get the to the Features for customization, modification.
Aside from the fact that there's a Java 5 generic reference in the default component adapter, I don't see anything that would prevent this from being able to be merged into the Pico code base today.
Instead of calling it DefaultComponentAdapter, we could call it FeatureComponentAdapter or something like that. (You guys are always better with the names!) Create a component adapter factory for this with the appropriate modifications.
Then by bringing feature implementations along-side it, we could have a migration path. HotSwapFeature, JMXFeature ....
I'm sorry if there's some ignorance going on here I tried pulling up the original thread link but got timeouts trying to connect but am I missing something?
-Mike (R)
Sample Implementation for CDI and Singleton caching only.