Skip to content

Commit 61ba25b

Browse files
charptychickenlj
authored andcommitted
Merge pull request apache#1291, allow @reference to support custom annotations
Use custom annotations we can rename the annotation as more obvious name and add many default configs.
1 parent d129f10 commit 61ba25b

File tree

1 file changed

+1
-1
lines changed
  • dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/annotation

1 file changed

+1
-1
lines changed

dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/annotation/Reference.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*/
3030
@Documented
3131
@Retention(RetentionPolicy.RUNTIME)
32-
@Target({ElementType.FIELD, ElementType.METHOD})
32+
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.ANNOTATION_TYPE})
3333
public @interface Reference {
3434

3535
Class<?> interfaceClass() default void.class;

0 commit comments

Comments
 (0)