terrestris / shogun-legacy

⛔️ DEPRECATED, please use https://github.com/terrestris/shogun-core
Other
16 stars 16 forks source link

Add qualifier annotation to autowired annotation. #27

Closed marcjansen closed 11 years ago

marcjansen commented 11 years ago

This allows subclasses of DatabaseContentInitializer to introduce more beans of type java.lang.Boolean.

We should also consider switching to the @Resource-annotation (see e.g. here http://stackoverflow.com/a/4462494/860988) but only if we do it everywhere.

Please review.

chrismayer commented 11 years ago

Hi @marcjansen, thanks for this useful mechanism. As we use the @Qualifier in other parts of the code it is aboslutely OK. Please merge.

In general you are right that it would be nice to use the @Resource annotation, but only if we use it everywhere.

marcjansen commented 11 years ago

Thanks for the review, @chrismayer. Let's postpone the @Resource changes to the future, though.