buildChained

Returns a chain of components of type T using a corresponding factory or throws an IllegalStateException in case no factory was found which is able to build a chain of components of the given type.

Since

2.0.0

Copied from Atrium.

Throws

in case ComponentFactoryContainer.buildChainedOrNull returns null because no suitable factory was found.

in case one of factories returns an illegal type.