what's difference between @named
, @qualifier
in spring annotation configuration? can used give bean name bean (just 'id'
in xml configuration)?
@named java standard (jsr 330), @qualifier used spring; latest versions of spring recognize both. i'd use @named, because @qualifier rather used solve ambiguities have 2 or more beans of same type.
Comments
Post a Comment