You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/06/29 03:44:36 UTC

[GitHub] [dubbo] wu560130911 edited a comment on issue #7413: How to @Autowired @DubboReference bean(怎样注入一个@DubboReference声明过的bean)

wu560130911 edited a comment on issue #7413:
URL: https://github.com/apache/dubbo/issues/7413#issuecomment-870207430


   如果一定要使用注解,可以这样来解决;
   ```java@Bean(ReferenceAnnotationBeanPostProcessor.BEAN_NAME)
   	public ReferenceAnnotationBeanPostProcessor processor()
   	{
   		ReferenceAnnotationBeanPostProcessor processor = new ReferenceAnnotationBeanPostProcessor();
   		processor.setOrder(Ordered.HIGHEST_PRECEDENCE);
   		return processor;
   	}


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org