4.9 Annotation-based container configuration

在之前执行,所以后者会覆盖前者。

                      -----Spring Docs

 

应用于setter方法,例如:

   
    
            .movieFinder =  
   
 }

只是表明属性必须被设置,否则报异常

4.9.2 

4.9.5 

   
    
   @(           .movieFinder =  }

如果没有设置name,默认为the field name or setter method

   
    
            .movieFinder =  }
 

}

4.9.6 

   
            
  
            
  }

4.12 

4.12.1 Basic concepts: and

....................................................................

具体:http://www.verydemo.com/demo_c89_i136037.html

猜你喜欢

转载自huangxiaoshi8896513.iteye.com/blog/2073688
4.9