Spring ComponentMap – a JVM library that provides a simple way to inject a map of beans by type.

The library does one simple thing. It allows better injection of maps of beans. With the library:

  • The map key type could be any type (string, enum, integer...) and with any value. Unlike Spring implementation which only allows to inject maps with string keys and their value is the bean name.

  • The map value type can be either the bean type or list of the bean type. Unlike Spring implementation which does not support lists.

Check out the quick start guide to learn how get started:

Quick Start

Last updated