注解配置
| 2.2.1以上版本支持 | 
服务提供方注解:
服务提供方配置:
服务消费方注解:
服务消费方配置:
也可以使用:(等价于前面的:<dubbo:annotation package="com.foo.bar.service" />)
| Spring2.5及以后版本支持component-scan,如果用的是Spring2.0及以前版本,需配置:
 | 
        
            Labels:
        
        
            
                None
            
            
                            
                    
        
        
    
    
    
    
    
                                        
                    Add Comment
                
                        
            
