Skip to content

Conversation

@StonyShi
Copy link

@StonyShi StonyShi commented Jul 5, 2016

配置一:
<!-- 多个包名,用(,; )逗号或者分号隔开 --> <dubbo:optimizer base-package="com.alibaba.dubbo.config.spring.facade,com.alibaba.dubbo.config.spring.facade2" />
配置二:
<bean id="optimizerAnnotationScan" class="com.alibaba.dubbo.config.spring.processor.OptimizerAnnotationRegistryPostProcessor" > <property name="basePackage" value="com.alibaba.dubbo.config.spring.facade,com.alibaba.dubbo.config.spring.facade2" /> </bean>

@li-shen
Copy link

li-shen commented Jul 5, 2016

简单用注解是不够的 只能覆盖你可以编辑的类 反而造成不一致 当然不排除有更好方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants