Skip to content

@Service(register=false) is not work #2063

@xfbxag

Description

@xfbxag
  • [*] I have searched the issues of this repository and believe that this is not a duplicate.
  • [*] I have checked the FAQ of this repository and believe that this is not a duplicate.
  • Dubbo version: 2.6.2
  • Operating System version: CentOS 7
  • Java version: 1.8

@service(interfaceClass = DubboSwaggerService.class, protocol = "rest", register = false)
register is not work

@documented
@retention(RetentionPolicy.RUNTIME)
@target({ElementType.TYPE})
@inherited
public @interface Service {

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

String interfaceName() default "";

String version() default "";

String group() default "";

String path() default "";

boolean export() default false;

String token() default "";

boolean deprecated() default false;

boolean dynamic() default false;

String accesslog() default "";

int executes() default 0;

boolean register() default false;        // this default value should be true

Metadata

Metadata

Assignees

Labels

type/bugBugs to being fixed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions