Is it possible from Spring to inject the result of calling a method on a ref bean?

前端 未结 3 454
清歌不尽
清歌不尽 2020-12-07 14:38

Is it possible from Spring to inject the result of calling a method on a ref bean?

I\'m trying to refactor some cut/pasted code from two separate projects into a co

3条回答
  •  有刺的猬
    2020-12-07 14:54

    It's possible in Spring 3.0 via Spring Expression Language:

    
    ...properties set etc...
    
    
    
      
    
    

提交回复
热议问题