spring - Using a static variable value in Qualifier annotation -
is possible pass static variable defined in class argument @qualifier annotation? tried below format , few other variations, nothing worked.
@qualifier("t(com.test.constants).bean_name")
spring-el works in @value annotation. example, below example valid:
@value("#{ systemproperties['user.region'] }")
try @qualifier(com.test.constants.bean_name)
Comments
Post a Comment