Skip to content

Commit

Permalink
Polish apache#4330 : Add @com.alibaba.dubbo.config.annotation.Referen…
Browse files Browse the repository at this point in the history
…ce support
  • Loading branch information
mercyblitz committed Jun 27, 2019
2 parents dae67c5 + 1a9ddd8 commit 41ac2f7
Show file tree
Hide file tree
Showing 22 changed files with 641 additions and 1,657 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
package com.alibaba.dubbo.config.spring.context.annotation;

import org.apache.dubbo.config.AbstractConfig;
import org.apache.dubbo.config.spring.context.annotation.CompatibleDubboComponentScan;
import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.apache.dubbo.config.spring.context.annotation.EnableDubboConfig;

import org.springframework.core.annotation.AliasFor;
Expand All @@ -36,7 +36,7 @@
@Inherited
@Documented
@EnableDubboConfig
@CompatibleDubboComponentScan
@DubboComponentScan
public @interface EnableDubbo {

/**
Expand All @@ -46,9 +46,9 @@
* package names.
*
* @return the base packages to scan
* @see CompatibleDubboComponentScan#basePackages()
* @see DubboComponentScan#basePackages()
*/
@AliasFor(annotation = CompatibleDubboComponentScan.class, attribute = "basePackages")
@AliasFor(annotation = DubboComponentScan.class, attribute = "basePackages")
String[] scanBasePackages() default {};

/**
Expand All @@ -57,9 +57,9 @@
* scanned.
*
* @return classes from the base packages to scan
* @see CompatibleDubboComponentScan#basePackageClasses
* @see DubboComponentScan#basePackageClasses
*/
@AliasFor(annotation = CompatibleDubboComponentScan.class, attribute = "basePackageClasses")
@AliasFor(annotation = DubboComponentScan.class, attribute = "basePackageClasses")
Class<?>[] scanBasePackageClasses() default {};


Expand Down
Loading

0 comments on commit 41ac2f7

Please sign in to comment.