注释类型 Service

    • 可选元素概要

      可选元素 
      修饰符和类型 可选元素 说明
      String accesslog
      已过时。
      Access log for the service, default value is ""
      int actives
      已过时。
      Maximum active requests allowed, default value is 0
      String application
      已过时。
      Application spring bean name
      boolean async
      已过时。
      Whether to enable async invocation, default value is false
      String cache
      已过时。
      Specify cache implementation for service invocation, legal values include: lru, threadlocal, jcache
      int callbacks
      已过时。
      The callback instance limit peer connection
      String cluster
      已过时。
      Cluster strategy, you can use ClusterRules.FAIL_FAST ……
      int connections
      已过时。
      Maximum connections service provider can accept, default value is 0 - connection is shared
      int delay
      已过时。
      Delay time for service registration, default value is 0
      boolean deprecated
      已过时。
      Whether the service is deprecated, default value is false
      String document
      已过时。
      Service doc, default value is ""
      boolean dynamic
      已过时。
      Whether the service is dynamic, default value is true
      int executes
      已过时。
      Maximum concurrent executes for the service, default value is 0 - no limits
      boolean export
      已过时。
      Whether to export service, default value is true
      String[] filter
      已过时。
      Filters for service invocation
      String group
      已过时。
      Service group, default value is empty string
      Class<?> interfaceClass
      已过时。
      Interface class, default value is void.class
      String interfaceName
      已过时。
      Interface class name, default value is empty string
      String layer
      已过时。
      Service layer, default value is empty string
      String[] listener
      已过时。
      Listeners for service exporting and unexporting
      String loadbalance
      已过时。
      Load balance strategy, you can use LoadbalanceRules.RANDOM ……
      String local
      已过时。 
      Method[] methods
      已过时。
      methods support
      String mock
      已过时。
      Service mock name, use interface name + Mock if not set
      String module
      已过时。
      Module spring bean name
      String monitor
      已过时。
      Monitor spring bean name
      String onconnect
      已过时。
      Callback method name when connected, default value is empty string
      String ondisconnect
      已过时。
      Callback method name when disconnected, default value is empty string
      String owner
      已过时。
      Service owner, default value is empty string
      String[] parameters
      已过时。
      Customized parameter key-value pair, for example: {key1, value1, key2, value2}
      String path
      已过时。
      Service path, default value is empty string
      String[] protocol
      已过时。
      Protocol spring bean names
      String provider
      已过时。
      Provider spring bean name
      String proxy
      已过时。
      How the proxy is generated, legal values include: jdk, javassist
      boolean register
      已过时。
      Whether to register the service to register center, default value is true
      String[] registry
      已过时。
      Registry spring bean name
      int retries
      已过时。
      Service invocation retry times
      boolean sent
      已过时。
      Whether the async request has already been sent, the default value is false
      String stub
      已过时。
      Service stub name, use interface name + Local if not set
      String tag
      已过时。
      Service tag name
      int timeout
      已过时。
      Timeout value for service invocation, default value is 0
      String token
      已过时。
      Service token, default value is false
      String validation
      已过时。
      Whether to use JSR303 validation, legal values are: true, false
      String version
      已过时。
      Service version, default value is empty string
      int weight
      已过时。
      Service weight value, default value is 0
    • 元素详细资料

      • interfaceClass

        Class<?> interfaceClass
        已过时。
        Interface class, default value is void.class
        默认值:
        void.class
      • interfaceName

        String interfaceName
        已过时。
        Interface class name, default value is empty string
        默认值:
        ""
      • version

        String version
        已过时。
        Service version, default value is empty string
        默认值:
        ""
      • group

        String group
        已过时。
        Service group, default value is empty string
        默认值:
        ""
      • path

        String path
        已过时。
        Service path, default value is empty string
        默认值:
        ""
      • export

        boolean export
        已过时。
        Whether to export service, default value is true
        默认值:
        true
      • token

        String token
        已过时。
        Service token, default value is false
        默认值:
        ""
      • deprecated

        boolean deprecated
        已过时。
        Whether the service is deprecated, default value is false
        默认值:
        false
      • dynamic

        boolean dynamic
        已过时。
        Whether the service is dynamic, default value is true
        默认值:
        true
      • accesslog

        String accesslog
        已过时。
        Access log for the service, default value is ""
        默认值:
        ""
      • executes

        int executes
        已过时。
        Maximum concurrent executes for the service, default value is 0 - no limits
        默认值:
        0
      • register

        boolean register
        已过时。
        Whether to register the service to register center, default value is true
        默认值:
        true
      • weight

        int weight
        已过时。
        Service weight value, default value is 0
        默认值:
        0
      • document

        String document
        已过时。
        Service doc, default value is ""
        默认值:
        ""
      • delay

        int delay
        已过时。
        Delay time for service registration, default value is 0
        默认值:
        0
      • local

        String local
        已过时。
        另请参阅:
        stub()
        默认值:
        ""
      • stub

        String stub
        已过时。
        Service stub name, use interface name + Local if not set
        默认值:
        ""
      • proxy

        String proxy
        已过时。
        How the proxy is generated, legal values include: jdk, javassist
        默认值:
        ""
      • connections

        int connections
        已过时。
        Maximum connections service provider can accept, default value is 0 - connection is shared
        默认值:
        0
      • callbacks

        int callbacks
        已过时。
        The callback instance limit peer connection

        see org.apache.dubbo.rpc.Constants#DEFAULT_CALLBACK_INSTANCES

        默认值:
        1
      • onconnect

        String onconnect
        已过时。
        Callback method name when connected, default value is empty string
        默认值:
        ""
      • ondisconnect

        String ondisconnect
        已过时。
        Callback method name when disconnected, default value is empty string
        默认值:
        ""
      • owner

        String owner
        已过时。
        Service owner, default value is empty string
        默认值:
        ""
      • layer

        String layer
        已过时。
        Service layer, default value is empty string
        默认值:
        ""
      • async

        boolean async
        已过时。
        Whether to enable async invocation, default value is false
        默认值:
        false
      • actives

        int actives
        已过时。
        Maximum active requests allowed, default value is 0
        默认值:
        0
      • sent

        boolean sent
        已过时。
        Whether the async request has already been sent, the default value is false
        默认值:
        false
      • mock

        String mock
        已过时。
        Service mock name, use interface name + Mock if not set
        默认值:
        ""
      • validation

        String validation
        已过时。
        Whether to use JSR303 validation, legal values are: true, false
        默认值:
        ""
      • timeout

        int timeout
        已过时。
        Timeout value for service invocation, default value is 0
        默认值:
        0
      • cache

        String cache
        已过时。
        Specify cache implementation for service invocation, legal values include: lru, threadlocal, jcache
        默认值:
        ""
      • filter

        String[] filter
        已过时。
        Filters for service invocation
        另请参阅:
        Filter
        默认值:
        {}
      • listener

        String[] listener
        已过时。
        Listeners for service exporting and unexporting
        另请参阅:
        ExporterListener
        默认值:
        {}
      • parameters

        String[] parameters
        已过时。
        Customized parameter key-value pair, for example: {key1, value1, key2, value2}
        默认值:
        {}
      • application

        String application
        已过时。
        Application spring bean name
        默认值:
        ""
      • module

        String module
        已过时。
        Module spring bean name
        默认值:
        ""
      • provider

        String provider
        已过时。
        Provider spring bean name
        默认值:
        ""
      • protocol

        String[] protocol
        已过时。
        Protocol spring bean names
        默认值:
        {}
      • monitor

        String monitor
        已过时。
        Monitor spring bean name
        默认值:
        ""
      • registry

        String[] registry
        已过时。
        Registry spring bean name
        默认值:
        {}
      • tag

        String tag
        已过时。
        Service tag name
        默认值:
        ""
      • methods

        Method[] methods
        已过时。
        methods support
        返回:
        默认值:
        {}