Skip to end of metadata
Go to start of metadata

注解配置

(+) (#)

2.2.1以上版本支持

服务提供方注解:

服务提供方配置:

服务消费方注解:

服务消费方配置:

也可以使用:(等价于前面的:<dubbo:annotation package="com.foo.bar.service" />)

Spring2.5及以后版本支持component-scan,如果用的是Spring2.0及以前版本,需配置:
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Anonymous replies:

You are not logged in. Any changes you make will be marked as anonymous.
CAPTCHA image