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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -