注释类型 Reference
-
@Documented @Retention(RUNTIME) @Target({FIELD,METHOD,ANNOTATION_TYPE}) public @interface Reference
Reference
-
-
可选元素概要
可选元素 修饰符和类型 可选元素 说明 int
actives
String
application
boolean
async
String
cache
int
callbacks
boolean
check
String
client
String
cluster
int
connections
String
consumer
String[]
filter
boolean
generic
String
group
boolean
init
boolean
injvm
Class<?>
interfaceClass
String
interfaceName
String
layer
boolean
lazy
String[]
listener
String
loadbalance
Method[]
methods
String
mock
String
module
String
monitor
String
onconnect
String
ondisconnect
String
owner
String[]
parameters
String
protocol
The communication protocol of Dubbo ServiceString
proxy
String
reconnect
String[]
registry
int
retries
boolean
sent
boolean
sticky
String
stub
boolean
stubevent
int
timeout
String
url
String
validation
String
version
-
-
-
元素详细资料
-
interfaceClass
Class<?> interfaceClass
- 默认值:
- void.class
-
-
-
interfaceName
String interfaceName
- 默认值:
- ""
-
-
-
version
String version
- 默认值:
- ""
-
-
-
group
String group
- 默认值:
- ""
-
-
-
url
String url
- 默认值:
- ""
-
-
-
client
String client
- 默认值:
- ""
-
-
-
reconnect
String reconnect
- 默认值:
- ""
-
-
-
proxy
String proxy
- 默认值:
- ""
-
-
-
stub
String stub
- 默认值:
- ""
-
-
-
cluster
String cluster
- 默认值:
- ""
-
-
-
onconnect
String onconnect
- 默认值:
- ""
-
-
-
ondisconnect
String ondisconnect
- 默认值:
- ""
-
-
-
owner
String owner
- 默认值:
- ""
-
-
-
layer
String layer
- 默认值:
- ""
-
-
-
loadbalance
String loadbalance
- 默认值:
- ""
-
-
-
mock
String mock
- 默认值:
- ""
-
-
-
validation
String validation
- 默认值:
- ""
-
-
-
cache
String cache
- 默认值:
- ""
-
-
-
filter
String[] filter
- 默认值:
- {}
-
-
-
listener
String[] listener
- 默认值:
- {}
-
-
-
parameters
String[] parameters
- 默认值:
- {}
-
-
-
application
String application
- 默认值:
- ""
-
-
-
module
String module
- 默认值:
- ""
-
-
-
consumer
String consumer
- 默认值:
- ""
-
-
-
monitor
String monitor
- 默认值:
- ""
-
-
-
registry
String[] registry
- 默认值:
- {}
-
-
-
protocol
String protocol
The communication protocol of Dubbo Service- 返回:
- the default value is ""
- 从以下版本开始:
- 2.6.6
- 默认值:
- ""
-
-
-
methods
Method[] methods
- 默认值:
- {}
-
-