The <composite-map-key> element lets you map a component class as the key of a Map. Make sure you override hashCode() and equals() correctly on the component class.
<composite-map-key>
Map
hashCode()
equals()