Traversing component type hierarchy for injection bindings