Build chain and child container

Jun 13, 2008 at 8:20 AM
Does a child container use the same build chain as the parent container? I am using a BuilderStrategy to add policy injection (in the parent container) and I am wondering if objects resolved by a child container will go through the parent build pipeline, or do I need to add the same builder strategy to the builder chain of the child container?
Jun 13, 2008 at 8:13 PM
Child containers have their own build chain, but it "inherits" the contents of the parent's strategy chain.

Basically, in a child container, you're guaranteed to run through all the strategies that are in the parent container. You can also add additional strategies specifically to the child that only run when using the child container, not the parent.