I have very often the case that I have to convert the List of contributions
into a Map for faster access. In such cases I have always marked a single
attribute with unique="true". This attribute will get the key of my Map. The
values will the corresponding contribution elements or their mapping class.
I would like to have constructors of services such as:
a) MyServiceOne( Map allContributions )
b) MyServiceTwo( List allContributions )
for both services their would be a constructor injection such as:
<configuration>AllContributions</configuration>
In case a) HiveMind should create a Map from �AllContributions� and in b) a
List.
Creating a Map requieres exactly one attribute/property marked as unique.
Do other have similar needs?
Stefan Liebig
compeople AG
Untermainanlage 8
60329 Frankfurt
fon: +49 (69) 272218 - 0
fax: +49 (69) 272218 - 22
email: [EMAIL PROTECTED]
home: www.compeople.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]