DubboService as the substitute@Documented @Retention(value=RUNTIME) @Target(value=TYPE) @Inherited @Deprecated public @interface Service
DubboService| Modifier and Type | Optional Element and Description |
|---|---|
String |
accesslog
Deprecated.
Access log for the service, default value is ""
|
int |
actives
Deprecated.
Maximum active requests allowed, default value is 0
|
String |
application
Deprecated.
Application spring bean name
|
boolean |
async
Deprecated.
Whether to enable async invocation, default value is false
|
String |
cache
Deprecated.
Specify cache implementation for service invocation, legal values include: lru, threadlocal, jcache
|
int |
callbacks
Deprecated.
The callback instance limit peer connection
|
String |
cluster
Deprecated.
Cluster strategy, you can use
ClusterRules.FAIL_FAST …… |
int |
connections
Deprecated.
Maximum connections service provider can accept, default value is 0 - connection is shared
|
int |
delay
Deprecated.
Delay time for service registration, default value is 0
|
boolean |
deprecated
Deprecated.
Whether the service is deprecated, default value is false
|
String |
document
Deprecated.
Service doc, default value is ""
|
boolean |
dynamic
Deprecated.
Whether the service is dynamic, default value is true
|
int |
executes
Deprecated.
Maximum concurrent executes for the service, default value is 0 - no limits
|
boolean |
export
Deprecated.
Whether to export service, default value is true
|
String[] |
filter
Deprecated.
Filters for service invocation
|
String |
group
Deprecated.
Service group, default value is empty string
|
Class<?> |
interfaceClass
Deprecated.
Interface class, default value is void.class
|
String |
interfaceName
Deprecated.
Interface class name, default value is empty string
|
String |
layer
Deprecated.
Service layer, default value is empty string
|
String[] |
listener
Deprecated.
Listeners for service exporting and unexporting
|
String |
loadbalance
Deprecated.
Load balance strategy, you can use
LoadbalanceRules.RANDOM …… |
String |
local
Deprecated.
|
Method[] |
methods
Deprecated.
methods support
|
String |
mock
Deprecated.
Service mock name, use interface name + Mock if not set
|
String |
module
Deprecated.
Module spring bean name
|
String |
monitor
Deprecated.
Monitor spring bean name
|
String |
onconnect
Deprecated.
Callback method name when connected, default value is empty string
|
String |
ondisconnect
Deprecated.
Callback method name when disconnected, default value is empty string
|
String |
owner
Deprecated.
Service owner, default value is empty string
|
String[] |
parameters
Deprecated.
Customized parameter key-value pair, for example: {key1, value1, key2, value2}
|
String |
path
Deprecated.
Service path, default value is empty string
|
String[] |
protocol
Deprecated.
Protocol spring bean names
|
String |
provider
Deprecated.
Provider spring bean name
|
String |
proxy
Deprecated.
How the proxy is generated, legal values include: jdk, javassist
|
boolean |
register
Deprecated.
Whether to register the service to register center, default value is true
|
String[] |
registry
Deprecated.
Registry spring bean name
|
int |
retries
Deprecated.
Service invocation retry times
|
boolean |
sent
Deprecated.
Whether the async request has already been sent, the default value is false
|
String |
stub
Deprecated.
Service stub name, use interface name + Local if not set
|
String |
tag
Deprecated.
Service tag name
|
int |
timeout
Deprecated.
Timeout value for service invocation, default value is 0
|
String |
token
Deprecated.
Service token, default value is false
|
String |
validation
Deprecated.
Whether to use JSR303 validation, legal values are: true, false
|
String |
version
Deprecated.
Service version, default value is empty string
|
int |
weight
Deprecated.
Service weight value, default value is 0
|
public abstract Class<?> interfaceClass
public abstract String interfaceName
public abstract String version
public abstract String group
public abstract String path
public abstract boolean export
public abstract String token
public abstract boolean deprecated
public abstract boolean dynamic
public abstract String accesslog
public abstract int executes
public abstract boolean register
public abstract String document
public abstract int delay
public abstract String stub
public abstract String cluster
ClusterRules.FAIL_FAST ……public abstract String proxy
public abstract int connections
public abstract int callbacks
see org.apache.dubbo.rpc.Constants#DEFAULT_CALLBACK_INSTANCES
public abstract String onconnect
public abstract String ondisconnect
public abstract String owner
public abstract String layer
public abstract int retries
CommonConstants.DEFAULT_RETRIESpublic abstract String loadbalance
LoadbalanceRules.RANDOM ……public abstract boolean async
public abstract int actives
public abstract boolean sent
public abstract String mock
public abstract String validation
public abstract int timeout
public abstract String cache
public abstract String[] filter
Filterpublic abstract String[] listener
ExporterListenerpublic abstract String[] parameters
public abstract String application
public abstract String module
public abstract String provider
public abstract String[] protocol
public abstract String monitor
public abstract String[] registry
public abstract String tag
public abstract Method[] methods
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.