![JAR search and dependency download from the Maven repository](/logo.png)
com.frameworkx.annotation.DubboInterface Maven / Gradle / Ivy
package com.frameworkx.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.frameworkx.constant.enumeration.RPCTypeEnum;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface DubboInterface {
/**
* rpc类型
*/
public RPCTypeEnum rpcType() default RPCTypeEnum.CLOUD;
/**
* 路由目标 clusterType为direct时有效
*/
public String target() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy