blob: 54e9ca41cd62f162a37269c3fef4ec23b2dd59eb [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Configuration Reference-zh - Dubbo - Alibaba Open Sesame</title>
<meta http-equiv="X-UA-Compatible" content="IE=8">
<meta charset="UTF-8">
<!-- Deprecated since 3.4. To be removed in a future version of Confluence; use AJS.Confluence.getContextPath() -->
<meta id="confluence-context-path" name="confluence-context-path" content="/wiki">
<meta name="ajs-context-path" content="/wiki">
<meta name="ajs-version-number" content="3.5.9">
<meta name="ajs-build-number" content="2166">
<meta id="atlassian-token" name="atlassian-token" content="c116db80711201b36e2067aa83f3b044c2d5a30e">
<meta id="confluence-space-key" name="confluence-space-key" content="dubbo">
<meta name="ajs-remote-user" content="">
<meta name="ajs-static-resource-url-prefix" content="/wiki/s/en/2166/34/_">
<script type="text/javascript">
// Deprecated global variables. To be removed in a future version of Confluence.
var contextPath = '/wiki';
</script>
<!-- include system css resources -->
<link type="text/css" rel="stylesheet" href="batch.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/26/_/download/superbatch/css/batch.css" media="all">
<!--[if IE]>
<link type="text/css" rel="stylesheet" href="batch.css-ieonly=true.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/26/_/download/superbatch/css/batch.css?ieonly=true" media="all">
<![endif]-->
<link type="text/css" rel="stylesheet" href="batch.css-media=print.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/26/_/download/superbatch/css/batch.css?media=print" media="print">
<link type="text/css" rel="stylesheet" href="com.atlassian.confluence.ext.newcode-macro-plugin-syntaxhighlighter.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.9.10/_/download/batch/com.atlassian.confluence.ext.newcode-macro-plugin:syntaxhighlighter/com.atlassian.confluence.ext.newcode-macro-plugin:syntaxhighlighter.css" media="all">
<link type="text/css" rel="stylesheet" href="com.atlassian.confluence.ext.newcode-macro-plugin-sh-theme-confluence.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.9.10/_/download/batch/com.atlassian.confluence.ext.newcode-macro-plugin:sh-theme-confluence/com.atlassian.confluence.ext.newcode-macro-plugin:sh-theme-confluence.css" media="all">
<link type="text/css" rel="stylesheet" href="confluence-forms.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0/_/download/resources/confluence.web.resources:aui-forms/confluence-forms.css" media="all">
<!--[if IE]>
<link type="text/css" rel="stylesheet" href="confluence.web.resources-aui-forms.css-ieonly=true.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0/_/download/batch/confluence.web.resources:aui-forms/confluence.web.resources:aui-forms.css?ieonly=true" media="all">
<![endif]-->
<link type="text/css" rel="stylesheet" href="com.atlassian.confluence.plugins.share-page-mail-page-resources.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.8/_/download/batch/com.atlassian.confluence.plugins.share-page:mail-page-resources/com.atlassian.confluence.plugins.share-page:mail-page-resources.css" media="all">
<link type="text/css" rel="stylesheet" href="confluence.web.resources-view-comment.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0/_/download/batch/confluence.web.resources:view-comment/confluence.web.resources:view-comment.css" media="all">
<!--[if IE]>
<link type="text/css" rel="stylesheet" href="confluence.web.resources-view-comment.css-ieonly=true.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0/_/download/batch/confluence.web.resources:view-comment/confluence.web.resources:view-comment.css?ieonly=true" media="all">
<![endif]-->
<link type="text/css" rel="stylesheet" href="confluence.macros.advanced-fancy-box.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.16/_/download/batch/confluence.macros.advanced:fancy-box/confluence.macros.advanced:fancy-box.css" media="all">
<link type="text/css" rel="stylesheet" href="com.atlassian.confluence.plugins.drag-and-drop-support.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0.16/_/download/batch/com.atlassian.confluence.plugins.drag-and-drop:support/com.atlassian.confluence.plugins.drag-and-drop:support.css" media="all">
<link type="text/css" rel="stylesheet" href="confluence.extra.jira-macro-browser-resources.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.1.2/_/download/batch/confluence.extra.jira:macro-browser-resources/confluence.extra.jira:macro-browser-resources.css" media="all">
<link type="text/css" rel="stylesheet" href="confluence.web.resources-page-editor.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0/_/download/batch/confluence.web.resources:page-editor/confluence.web.resources:page-editor.css" media="all">
<!--[if IE]>
<link type="text/css" rel="stylesheet" href="confluence.web.resources-page-editor.css-ieonly=true.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0/_/download/batch/confluence.web.resources:page-editor/confluence.web.resources:page-editor.css?ieonly=true" media="all">
<![endif]-->
<link type="text/css" rel="stylesheet" href="com.atlassian.confluence.tinymceplugin-editor-resources.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.5.9/_/download/batch/com.atlassian.confluence.tinymceplugin:editor-resources/com.atlassian.confluence.tinymceplugin:editor-resources.css" media="all">
<link type="text/css" rel="stylesheet" href="com.atlassian.confluence.plugins.linkbrowser-linkbrowser-resources.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.5.9/_/download/batch/com.atlassian.confluence.plugins.linkbrowser:linkbrowser-resources/com.atlassian.confluence.plugins.linkbrowser:linkbrowser-resources.css" media="all">
<!--[if IE]>
<link type="text/css" rel="stylesheet" href="com.atlassian.confluence.plugins.linkbrowser-linkbrowser-resources.css-ieonly=true.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.5.9/_/download/batch/com.atlassian.confluence.plugins.linkbrowser:linkbrowser-resources/com.atlassian.confluence.plugins.linkbrowser:linkbrowser-resources.css?ieonly=true" media="all">
<![endif]-->
<link type="text/css" rel="stylesheet" href="confluence-draft-changes-draft-changes.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0/_/download/batch/confluence-draft-changes:draft-changes/confluence-draft-changes:draft-changes.css" media="all">
<link type="text/css" rel="stylesheet" href="com.atlassian.confluence.plugins.jira.jira-connector-dialogsJs.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0/_/download/batch/com.atlassian.confluence.plugins.jira.jira-connector:dialogsJs/com.atlassian.confluence.plugins.jira.jira-connector:dialogsJs.css" media="all">
<link type="text/css" rel="stylesheet" href="com.atlassian.plugins.shortcuts.atlassian-shortcuts-module-shortcuts.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/0.8/_/download/batch/com.atlassian.plugins.shortcuts.atlassian-shortcuts-module:shortcuts/com.atlassian.plugins.shortcuts.atlassian-shortcuts-module:shortcuts.css" media="all">
<link type="text/css" rel="stylesheet" href="com.atlassian.confluence.keyboardshortcuts-confluence-keyboard-shortcuts.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.5.9/_/download/batch/com.atlassian.confluence.keyboardshortcuts:confluence-keyboard-shortcuts/com.atlassian.confluence.keyboardshortcuts:confluence-keyboard-shortcuts.css" media="all">
<!-- end system css resources -->
<link rel="stylesheet" href="combined.css-spaceKey=dubbo.css" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3/_/styles/combined.css?spaceKey=dubbo" type="text/css">
<meta name="confluence-request-time" content="1392025700871">
<meta name="loggedInUsername" content="">
<meta name="ajs-keyboardshortcut-hash" content="bf02a79603372a43d395a0a429bdf66">
<!-- Deprecated since 3.4. To be removed in a future version of Confluence; use atl.header -->
<script type="text/x-template" title="share-content-popup">
<form action="#" method="post" class="aui share-content-popup">
<fieldset>
<label for="users">User name or email</label>
<div class="autocomplete-user-target">
<input class="text autocomplete-sharepage" id="users" data-max="10" data-dropdown-target=".autocomplete-user-target" data-none-message="No matching user or email found"/>
</div>
<ol class="recipients">
</ol>
<div><label for="note">Note</label></div>
<textarea class="textarea" id="note" placeholder="Add an optional note"/>
</fieldset>
<div class="button-panel">
<div class="progress-messages-icon"></div>
<div class="progress-messages">
</div>
<input class="button submit" type="submit" value="Share" disabled/>
<a class="close-dialog" href="#">Cancel</a>
</div>
</form>
</script>
<script type="text/x-template" title="share-content-popup-recipient-username">
<li data-username="{username}" style="display: none">
<span>
<img src="{thumbnailLink.href}" title="{title}">
<span>{title}</span>
<span class="remove-recipient"/>
</span>
</li>
</script>
<script type="text/x-template" title="share-content-popup-recipient-email">
<li data-email="{email}" style="display: none">
<span>
<img src="{icon}" title="{email}">
<span>{email}</span>
<span class="remove-recipient"/>
</span>
</li>
</script>
<meta name="ajs-use-keyboard-shortcuts" content="true">
<link rel="shortcut icon" href="/wiki/favicon.ico">
<link rel="icon" type="image/png" href="/wiki/s/en/2166/34/_/images/logo/confluence_16.png">
<link rel="search" type="application/opensearchdescription+xml" href="/wiki/opensearch/osd.action" title="Alibaba Open Sesame"/>
<!-- include system javascript resources -->
<script type="text/javascript" src="batch.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/26/_/download/superbatch/js/batch.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.ext.newcode-macro-plugin-syntaxhighlighter.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.9.10/_/download/batch/com.atlassian.confluence.ext.newcode-macro-plugin:syntaxhighlighter/com.atlassian.confluence.ext.newcode-macro-plugin:syntaxhighlighter.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.ext.newcode-macro-plugin-syntaxhighlighter-brushes.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.9.10/_/download/batch/com.atlassian.confluence.ext.newcode-macro-plugin:syntaxhighlighter-brushes/com.atlassian.confluence.ext.newcode-macro-plugin:syntaxhighlighter-brushes.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.plugins.share-page-mail-page-resources.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.8/_/download/batch/com.atlassian.confluence.plugins.share-page:mail-page-resources/com.atlassian.confluence.plugins.share-page:mail-page-resources.js" ></script>
<script type="text/javascript" src="confluence.macros.advanced-fancy-box.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.16/_/download/batch/confluence.macros.advanced:fancy-box/confluence.macros.advanced:fancy-box.js" ></script>
<script type="text/javascript" src="confluence.macros.advanced-thumbnail-images.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.16/_/download/batch/confluence.macros.advanced:thumbnail-images/confluence.macros.advanced:thumbnail-images.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.plugins.drag-and-drop-support.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0.16/_/download/batch/com.atlassian.confluence.plugins.drag-and-drop:support/com.atlassian.confluence.plugins.drag-and-drop:support.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.plugins.drag-and-drop-drag-and-drop-for-view-content.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0.16/_/download/batch/com.atlassian.confluence.plugins.drag-and-drop:drag-and-drop-for-view-content/com.atlassian.confluence.plugins.drag-and-drop:drag-and-drop-for-view-content.js" ></script>
<script type="text/javascript" src="confluence.web.resources-page-editor.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0/_/download/batch/confluence.web.resources:page-editor/confluence.web.resources:page-editor.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.tinymceplugin-editor-resources.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.5.9/_/download/batch/com.atlassian.confluence.tinymceplugin:editor-resources/com.atlassian.confluence.tinymceplugin:editor-resources.js" ></script>
<script type="text/javascript" src="linkbrowser.nocache.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.5.9/_/download/resources/com.atlassian.confluence.plugins.linkbrowser:linkbrowser-resources/war/linkbrowser/linkbrowser.nocache.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.plugins.linkbrowser-linkbrowser-resources.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.5.9/_/download/batch/com.atlassian.confluence.plugins.linkbrowser:linkbrowser-resources/com.atlassian.confluence.plugins.linkbrowser:linkbrowser-resources.js" ></script>
<script type="text/javascript" src="confluence-draft-changes-draft-changes.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0/_/download/batch/confluence-draft-changes:draft-changes/confluence-draft-changes:draft-changes.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.tinymceplugin-editor-autocomplete-resources.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.5.9/_/download/batch/com.atlassian.confluence.tinymceplugin:editor-autocomplete-resources/com.atlassian.confluence.tinymceplugin:editor-autocomplete-resources.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.tinymceplugin-editor-autocomplete-links.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.5.9/_/download/batch/com.atlassian.confluence.tinymceplugin:editor-autocomplete-links/com.atlassian.confluence.tinymceplugin:editor-autocomplete-links.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.tinymceplugin-editor-autocomplete-media.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.5.9/_/download/batch/com.atlassian.confluence.tinymceplugin:editor-autocomplete-media/com.atlassian.confluence.tinymceplugin:editor-autocomplete-media.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.tinymceplugin-editor-autocomplete-macros.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.5.9/_/download/batch/com.atlassian.confluence.tinymceplugin:editor-autocomplete-macros/com.atlassian.confluence.tinymceplugin:editor-autocomplete-macros.js" ></script>
<script type="text/javascript" src="com.atlassian.applinks.applinks-plugin-applinks-util-js.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.3/_/download/batch/com.atlassian.applinks.applinks-plugin:applinks-util-js/com.atlassian.applinks.applinks-plugin:applinks-util-js.js" ></script>
<script type="text/javascript" src="com.atlassian.applinks.applinks-plugin-applinks-oauth-ui.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.3/_/download/batch/com.atlassian.applinks.applinks-plugin:applinks-oauth-ui/com.atlassian.applinks.applinks-plugin:applinks-oauth-ui.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.plugins.jira.jira-connector-proxy-js.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0/_/download/batch/com.atlassian.confluence.plugins.jira.jira-connector:proxy-js/com.atlassian.confluence.plugins.jira.jira-connector:proxy-js.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.plugins.jira.jira-connector-dialogsJs.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0/_/download/batch/com.atlassian.confluence.plugins.jira.jira-connector:dialogsJs/com.atlassian.confluence.plugins.jira.jira-connector:dialogsJs.js" ></script>
<script type="text/javascript" src="confluence.web.resources-help-content-resources.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0/_/download/batch/confluence.web.resources:help-content-resources/confluence.web.resources:help-content-resources.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.plugins.drag-and-drop-drag-and-drop-for-editor.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0.16/_/download/batch/com.atlassian.confluence.plugins.drag-and-drop:drag-and-drop-for-editor/com.atlassian.confluence.plugins.drag-and-drop:drag-and-drop-for-editor.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.plugins.drag-and-drop-drop-zone-for-image-dialog.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0.16/_/download/batch/com.atlassian.confluence.plugins.drag-and-drop:drop-zone-for-image-dialog/com.atlassian.confluence.plugins.drag-and-drop:drop-zone-for-image-dialog.js" ></script>
<script type="text/javascript" src="com.atlassian.gadgets.embedded-gadget-core-resources.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/2.0.8/_/download/batch/com.atlassian.gadgets.embedded:gadget-core-resources/com.atlassian.gadgets.embedded:gadget-core-resources.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.plugins.gadgets-macro-browser-for-gadgetsplugin.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.1.5/_/download/batch/com.atlassian.confluence.plugins.gadgets:macro-browser-for-gadgetsplugin/com.atlassian.confluence.plugins.gadgets:macro-browser-for-gadgetsplugin.js" ></script>
<script type="text/javascript" src="confluence.macros.core-macro-browser-smart-fields.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.5.9/_/download/batch/confluence.macros.core:macro-browser-smart-fields/confluence.macros.core:macro-browser-smart-fields.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.plugins.doctheme-splitter.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.9/_/download/batch/com.atlassian.confluence.plugins.doctheme:splitter/com.atlassian.confluence.plugins.doctheme:splitter.js" ></script>
<script type="text/javascript" src="com.atlassian.plugins.shortcuts.atlassian-shortcuts-module-shortcuts.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/0.8/_/download/batch/com.atlassian.plugins.shortcuts.atlassian-shortcuts-module:shortcuts/com.atlassian.plugins.shortcuts.atlassian-shortcuts-module:shortcuts.js" ></script>
<script type="text/javascript" src="com.atlassian.confluence.keyboardshortcuts-confluence-keyboard-shortcuts.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/3.5.9/_/download/batch/com.atlassian.confluence.keyboardshortcuts:confluence-keyboard-shortcuts/com.atlassian.confluence.keyboardshortcuts:confluence-keyboard-shortcuts.js" ></script>
<script type="text/javascript" src="legacy.confluence.web.resources-prototype.js" tppabs="http://10.20.160.198/wiki/s/en/2166/34/1.0/_/download/batch/legacy.confluence.web.resources:prototype/legacy.confluence.web.resources:prototype.js" ></script>
<!-- end system javascript resources -->
<link rel="canonical" href="http://code.alibabatech.com/wiki/display/dubbo/Configuration+Reference-zh">
<link rel="shortlink" href="http://code.alibabatech.com/wiki/x/xQNq">
<meta name="wikilink" content="[dubbo:Configuration Reference-zh]">
<meta name="page-version" content="33">
</head>
<body onload="placeFocus()"
id="com-atlassian-confluence" class="theme-default ">
<ul id="assistive-skip-links" class="assistive">
<li><a href="#title-heading">Skip to content</a></li>
<li><a href="#breadcrumbs">Skip to breadcrumbs</a></li>
<li><a href="#header-menu-bar">Skip to header menu</a></li>
<li><a href="#navigation">Skip to action menu</a></li>
<li><a href="#quick-search-query">Skip to quick search</a></li>
</ul>
<div id="page">
<div id="full-height-container">
<fieldset class="hidden parameters">
<input type="hidden" id="shortcutDialogTip" value="Shortcut tip: Pressing <b>{shortcut}</b> also opens this dialog box">
<input type="hidden" title="i18n.close.name" value="Close">
<input type="hidden" title="i18n.cancel.name" value="Cancel">
</fieldset><fieldset class="hidden parameters">
<input type="hidden" id="statusDialogHeading" value="What are you working on?">
<input type="hidden" id="statusDialogAccessibilityLabel" value="Enter your status (140 character limit)">
<input type="hidden" id="statusDialogLatestLabel" value="Last update:">
<input type="hidden" id="statusDialogUpdateButtonLabel" value="Update">
<input type="hidden" id="statusDialogCancelButtonLabel" value="Cancel">
</fieldset>
<fieldset class="hidden parameters">
<input type="hidden" id="globalSettingsAttachmentMaxSize" value="10485760">
<input type="hidden" id="userLocale" value="en_GB">
<input type="hidden" id="staticResourceUrlPrefix" value="/wiki/s/en/2166/34/_">
<input type="hidden" id="contextPath" value="/wiki">
</fieldset>
<div id="header" class="" style="display: none">
<form id="quick-search" class="quick-search" method="get" action="http://10.20.160.198/wiki/dosearchsite.action">
<fieldset>
<label class="assistive" for="quick-search-query">Quick Search</label>
<input class="quick-search-query" id="quick-search-query" type="text" accessKey="q" autocomplete="off" name="queryString" size="25" title="Quick Search" />
<input class="quick-search-submit" id="quick-search-submit" type="submit" value="Search" />
<div class="aui-dd-parent quick-nav-drop-down"><!-- Quick nav appears here --></div>
</fieldset>
<fieldset class="hidden parameters">
<input type="hidden" id="quickNavEnabled" value="true" />
</fieldset>
</form>
<ul id="header-menu-bar" class="ajs-menu-bar">
<li class="normal ajs-menu-item">
<a id="browse-menu-link" class="browse trigger ajs-menu-title" href="#"><span><span>Browse</span></span></a> <div class="assistive ajs-drop-down">
<ul id="browse-menu-link-leading" class="section-leading first">
<li>
<a id="space-pages-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/pages/listpages.action?key=dubbo \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/pages/listpages.action?key=dubbo%27" tppabs="http://10.20.160.198/wiki/pages/listpages.action?key=dubbo" class="" title="Browse pages in the Dubbo space">
<span>Pages</span></a> </li>
<li>
<a id="space-blogposts-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/pages/viewrecentblogposts.action?key=dubbo \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/pages/viewrecentblogposts.action?key=dubbo%27" tppabs="http://10.20.160.198/wiki/pages/viewrecentblogposts.action?key=dubbo" class="" title="Browse blogs in the Dubbo space">
<span>Blog</span></a> </li>
<li>
<a id="space-labels-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/labels/listlabels-heatmap.action?key=dubbo \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/labels/listlabels-heatmap.action?key=dubbo%27" tppabs="http://10.20.160.198/wiki/labels/listlabels-heatmap.action?key=dubbo" class="" title="Browse labels in the Dubbo space">
<span>Labels</span></a> </li>
<li>
<a id="space-attachments-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/spaces/listattachmentsforspace.action?key=dubbo \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/spaces/listattachmentsforspace.action?key=dubbo%27" tppabs="http://10.20.160.198/wiki/spaces/listattachmentsforspace.action?key=dubbo" class="" title="Browse attachments in the Dubbo space">
<span>Attachments</span></a> </li>
<li>
<a id="space-mail-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/spaces/viewmailarchive.action?key=dubbo \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/spaces/viewmailarchive.action?key=dubbo%27" tppabs="http://10.20.160.198/wiki/spaces/viewmailarchive.action?key=dubbo" class="" title="Browse mail in the Dubbo space">
<span>Mail</span></a> </li>
<li>
<a id="space-advanced-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/spaces/viewspacesummary.action?key=dubbo \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/spaces/viewspacesummary.action?key=dubbo%27" tppabs="http://10.20.160.198/wiki/spaces/viewspacesummary.action?key=dubbo" class="" title="Browse additional space functions in the Dubbo space">
<span>Advanced</span></a> </li>
<li>
<a href="javascript:if(confirm(%27http://10.20.160.198/wiki/spaces/usage/report.action?key=dubbo \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/spaces/usage/report.action?key=dubbo%27" tppabs="http://10.20.160.198/wiki/spaces/usage/report.action?key=dubbo" class="" title="">
<span>Activity</span></a> </li>
</ul>
<ul id="browse-menu-link-global" class="section-global">
<li>
<a id="whats-new-menu-link" href="javascript:if(confirm(%27http://docs.atlassian.com/confluence/docs-35/whatsnew/iframe \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://docs.atlassian.com/confluence/docs-35/whatsnew/iframe%27" tppabs="http://docs.atlassian.com/confluence/docs-35/whatsnew/iframe" class="" title="">
<span>What’s New</span></a> </li>
<li>
<a id="people-directory-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/peopledirectory.action \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/peopledirectory.action%27" tppabs="http://10.20.160.198/wiki/peopledirectory.action" class="" title="Browse the Confluence people directory">
<span>People Directory</span></a> </li>
<li>
<a id="space-directory-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/spacedirectory/view.action \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/spacedirectory/view.action%27" tppabs="http://10.20.160.198/wiki/spacedirectory/view.action" class="" title="Browse the Confluence space directory">
<span>Space Directory</span></a> </li>
<li>
<a id="keyboard-shortcuts-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki%27" tppabs="http://10.20.160.198/wiki" class="" title="View available keyboard shortcuts">
<span>Keyboard Shortcuts</span></a> </li>
<li>
<a id="gadget-directory-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki%27" tppabs="http://10.20.160.198/wiki" class="user-item administration-link" title="Browse gadgets provided by Confluence">
<span>Confluence Gadgets</span></a> </li>
</ul>
</div>
</li>
<li class="ajs-menu-item normal">
<a id="login-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/login.action?os_destination=%2Fdisplay%2Fdubbo%2FConfiguration%2BReference-zh%3FshowComments%3Dtrue%26showCommentArea%3Dtrue \n\nThis file was not retrieved by Teleport Ultra, because it is linked too far away from its Starting Address. If you increase the in-domain depth setting for the Starting Address, this file will be queued for retrieval. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/login.action?os_destination=%2Fdisplay%2Fdubbo%2FConfiguration%2BReference-zh%3FshowComments%3Dtrue%26showCommentArea%3Dtrue%27" tppabs="http://10.20.160.198/wiki/login.action?os_destination=%2Fdisplay%2Fdubbo%2FConfiguration%2BReference-zh%3FshowComments%3Dtrue%26showCommentArea%3Dtrue" class="user-item login-link" title="">
<span>Log In</span></a> </li>
</ul>
<ol id="breadcrumbs">
<li class="first" >
<span><a href="javascript:if(confirm(%27http://10.20.160.198/wiki/dashboard.action \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/dashboard.action%27" tppabs="http://10.20.160.198/wiki/dashboard.action" title="Go to Dashboard">Dashboard</a></span>
</li>
<li>
<span><a href="javascript:if(confirm(%27http://10.20.160.198/wiki/display/dubbo \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/display/dubbo%27" tppabs="http://10.20.160.198/wiki/display/dubbo">Dubbo</a></span>
</li>
<li id="ellipsis" title="Show all breadcrumbs"><span><strong>&#8230;</strong></span></li>
<li class="hidden-crumb" >
<span><a href="Home-zh.htm" tppabs="http://10.20.160.198/wiki/display/dubbo/Home-zh">Home-zh</a></span>
</li>
<li>
<span><a href="User+Guide-zh.htm" tppabs="http://10.20.160.198/wiki/display/dubbo/User+Guide-zh">User Guide-zh</a></span>
</li>
<li>
<span>Configuration Reference-zh</span>
</li>
</ol>
</div><!-- \#header -->
<div id="main" >
<div id="navigation" class="content-navigation view" style="display: none">
<fieldset class="hidden parameters">
<input type="hidden" id="pageId" value="6947781">
</fieldset>
<ul class="ajs-menu-bar">
<li class="normal ajs-menu-item">
<a id="add-menu-link" class="add trigger ajs-menu-title" href="#"><span><span>Add</span></span></a> <div class="assistive ajs-drop-down">
<ul id="add-menu-link-page" class="section-page first">
<li>
<a id="add-comment-menu-link" href="Configuration+Reference-zh-showComments=true&showCommentArea=true.htm#addcomment" tppabs="http://10.20.160.198/wiki/display/dubbo/Configuration+Reference-zh?showComments=true&showCommentArea=true#addcomment" class="add-comment" title="Add a Comment">
<span>Comment</span></a> </li>
</ul>
</div>
</li>
<li class="normal ajs-menu-item">
<a id="action-menu-link" class="action trigger ajs-menu-title" href="#"><span><span>Tools</span></span></a> <div class="assistive ajs-drop-down">
<ul id="action-menu-link-primary" class="section-primary first">
<li>
<a id="view-attachments-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/pages/viewpageattachments.action?pageId=6947781 \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/pages/viewpageattachments.action?pageId=6947781%27" tppabs="http://10.20.160.198/wiki/pages/viewpageattachments.action?pageId=6947781" class="action-view-attachments" accessKey="a" title="View Attachments">
<span><u>A</u>ttachments (0)</span></a> </li>
<li>
<a id="action-view-history-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/pages/viewpreviousversions.action?pageId=6947781 \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/pages/viewpreviousversions.action?pageId=6947781%27" tppabs="http://10.20.160.198/wiki/pages/viewpreviousversions.action?pageId=6947781" class="action-view-history" title="">
<span>Page History</span></a> </li>
<li>
<a id="action-page-permissions-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/pages/viewinfo.action?pageId=6947781 \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/pages/viewinfo.action?pageId=6947781%27" tppabs="http://10.20.160.198/wiki/pages/viewinfo.action?pageId=6947781" class="action-page-permissions" title="Edit restrictions">
<span>Restrictions</span></a> </li>
</ul>
<ul id="action-menu-link-secondary" class="section-secondary">
<li>
<a id="view-page-info-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/pages/viewinfo.action?pageId=6947781 \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/pages/viewinfo.action?pageId=6947781%27" tppabs="http://10.20.160.198/wiki/pages/viewinfo.action?pageId=6947781" class="action-view-info" title="">
<span>Info</span></a> </li>
<li>
<a id="link-to-page-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/pages/viewinfo.action?pageId=6947781 \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/pages/viewinfo.action?pageId=6947781%27" tppabs="http://10.20.160.198/wiki/pages/viewinfo.action?pageId=6947781" class="" title="Link to this Page">
<span>Link to this Page&hellip;</span></a> </li>
<li>
<a id="view-in-hierarchy-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/pages/listpages-dirview.action?key=dubbo&openId=6947781 \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/pages/listpages-dirview.action?key=dubbo&openId=6947781#selectedPageInHierarchy%27" tppabs="http://10.20.160.198/wiki/pages/listpages-dirview.action?key=dubbo&openId=6947781#selectedPageInHierarchy" class="" title="">
<span>View in Hierarchy</span></a> </li>
<li>
<a id="action-view-source-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/pages/viewpagesrc.action?pageId=6947781 \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/pages/viewpagesrc.action?pageId=6947781%27" tppabs="http://10.20.160.198/wiki/pages/viewpagesrc.action?pageId=6947781" class="action-view-source popup-link" title="">
<span>View Wiki Markup</span></a> </li>
</ul>
</div>
</li>
</ul>
</div>
<h1 id="title-heading" class="pagetitle" style="display: none">
<a href="javascript:if(confirm(%27http://10.20.160.198/wiki/display/dubbo \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/display/dubbo%27" tppabs="http://10.20.160.198/wiki/display/dubbo"><img class="logo space custom" src="dubbo-version=5&modificationDate=1320723683000.jpg" tppabs="http://10.20.160.198/wiki/download/attachments/6324241/dubbo?version=5&modificationDate=1320723683000" alt=""></a>
</h1>
<div id="content" class="page view">
<div id="link-to-page-fields" class="hidden parameters">
<input type="hidden" id="linkToThisPageHeading" value="Link to this Page">
<input type="hidden" id="linkToThisPageLink" value="Link">
<input type="hidden" id="linkToThisPageTinyLink" value="Tiny Link">
<input type="hidden" id="linkToThisPageWikiMarkup" value="Wiki Markup">
<input type="hidden" id="linkToThisPageClose" value="Close">
</div>
<fieldset class="hidden parameters">
<input type="hidden" title="movePageDialogViewPageTitle" value="Move Page &ndash; &#8216;Configuration Reference-zh&#8217;">
<input type="hidden" title="movePageDialogEditPageTitle" value="Set Page Location">
<input type="hidden" title="movePageDialogMoveButton" value="Move">
<input type="hidden" title="movePageDialogCancelButton" value="Cancel">
<input type="hidden" title="movePageDialogBrowsePanelTip" value="Click to select the new parent page for this page and its children.">
<input type="hidden" title="movePageDialogSearchPanel" value="Search">
<input type="hidden" title="movePageDialogHistoryPanel" value="Recently Viewed">
<input type="hidden" title="movePageDialogHistoryNoResults" value="There were no recently viewed pages found.">
<input type="hidden" title="movePageDialogLocationPanel" value="Known Location">
<input type="hidden" title="movePageDialogLocationNotFound" value="The specified page was not found.">
<input type="hidden" title="movePageDialogBrowsePanel" value="Browse">
<input type="hidden" title="movePageDialogPanelLoadErrorMsg" value="Error reading the panel content from the server.">
<input type="hidden" title="movePageDialogPanelLoadErrorTip" value="You could try reloading the page and launching the dialog again.">
<input type="hidden" title="movePageDialogPanelLoadErrorStatus" value="HTTP Status">
<input type="hidden" title="movePageDialogNoSelectionErrorMsg" value="You must make a selection in the tree before you can move the page.">
<input type="hidden" title="movePageDialogSearchError" value="Failed to retrieve search results from the server.">
<input type="hidden" title="movePageDialogSearchNoResults" value="There were no pages found containing <b>{0}</b>.">
<input type="hidden" title="movePageDialogSearchResultCount" value="Showing <b>{0}</b>-<b>{1}</b> of <b>{2}</b> pages containing <b>{3}</b>.">
<input type="hidden" title="movePageDialogMoveFailed" value="Move failed. There was a problem contacting the server.">
<input type="hidden" title="movePageDialogCannotChangeSpace" value="You cannot move this page to another space because you do not have permission to remove it from this space.">
<input type="hidden" title="pageTitle" value="Configuration Reference-zh"/>
<input type="hidden" title="parentPageTitle" value="User Guide-zh"/>
<input type="hidden" title="fromPageTitle" value=""/>
<input type="hidden" title="spaceKey" value="dubbo"/>
<input type="hidden" title="spaceName" value="Dubbo"/>
<input type="hidden" title="movePageDialogInvalidLocation" value="You cannot move a page to be underneath itself or its children."/>
<input type="hidden" title="movePageDialogOrderingTitle" value="Page Ordering"/>
<input type="hidden" title="movePageDialogBackButton" value="Back"/>
<input type="hidden" title="movePageDialogMoveAndOrderButton" value="Reorder"/>
<input type="hidden" title="movePageDialogNextButton" value="Move"/>
</fieldset>
<script type="text/x-template" title="movePageDialog">
<div class="row information">
<div class="inner">
<div class="element">
Specify the new parent page for this page and its children by space and title.
</div>
</div>
</div>
<div class="form">
<fieldset>
<legend class="assistive"><span>Change the Parent Page to a Known Page</span></legend>
<div class="row">
<label for="new-space">New space:</label>
<div class="value new-space-value">
<input id="new-space-key" name="new-space-key" type="hidden" value="dubbo">
<span class="space-input">
<input id="new-space" name="new-space" value="Dubbo" disabled="disabled">
</span>
<span class="description warning">You cannot move this page to another space because you do not have permission to remove it from this space.</span>
<div class="new-space-dropdown aui-dd-parent autocomplete"></div>
</div>
</div>
<div class="row">
<label for="new-parent-page">New parent page:</label>
<div class="value new-parent-page-value">
<span class="page-input">
<input id="new-parent-page" name="new-parent-page" value="User Guide-zh">
</span>
<span class="description">Start typing a page title to see a list of suggestions.</span>
<div class="new-parent-page-dropdown aui-dd-parent autocomplete"></div>
</div>
</div>
</fieldset>
</div>
<div class="location-info">
<div class="row">
<label>Current location:</label>
<div class="value breadcrumbs-container">
<div class="breadcrumbs-line">
<ul id="current-parent-breadcrumbs" class="breadcrumbs">
</ul>
</div>
</div>
</div>
<div class="row">
<label>New location:</label>
<div class="value breadcrumbs-container">
<div class="breadcrumbs-line">
<ul id="new-parent-breadcrumbs" class="breadcrumbs">
</ul>
</div>
</div>
</div>
</div>
</script>
<script type="text/x-template" title="movePageErrors">
<div id="move-errors" class="hidden warning"></div>
</script>
<script type="text/x-template" title="movePageBreadcrumb">
<li><a class="{2}" title="{3}" tabindex="-1"><span>{0}</span></a></li>
</script>
<script type="text/x-template" title="movePageBreadcrumbLoading">
<li class="loading"><span>Loading breadcrumbs&hellip;</span></li>
</script>
<script type="text/x-template" title="movePageBreadcrumbError">
<li class="warning last"><span>Error retrieving breadcrumbs.</span></li>
</script>
<script type="text/x-template" title="movePageNoMatchingPages">
<ol><li><span class="warning">No matching pages found.</span></li></ol>
</script>
<script type="text/x-template" title="movePageNoMatchingSpaces">
<ol><li><span class="warning">No matching spaces found.</span></li></ol>
</script>
<script type="text/x-template" title="movePageSearchPanel">
<div class="row information">
<div class="inner">
<div class="element">
Search for and select the new parent page for this page and its children.
</div>
</div>
</div>
<div id="move-page-search-container" class="row">
<div class="search-form">
<fieldset>
<legend class="assistive"><span>Search for a New Parent Page</span></legend>
<label for="move-page-search-query" class="assistive">Search keywords</label>
<input class="search-query" id="move-page-search-query">
<label for="move-page-search-space" class="assistive">Search in space</label>
<select id="move-page-search-space" class="search-space" disabled="disabled">
<option value="dubbo" selected="selected">Dubbo</option>
</select>
<input type="button" value="Search">
<div class="description warning">You cannot move this page to another space because you do not have permission to remove it from this space.</div>
</fieldset>
</div>
<div class="search-results">
</div>
</div>
</script>
<script type="text/x-template" title="movePageSearchResultsLoading">
<div class="searching">Searching…</div>
</script>
<script type="text/x-template" title="movePageHistoryPanel">
<div class="row information">
<div class="inner">
<div class="element">
Select the new parent page for this page and its children from your history.
</div>
</div>
</div>
<div id="move-page-search-container" class="row">
<div class="search-results">
</div>
</div>
</script>
<script type="text/x-template" title="movePageHistoryLoading">
<div class="searching">Loading…</div>
</script>
<script type="text/x-template" title="movePageBrowsePanel">
<div class="row information">
<div class="inner">
<div class="element">
Click to select the new parent page for this page and its children.
</div>
</div>
</div>
<div class="tree"></div>
</script>
<script type="text/x-template" title="movePagePanelLoading">
<span>Loading…</span>
</script>
<script type="text/x-template" title="movePageBrowsePanelSpace">
<ul><li id='tree-root-node-item' class='root-node-list-item'><a class='root-node' href='#'>{0}</a></li></ul>
</script>
<script type="text/x-template" title="orderingPagePanel">
<div id="orderingPlaceHolder"></div>
</script>
<script type="text/x-template" title="reorderCheckbox">
<span id="reorderRequirement"><input id="reorderCheck" type="checkbox" name="reorderFlag" title="Choose the position of this page within the list of child pages."/><label for="reorderCheck" title="Choose the position of this page within the list of child pages.">Reorder</label></span>
</script>
<script type="text/x-template" title="move-help-link">
<div class="dialog-help-link">
<a href="http://docs.atlassian.com/confluence/docs-35/Moving+a+Page" target="_blank">Help</a>
</div>
</script>
<script type="text/x-template" title="searchResultsGrid">
<table>
<thead>
<tr class="header">
<th class="search-result-title">Page Title</th>
<th class="search-result-space">Space</th>
<th class="search-result-date">Updated</th>
</tr>
</thead>
</table>
</script>
<script type="text/x-template" title="searchResultsGridCount">
<p class="search-result-count">{0}</p>
</script>
<script type="text/x-template" title="searchResultsGridRow">
<tr class="search-result">
<th class="search-result-title"><a href="{1}" class="content-type-{2}"><span>{0}</span></a></th>
<td class="search-result-space"><a class="space" href="http://10.20.160.198/wiki/display/{4}/" title="{3}">{3}</a></td>
<td class="search-result-date"><span class="date" title="{6}">{5}</span></td>
</tr>
</script>
<!-- Start restrictions section -->
<script type="text/x-template" title="page-permissions-div">
<div id="page-permissions-div">
<div id="page-permissions-editor-form">
<div id="page-permissions-error-div" class="hidden">
<a href="#" id="permissions-error-div-close">Ok</a>
<div></div>
</div>
<div id="page-permissions-type-radios" class="page-permissions-label-rows">
<div>
<input id="restrictViewRadio" type="radio" checked="checked" name="pagePermissionTypeRadio" value="view"/>
<label for="restrictViewRadio">Restrict viewing of this page</label>
<input id="restrictEditRadio" type="radio" name="pagePermissionTypeRadio" value="edit"/>
<label for="restrictEditRadio">Restrict editing of this page</label>
</div>
</div>
<div id="page-permissions-input" class="page-permissions-label-rows">
<div class="page-permissions-label">To:</div>
<div id="page-permissions-chooser-box">
<span id="page-permissions-choose-user" class="ajs-button">
<a href="#" id='userpicker-popup-link-image' onClick="var picker = window.open('http://10.20.160.198/wiki/spaces/openuserpicker.action?key=dubbo&startIndex=0&onPopupSubmit=AJS.PagePermissions.addUserPermissions', 'EntitiesPicker', 'status=yes,resizable=yes,top=100,left=200,width=700,height=680,scrollbars=yes'); picker.focus(); return false;"><img src="user_16.gif"/*tpa=http://10.20.160.198/wiki/s/en/2166/34/_/images/icons/user_16.gif*/ height=16 width=16 border=0 align="absmiddle" title="Choose users" /></a>
<a href="#" id='userpicker-popup-link-text' onClick="var picker = window.open('http://10.20.160.198/wiki/spaces/openuserpicker.action?key=dubbo&startIndex=0&onPopupSubmit=AJS.PagePermissions.addUserPermissions', 'EntitiesPicker', 'status=yes,resizable=yes,top=100,left=200,width=700,height=680,scrollbars=yes'); picker.focus(); return false;">Person...</a>
</span>
<span id="page-permissions-choose-group" class="ajs-button">
<a href="#" id='grouppicker-popup-link-image' onClick="var picker = window.open('http://10.20.160.198/wiki/spaces/opengrouppicker.action?key=dubbo&startIndex=0&actionName=dosearchgroups.action&onPopupSubmit=AJS.PagePermissions.addGroupPermissions', 'EntitiesPicker', 'status=yes,resizable=yes,top=100,left=200,width=580,height=550,scrollbars=yes'); picker.focus(); return false;"><img src="group_16.gif"/*tpa=http://10.20.160.198/wiki/s/en/2166/34/_/images/icons/group_16.gif*/ height=16 width=16 border=0 align="absmiddle" title="Choose groups" /></a>
<a href="#" id='grouppicker-popup-link-text' onClick="var picker = window.open('http://10.20.160.198/wiki/spaces/opengrouppicker.action?key=dubbo&startIndex=0&actionName=dosearchgroups.action&onPopupSubmit=AJS.PagePermissions.addGroupPermissions', 'EntitiesPicker', 'status=yes,resizable=yes,top=100,left=200,width=580,height=550,scrollbars=yes'); picker.focus(); return false;">Group...</a>
</span>
</div>
<div id="page-permissions-input-box">
<span>
<input type="text" id="page-permissions-names-input" class="input-placeholder" value="Enter user or group name" name="permissionNames" size="30" autocomplete="off"/>
</span>
<input
type="hidden"
id="page-permissions-names-hidden" /> <img height="16px" width="1px" src="spacer.gif"/*tpa=http://10.20.160.198/wiki/s/en/2166/34/_/images/border/spacer.gif*//>
<input type="button" id="add-typed-names" value="Restrict">
</div>
</div>
</div>
<div id="page-permissions-tables">
<div id="page-permissions-table-div">
<table id="page-permissions-table" class="page-permissions-table">
<tr id="page-permissions-no-views" class="marker-row">
<td colspan="3" class="page-permissions-marker-cell"><span>No view restrictions are defined for this page</span></td>
</tr>
<tr id="page-permissions-no-edits" class="marker-row">
<td colspan="3" class="page-permissions-marker-cell"><span>No edit restrictions are defined for this page</span></td>
</tr>
</table>
</div>
<div id="page-inherited-permissions-table-div" class="hidden">
<span id="page-inherited-permissions-table-desc">
<a class="icon twisty-closed">Show/Hide</a>
<a id="toggle-inherited-permissions" title="Click to see inherited restrictions">This page has restricted parent pages. It can only be seen by users who can see those parent pages.</a>
</span>
<div id="page-inherited-permissions-tables" class="hidden page-inheritance-togglable"></div>
</div>
</div>
</div>
</script>
<script type="text/x-template" title="permissions-row-template">
<tr class="permission-row">
<td class="page-permissions-marker-cell" width="20%">
<span>Viewing restricted to:</span>
</td>
<td class="permission-entity" nowrap="true" width="40%">
<span class="entity-container">
<img class="permission-entity-picture"/>
<span class="permission-entity-display-name"></span>
<span class="permission-entity-name-wrap">&nbsp;(<span class="permission-entity-name"></span>)</span>
</span>
</td>
<td class="permission-detail-column">
<div class="permission-remove-div">
<a href="#" class="remove-permission-link">Remove restriction</a>
</div>
</td>
</tr>
</script>
<script type="text/x-template" title="permissions-username-no-suggestion-template">
<ol>
<li><a href="#" class="message"><span>No matches</span></a></li>
</ol>
</script>
<script type="text/x-template" title="page-inherited-permissions-table-div-template">
<div class="page-inherited-permissions-owner-div">
<div class="page-inherited-permissions-table-desc">Viewing restrictions apply to “<a></a>”. In order to see “<span></span>”, a user must be in the following list of users and groups:</div>
<table class="page-permissions-table"></table>
</div>
</script>
<script type="text/x-template" title="page-restrictions-help-link">
<div class="dialog-help-link">
<a href="http://docs.atlassian.com/confluence/docs-35/Page+Restrictions" target="_blank">Help</a>
</div>
</script>
<!-- End restrictions section -->
<fieldset class="hidden parameters">
<input type="hidden" title="spaceKeyEncoded" value="dubbo">
<input type="hidden" title="spaceKeyDecoded" value="dubbo">
</fieldset>
<a href="#page-metadata-end" class="assistive">Skip to end of metadata</a>
<div id="page-metadata-start" class="assistive"></div>
<div class="page-metadata">
<ul>
<li class="page-metadata-item noprint">
<a id="content-metadata-page-restrictions" href="#" class="page-metadata-icon page-restrictions hidden" title="Page restrictions apply. Click the lock icon to view or edit the restriction.">
<span>Page restrictions apply</span></a> </li>
<li class="page-metadata-modification-info" style="display: none">
Added by <a href="javascript:if(confirm(%27http://10.20.160.198/wiki/display/~william.liangf \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/display/~william.liangf%27" tppabs="http://10.20.160.198/wiki/display/~william.liangf"
class="url fn confluence-userlink" data-username="william.liangf"
>梁 飞</a>, last edited by <a href="javascript:if(confirm(%27http://10.20.160.198/wiki/display/~william.liangf \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/display/~william.liangf%27" tppabs="http://10.20.160.198/wiki/display/~william.liangf"
class="url fn confluence-userlink" data-username="william.liangf"
>梁 飞</a> on 五月 23, 2012
<span class="noprint">&nbsp;(<a id="view-change-link" href="javascript:if(confirm(%27http://10.20.160.198/wiki/pages/diffpages.action?pageId=6947781&originalId=7670284 \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://10.20.160.198/wiki/pages/diffpages.action?pageId=6947781&originalId=7670284%27" tppabs="http://10.20.160.198/wiki/pages/diffpages.action?pageId=6947781&originalId=7670284">view change</a>)</span>
</li>
</ul>
<div id="version-comment" class="noteMacro" style="display: none;">
<strong>Comment:</strong>
<br />
</div>
</div>
<a href="#page-metadata-start" class="assistive">Go to start of metadata</a>
<div id="page-metadata-end" class="assistive"></div>
<fieldset class="hidden parameters">
<input type="hidden" title="browsePageTreeMode" value="view">
<input type="hidden" title="parentPageId" value="6948813">
</fieldset>
<div class="wiki-content">
<!-- wiki content -->
<h2><a name="ConfigurationReference-zh-%E9%85%8D%E7%BD%AE%E5%8F%82%E8%80%83%E6%89%8B%E5%86%8C"></a>配置参考手册 </h2>
<p>(<a href="Configuration+Reference-zh.htm" tppabs="http://10.20.160.198/wiki/display/dubbo/Configuration+Reference-zh" title="Configuration Reference-zh">+</a>) (<a href="#ConfigurationReference-zh-%E9%85%8D%E7%BD%AE%E5%8F%82%E8%80%83%E6%89%8B%E5%86%8C">#</a>) </p>
<div class='panelMacro'><table class='tipMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="check.gif" tppabs="http://10.20.160.198/wiki/images/icons/emoticons/check.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>这里以<a href="#ConfigurationReference-zh-Xml%E9%85%8D%E7%BD%AE">Xml配置</a>为准,列举所有配置项,其它配置方式,请参见相应转换关系:<a href="#ConfigurationReference-zh-%E5%B1%9E%E6%80%A7%E9%85%8D%E7%BD%AE">属性配置</a><a href="#ConfigurationReference-zh-%E6%B3%A8%E8%A7%A3%E9%85%8D%E7%BD%AE">注解配置</a><a href="#ConfigurationReference-zh-API%E9%85%8D%E7%BD%AE">API配置</a></td></tr></table></div>
<p><font color="red">注意:只有group,interface,version是服务的匹配条件,三者决定是不是同一个服务,其它配置项均为调优和治理参数。</font></p>
<p>所有配置项分为三大类,参见下表中的"作用"一列。</p>
<ul>
<li>服务发现:表示该配置项用于服务的注册与发现,目的是让消费方找到提供方。</li>
<li>服务治理:表示该配置项用于治理服务间的关系,或为开发测试提供便利条件。</li>
<li>性能调优:表示该配置项用于调优性能,不同的选项对性能会产生影响。</li>
</ul>
<p>所有配置最终都将转换为URL表示,并由服务提供方生成,经注册中心传递给消费方,各属性对应URL的参数,参见配置项一览表中的"对应URL参数"列。<br/>
URL格式:</p>
<div class="panel" style="border-width: 1px;"><div class="panelContent">
<p>protocol://username:password@host:port/path?key=value&amp;key=value</p>
</div></div>
<p>Schema: <a href="javascript:if(confirm(%27http://code.alibabatech.com/schema/dubbo/dubbo.xsd \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27http://code.alibabatech.com/schema/dubbo/dubbo.xsd%27" tppabs="http://code.alibabatech.com/schema/dubbo/dubbo.xsd" class="external-link" rel="nofollow">http://code.alibabatech.com/schema/dubbo/dubbo.xsd</a></p>
<h3><a name="ConfigurationReference-zh-%3Cdubbo%3Aservice%2F%3E"></a>&lt;dubbo:service/&gt;</h3>
<p>(<a href="Service+Config-zh.htm" tppabs="http://10.20.160.198/wiki/display/dubbo/Service+Config-zh" title="Service Config-zh">+</a>) (<a href="#ConfigurationReference-zh-%253Cdubbo%253Aservice%252F%253E">&#35;</a>)</p>
<p>服务提供者暴露服务配置:<br/>
配置类:com.alibaba.dubbo.config.ServiceConfig</p>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> 标签 </th>
<th class='confluenceTh'> 属性 </th>
<th class='confluenceTh'> 对应URL参数 </th>
<th class='confluenceTh'> 类型 </th>
<th class='confluenceTh'> 是否必填 </th>
<th class='confluenceTh'> 缺省值 </th>
<th class='confluenceTh'> 作用 </th>
<th class='confluenceTh'> 描述 </th>
<th class='confluenceTh'> 兼容性 </th>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> interface </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> class </td>
<td class='confluenceTd'> <b>必填</b> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务发现 </td>
<td class='confluenceTd'> 服务接口名 </td>
<td class='confluenceTd'> 1.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> ref </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> object </td>
<td class='confluenceTd'> <b>必填</b> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务发现 </td>
<td class='confluenceTd'> 服务对象实现引用 </td>
<td class='confluenceTd'> 1.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> version </td>
<td class='confluenceTd'> version </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 0.0.0 </td>
<td class='confluenceTd'> 服务发现 </td>
<td class='confluenceTd'> 服务版本,建议使用两位数字版本,如:1.0,通常在接口不兼容时版本号才需要升级 </td>
<td class='confluenceTd'> 1.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> group </td>
<td class='confluenceTd'> group </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务发现 </td>
<td class='confluenceTd'> 服务分组,当一个接口有多个实现,可以用分组区分 </td>
<td class='confluenceTd'> 1.0.7以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> path </td>
<td class='confluenceTd'> &lt;path&gt; </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 缺省为接口名 </td>
<td class='confluenceTd'> 服务发现 </td>
<td class='confluenceTd'> 服务路径 (注意:1.0不支持自定义路径,总是使用接口名,如果有1.0调2.0,配置服务路径可能不兼容) </td>
<td class='confluenceTd'> 1.0.12以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> delay </td>
<td class='confluenceTd'> delay </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 0 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 延迟注册服务时间(毫秒) ,设为-1时,表示延迟到Spring容器初始化完成时暴露服务 </td>
<td class='confluenceTd'> 1.0.14以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> timeout </td>
<td class='confluenceTd'> timeout </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 1000 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 远程服务调用超时时间(毫秒) </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> retries </td>
<td class='confluenceTd'> retries </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 2 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 远程服务调用重试次数,不包括第一次调用,不需要重试请设为0 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> connections </td>
<td class='confluenceTd'> connections </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 100 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 对每个提供者的最大连接数,rmi、http、hessian等短连接协议表示限制连接数,dubbo等长连接协表示建立的长连接个数 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> loadbalance </td>
<td class='confluenceTd'> loadbalance </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> random </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 负载均衡策略,可选值:random,roundrobin,leastactive,分别表示:随机,轮循,最少活跃调用 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> async </td>
<td class='confluenceTd'> async </td>
<td class='confluenceTd'> boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> false </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 是否缺省异步执行,不可靠异步,只是忽略返回值,不阻塞执行线程 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> stub </td>
<td class='confluenceTd'> stub </td>
<td class='confluenceTd'> class/boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> false </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 设为true,表示使用缺省代理类名,即:接口名 + Local后缀,服务接口客户端本地代理类名,用于在客户端执行本地逻辑,如本地缓存等,该本地代理类的构造函数必须允许传入远程代理对象,构造函数如:public XxxServiceLocal(XxxService xxxService) </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> mock </td>
<td class='confluenceTd'> mock </td>
<td class='confluenceTd'> class/boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> false </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 设为true,表示使用缺省Mock类名,即:接口名 + Mock后缀,服务接口调用失败Mock实现类,该Mock类必须有一个无参构造函数,与Local的区别在于,Local总是被执行,而Mock只在出现非业务异常(比如超时,网络异常等)时执行,Local在远程调用之前执行,Mock在远程调用后执行。 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> token </td>
<td class='confluenceTd'> token </td>
<td class='confluenceTd'> string/boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> false </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 令牌验证,为空表示不开启,如果为true,表示随机生成动态令牌,否则使用静态令牌,令牌的作用是防止消费者绕过注册中心直接访问,保证注册中心的授权功能有效,如果使用点对点调用,需关闭令牌功能 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> registry </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 缺省向所有registry注册 </td>
<td class='confluenceTd'> 配置关联 </td>
<td class='confluenceTd'> 向指定注册中心注册,在多个注册中心时使用,值为&lt;dubbo:registry&gt;的id属性,多个注册中心ID用逗号分隔,如果不想将该服务注册到任何registry,可将值设为N/A </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> provider </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 缺使用第一个provider配置 </td>
<td class='confluenceTd'> 配置关联 </td>
<td class='confluenceTd'> 指定provider,值为&lt;dubbo:provider&gt;的id属性 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> deprecated </td>
<td class='confluenceTd'> deprecated </td>
<td class='confluenceTd'> boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> false </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 服务是否过时,如果设为true,消费方引用时将打印服务过时警告error日志 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> dynamic </td>
<td class='confluenceTd'> dynamic </td>
<td class='confluenceTd'> boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> true </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 服务是否动态注册,如果设为false,注册后将显示后disable状态,需人工启用,并且服务提供者停止时,也不会自动取消册,需人工禁用。 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> accesslog </td>
<td class='confluenceTd'> accesslog </td>
<td class='confluenceTd'> string/boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> false </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 设为true,将向logger中输出访问日志,也可填写访问日志文件路径,直接把访问日志输出到指定文件 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> owner </td>
<td class='confluenceTd'> owner </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 服务负责人,用于服务治理,请填写负责人公司邮箱前缀 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> document </td>
<td class='confluenceTd'> document </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 服务文档URL </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> weight </td>
<td class='confluenceTd'> weight </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 服务权重 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> executes </td>
<td class='confluenceTd'> executes </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 0 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 服务提供者每服务每方法最大可并行执行请求数 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> actives </td>
<td class='confluenceTd'> actives </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 0 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 每服务消费者每服务每方法最大并发调用数 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> proxy </td>
<td class='confluenceTd'> proxy </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> javassist </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 生成动态代理方式,可选:jdk/javassist </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> cluster </td>
<td class='confluenceTd'> cluster </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> failover </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 集群方式,可选:failover/failfast/failsafe/failback/forking </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> filter </td>
<td class='confluenceTd'> service.filter </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> default </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 服务提供方远程调用过程拦截器名称,多个名称用逗号分隔 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> listener </td>
<td class='confluenceTd'> exporter.listener </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> default </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 服务提供方导出服务监听器名称,多个名称用逗号分隔 </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> protocol </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 配置关联 </td>
<td class='confluenceTd'> 使用指定的协议暴露服务,在多协议时使用,值为&lt;dubbo:protocol&gt;的id属性,多个协议ID用逗号分隔 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> layer </td>
<td class='confluenceTd'> layer </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 服务提供者所在的分层。如:biz、dao、intl:web、china:acton。 </td>
<td class='confluenceTd'> 2.0.7以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:service&gt; </td>
<td class='confluenceTd'> register </td>
<td class='confluenceTd'> register </td>
<td class='confluenceTd'> boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> true </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 该协议的服务是否注册到注册中心 </td>
<td class='confluenceTd'> 2.0.8以上版本 </td>
</tr>
</tbody></table>
</div>
<h3><a name="ConfigurationReference-zh-%3Cdubbo%3Areference%2F%3E"></a>&lt;dubbo:reference/&gt;</h3>
<p>(<a href="Reference+Config-zh.htm" tppabs="http://10.20.160.198/wiki/display/dubbo/Reference+Config-zh" title="Reference Config-zh">+</a>) (<a href="#ConfigurationReference-zh-%253Cdubbo%253Areference%252F%253E">#</a>)</p>
<p>服务消费者引用服务配置:<br/>
配置类:com.alibaba.dubbo.config.ReferenceConfig</p>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> 标签 </th>
<th class='confluenceTh'> 属性 </th>
<th class='confluenceTh'> 对应URL参数 </th>
<th class='confluenceTh'> 类型 </th>
<th class='confluenceTh'> 是否必填 </th>
<th class='confluenceTh'> 缺省值 </th>
<th class='confluenceTh'> 作用 </th>
<th class='confluenceTh'> 描述 </th>
<th class='confluenceTh'> 兼容性 </th>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> id </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> <b>必填</b> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 配置关联 </td>
<td class='confluenceTd'> 服务引用BeanId </td>
<td class='confluenceTd'> 1.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> interface </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> class </td>
<td class='confluenceTd'> <b>必填</b> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务发现 </td>
<td class='confluenceTd'> 服务接口名 </td>
<td class='confluenceTd'> 1.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> version </td>
<td class='confluenceTd'> version </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务发现 </td>
<td class='confluenceTd'> 服务版本,与服务提供者的版本一致 </td>
<td class='confluenceTd'> 1.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> group </td>
<td class='confluenceTd'> group </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务发现 </td>
<td class='confluenceTd'> 服务分组,当一个接口有多个实现,可以用分组区分,必需和服务提供方一致 </td>
<td class='confluenceTd'> 1.0.7以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> timeout </td>
<td class='confluenceTd'> timeout </td>
<td class='confluenceTd'> long </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 缺省使用&lt;dubbo:consumer&gt;的timeout </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 服务方法调用超时时间(毫秒) </td>
<td class='confluenceTd'> 1.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> retries </td>
<td class='confluenceTd'> retries </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 缺省使用&lt;dubbo:consumer&gt;的retries </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 远程服务调用重试次数,不包括第一次调用,不需要重试请设为0 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> connections </td>
<td class='confluenceTd'> connections </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 缺省使用&lt;dubbo:consumer&gt;的connections </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 对每个提供者的最大连接数,rmi、http、hessian等短连接协议表示限制连接数,dubbo等长连接协表示建立的长连接个数 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> loadbalance </td>
<td class='confluenceTd'> loadbalance </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 缺省使用&lt;dubbo:consumer&gt;的loadbalance </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 负载均衡策略,可选值:random,roundrobin,leastactive,分别表示:随机,轮循,最少活跃调用 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> async </td>
<td class='confluenceTd'> async </td>
<td class='confluenceTd'> boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 缺省使用&lt;dubbo:consumer&gt;的async </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 是否异步执行,不可靠异步,只是忽略返回值,不阻塞执行线程 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> generic </td>
<td class='confluenceTd'> generic </td>
<td class='confluenceTd'> boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 缺省使用&lt;dubbo:consumer&gt;的generic </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 是否缺省泛化接口,如果为泛化接口,将返回GenericService </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> check </td>
<td class='confluenceTd'> check </td>
<td class='confluenceTd'> boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 缺省使用&lt;dubbo:consumer&gt;的check </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 启动时检查提供者是否存在,true报错,false忽略 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> url </td>
<td class='confluenceTd'> &lt;url&gt; </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 点对点直连服务提供者地址,<font color="red">将绕过注册中心</font> </td>
<td class='confluenceTd'> 1.0.6以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> stub </td>
<td class='confluenceTd'> stub </td>
<td class='confluenceTd'> class/boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 服务接口客户端本地代理类名,用于在客户端执行本地逻辑,如本地缓存等,该本地代理类的构造函数必须允许传入远程代理对象,构造函数如:public XxxServiceLocal(XxxService xxxService) </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> mock </td>
<td class='confluenceTd'> mock </td>
<td class='confluenceTd'> class/boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 服务接口调用失败Mock实现类名,该Mock类必须有一个无参构造函数,与Local的区别在于,Local总是被执行,而Mock只在出现非业务异常(比如超时,网络异常等)时执行,Local在远程调用之前执行,Mock在远程调用后执行。 </td>
<td class='confluenceTd'> Dubbo1.0.13及其以上版本支持 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> cache </td>
<td class='confluenceTd'> cache </td>
<td class='confluenceTd'> string/boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 以调用参数为key,缓存返回结果,可选:lru, threadlocal, jcache等 </td>
<td class='confluenceTd'> Dubbo2.1.0及其以上版本支持 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> validation </td>
<td class='confluenceTd'> validation </td>
<td class='confluenceTd'> boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 是否启用JSR303标准注解验证,如果启用,将对方法参数上的注解进行校验 </td>
<td class='confluenceTd'> Dubbo2.1.0及其以上版本支持 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> proxy </td>
<td class='confluenceTd'> proxy </td>
<td class='confluenceTd'> boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> javassist </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 选择动态代理实现策略,可选:javassist, jdk </td>
<td class='confluenceTd'> 2.0.2以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> client </td>
<td class='confluenceTd'> client </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 客户端传输类型设置,如Dubbo协议的netty或mina。 </td>
<td class='confluenceTd'> Dubbo2.0.0以上版本支持 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> registry </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 缺省将从所有注册中心获服务列表后合并结果 </td>
<td class='confluenceTd'> 配置关联 </td>
<td class='confluenceTd'> 从指定注册中心注册获取服务列表,在多个注册中心时使用,值为&lt;dubbo:registry&gt;的id属性,多个注册中心ID用逗号分隔 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> owner </td>
<td class='confluenceTd'> owner </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 调用服务负责人,用于服务治理,请填写负责人公司邮箱前缀 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> actives </td>
<td class='confluenceTd'> actives </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 0 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 每服务消费者每服务每方法最大并发调用数 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> cluster </td>
<td class='confluenceTd'> cluster </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> failover </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 集群方式,可选:failover/failfast/failsafe/failback/forking </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> filter </td>
<td class='confluenceTd'> reference.filter </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> default </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 服务消费方远程调用过程拦截器名称,多个名称用逗号分隔 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> listener </td>
<td class='confluenceTd'> invoker.listener </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> default </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 服务消费方引用服务监听器名称,多个名称用逗号分隔 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> layer </td>
<td class='confluenceTd'> layer </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 服务调用者所在的分层。如:biz、dao、intl:web、china:acton。 </td>
<td class='confluenceTd'> 2.0.7以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> init </td>
<td class='confluenceTd'> init </td>
<td class='confluenceTd'> boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> false </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 是否在afterPropertiesSet()时饥饿初始化引用,否则等到有人注入或引用该实例时再初始化。 </td>
<td class='confluenceTd'> 2.0.10以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:reference&gt; </td>
<td class='confluenceTd'> protocol </td>
<td class='confluenceTd'> protocol </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服力治理 </td>
<td class='confluenceTd'> 只调用指定协议的服务提供方,其它协议忽略。 </td>
<td class='confluenceTd'> 2.2.0以上版本 </td>
</tr>
</tbody></table>
</div>
<h3><a name="ConfigurationReference-zh-%3Cdubbo%3Aprotocol%2F%3E"></a>&lt;dubbo:protocol/&gt;</h3>
<p>(<a href="Protocol+Config-zh.htm" tppabs="http://10.20.160.198/wiki/display/dubbo/Protocol+Config-zh" title="Protocol Config-zh">+</a>) (<a href="#ConfigurationReference-zh-%253Cdubbo%253Aprotocol%252F%253E">&#35;</a>)</p>
<p>服务提供者协议配置:<br/>
配置类:com.alibaba.dubbo.config.ProtocolConfig<br/>
说明:如果需要支持多协议,可以声明多个&lt;dubbo:protocol&gt;标签,并在&lt;dubbo:service&gt;中通过protocol属性指定使用的协议。</p>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> 标签 </th>
<th class='confluenceTh'> 属性 </th>
<th class='confluenceTh'> 对应URL参数 </th>
<th class='confluenceTh'> 类型 </th>
<th class='confluenceTh'> 是否必填 </th>
<th class='confluenceTh'> 缺省值 </th>
<th class='confluenceTh'> 作用 </th>
<th class='confluenceTh'> 描述 </th>
<th class='confluenceTh'> 兼容性 </th>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> id </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> dubbo </td>
<td class='confluenceTd'> 配置关联 </td>
<td class='confluenceTd'> 协议BeanId,可以在&lt;dubbo:service protocol=""&gt;中引用此ID,如果ID不填,缺省和name属性值一样,重复则在name后加序号。 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> name </td>
<td class='confluenceTd'> &lt;protocol&gt; </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> <b>必填</b> </td>
<td class='confluenceTd'> dubbo </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 协议名称 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> port </td>
<td class='confluenceTd'> &lt;port&gt; </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> dubbo协议缺省端口为20880,rmi协议缺省端口为1099,http和hessian协议缺省端口为80 <br class="atl-forced-newline" />
如果配置为<b>-1</b> 或者 <b>没有</b>配置port,则会分配一个没有被占用的端口。Dubbo <font color="brown">2.4.0+</font>,分配的端口在协议缺省端口的基础上增长,确保端口段可控。 </td>
<td class='confluenceTd'> 服务发现 </td>
<td class='confluenceTd'> 服务端口 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> host </td>
<td class='confluenceTd'> &lt;host&gt; </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 自动查找本机IP </td>
<td class='confluenceTd'> 服务发现 </td>
<td class='confluenceTd'> &#45;服务主机名,多网卡选择或指定VIP及域名时使用,为空则自动查找本机IP,&#45;<font color="red">建议不要配置,让Dubbo自动获取本机IP</font> </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> threadpool </td>
<td class='confluenceTd'> threadpool </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> fixed </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 线程池类型,可选:fixed/cached </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> threads </td>
<td class='confluenceTd'> threads </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 100 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 服务线程池大小(固定大小) </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> iothreads </td>
<td class='confluenceTd'> threads </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> cpu个数+1 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> io线程池大小(固定大小) </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> accepts </td>
<td class='confluenceTd'> accepts </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 0 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 服务提供方最大可接受连接数 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> payload </td>
<td class='confluenceTd'> payload </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 88388608(=8M) </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 请求及响应数据包大小限制,单位:字节 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> codec </td>
<td class='confluenceTd'> codec </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> dubbo </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 协议编码方式 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> serialization </td>
<td class='confluenceTd'> serialization </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> dubbo协议缺省为hessian2,rmi协议缺省为java,http协议缺省为json </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 协议序列化方式,当协议支持多种序列化方式时使用,比如:dubbo协议的dubbo,hessian2,java,compactedjava,以及http协议的json等 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> accesslog </td>
<td class='confluenceTd'> accesslog </td>
<td class='confluenceTd'> string/boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 设为true,将向logger中输出访问日志,也可填写访问日志文件路径,直接把访问日志输出到指定文件 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> path </td>
<td class='confluenceTd'> &lt;path&gt; </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务发现 </td>
<td class='confluenceTd'> 提供者上下文路径,为服务path的前缀 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> transporter </td>
<td class='confluenceTd'> transporter </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> dubbo协议缺省为netty </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 协议的服务端和客户端实现类型,比如:dubbo协议的mina,netty等,可以分拆为server和client配置 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> server </td>
<td class='confluenceTd'> server </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> dubbo协议缺省为netty,http协议缺省为servlet </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 协议的服务器端实现类型,比如:dubbo协议的mina,netty等,http协议的jetty,servlet等 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> client </td>
<td class='confluenceTd'> client </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> dubbo协议缺省为netty </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 协议的客户端实现类型,比如:dubbo协议的mina,netty等 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> dispatcher </td>
<td class='confluenceTd'> dispatcher </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> dubbo协议缺省为all </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 协议的消息派发方式,用于指定线程模型,比如:dubbo协议的all, direct, message, execution, connection等 </td>
<td class='confluenceTd'> 2.1.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> queues </td>
<td class='confluenceTd'> queues </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 0 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 线程池队列大小,当线程池满时,排队等待执行的队列大小,建议不要设置,当线程程池时应立即失败,重试其它服务提供机器,而不是排队,除非有特殊需求。 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> charset </td>
<td class='confluenceTd'> charset </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> UTF-8 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 序列化编码 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> buffer </td>
<td class='confluenceTd'> buffer </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 8192 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 网络读写缓冲区大小 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> heartbeat </td>
<td class='confluenceTd'> heartbeat </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 0 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 心跳间隔,对于长连接,当物理层断开时,比如拔网线,TCP的FIN消息来不及发送,对方收不到断开事件,此时需要心跳来帮助检查连接是否已断开 </td>
<td class='confluenceTd'> 2.0.10以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> telnet </td>
<td class='confluenceTd'> telnet </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 所支持的telnet命令,多个命令用逗号分隔 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> register </td>
<td class='confluenceTd'> register </td>
<td class='confluenceTd'> boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> true </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 该协议的服务是否注册到注册中心 </td>
<td class='confluenceTd'> 2.0.8以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:protocol&gt; </td>
<td class='confluenceTd'> contextpath </td>
<td class='confluenceTd'> contextpath </td>
<td class='confluenceTd'> String </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 缺省为空串 </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 2.0.6以上版本 </td>
</tr>
</tbody></table>
</div>
<h3><a name="ConfigurationReference-zh-%3Cdubbo%3Aregistry%2F%3E"></a>&lt;dubbo:registry/&gt;</h3>
<p>(<a href="Registry+Config-zh.htm" tppabs="http://10.20.160.198/wiki/display/dubbo/Registry+Config-zh" title="Registry Config-zh">+</a>) (<a href="#ConfigurationReference-zh-%253Cdubbo%253Aregistry%252F%253E">#</a>)</p>
<p>注册中心配置:<br/>
配置类:com.alibaba.dubbo.config.RegistryConfig<br/>
说明:如果有多个不同的注册中心,可以声明多个&lt;dubbo:registry&gt;标签,并在&lt;dubbo:service&gt;或&lt;dubbo:reference&gt;的registry属性指定使用的注册中心。</p>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> 标签 </th>
<th class='confluenceTh'> 属性 </th>
<th class='confluenceTh'> 对应URL参数 </th>
<th class='confluenceTh'> 类型 </th>
<th class='confluenceTh'> 是否必填 </th>
<th class='confluenceTh'> 缺省值 </th>
<th class='confluenceTh'> 作用 </th>
<th class='confluenceTh'> 描述 </th>
<th class='confluenceTh'> 兼容性 </th>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:registry&gt; </td>
<td class='confluenceTd'> id </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 配置关联 </td>
<td class='confluenceTd'> 注册中心引用BeanId,可以在&lt;dubbo:service registry=""&gt;或&lt;dubbo:reference registry=""&gt;中引用此ID </td>
<td class='confluenceTd'> 1.0.16以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:registry&gt; </td>
<td class='confluenceTd'> address </td>
<td class='confluenceTd'> &lt;host:port&gt; </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> <b>必填</b> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务发现 </td>
<td class='confluenceTd'> 注册中心服务器地址,如果地址没有端口缺省为9090,同一集群内的多个地址用逗号分隔,如:ip:port,ip:port,不同集群的注册中心,请配置多个&lt;dubbo:registry&gt;标签 </td>
<td class='confluenceTd'> 1.0.16以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:registry&gt; </td>
<td class='confluenceTd'> protocol </td>
<td class='confluenceTd'> &lt;protocol&gt; </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> dubbo </td>
<td class='confluenceTd'> 服务发现 </td>
<td class='confluenceTd'> 注同中心地址协议,支持dubbo, http, local三种协议,分别表示,dubbo地址,http地址,本地注册中心 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:registry&gt; </td>
<td class='confluenceTd'> port </td>
<td class='confluenceTd'> &lt;port&gt; </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 9090 </td>
<td class='confluenceTd'> 服务发现 </td>
<td class='confluenceTd'> 注册中心缺省端口,当address没有带端口时使用此端口做为缺省值 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:registry&gt; </td>
<td class='confluenceTd'> username </td>
<td class='confluenceTd'> &lt;username&gt; </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 登录注册中心用户名,如果注册中心不需要验证可不填 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:registry&gt; </td>
<td class='confluenceTd'> password </td>
<td class='confluenceTd'> &lt;password&gt; </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 登录注册中心密码,如果注册中心不需要验证可不填 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:registry&gt; </td>
<td class='confluenceTd'> transport </td>
<td class='confluenceTd'> registry.transporter </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> netty </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 网络传输方式,可选mina,netty </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:registry&gt; </td>
<td class='confluenceTd'> timeout </td>
<td class='confluenceTd'> registry.timeout </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 5000 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 注册中心请求超时时间(毫秒) </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:registry&gt; </td>
<td class='confluenceTd'> session </td>
<td class='confluenceTd'> registry.session </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 60000 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 注册中心会话超时时间(毫秒),用于检测提供者非正常断线后的脏数据,比如用心跳检测的实现,此时间就是心跳间隔,不同注册中心实现不一样。 </td>
<td class='confluenceTd'> 2.1.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:registry&gt; </td>
<td class='confluenceTd'> file </td>
<td class='confluenceTd'> registry.file </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 使用文件缓存注册中心地址列表及服务提供者列表,应用重启时将基于此文件恢复,<font color="#ff0000">注意:两个注册中心不能使用同一文件存储</font> </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:registry&gt; </td>
<td class='confluenceTd'> wait </td>
<td class='confluenceTd'> registry.wait </td>
<td class='confluenceTd'> int </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> 0 </td>
<td class='confluenceTd'> 性能调优 </td>
<td class='confluenceTd'> 停止时等待通知完成时间(毫秒) </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:registry&gt; </td>
<td class='confluenceTd'> check </td>
<td class='confluenceTd'> check </td>
<td class='confluenceTd'> boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> true </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 注册中心不存在时,是否报错 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:registry&gt; </td>
<td class='confluenceTd'> register </td>
<td class='confluenceTd'> register </td>
<td class='confluenceTd'> boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> true </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 是否向此注册中心注册服务,如果设为false,将只订阅,不注册 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:registry&gt; </td>
<td class='confluenceTd'> subscribe </td>
<td class='confluenceTd'> subscribe </td>
<td class='confluenceTd'> boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> true </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 是否向此注册中心订阅服务,如果设为false,将只注册,不订阅 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:registry&gt; </td>
<td class='confluenceTd'> dynamic </td>
<td class='confluenceTd'> dynamic </td>
<td class='confluenceTd'> boolean </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> true </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 服务是否动态注册,如果设为false,注册后将显示后disable状态,需人工启用,并且服务提供者停止时,也不会自动取消册,需人工禁用。 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
</tbody></table>
</div>
<h3><a name="ConfigurationReference-zh-%3Cdubbo%3Amonitor%2F%3E"></a>&lt;dubbo:monitor/&gt;</h3>
<p>(<a href="Monitor+Config-zh.htm" tppabs="http://10.20.160.198/wiki/display/dubbo/Monitor+Config-zh" title="Monitor Config-zh">+</a>) (<a href="#ConfigurationReference-zh-%253Cdubbo%253Amonitor%252F%253E">#</a>)</p>
<p>监控中心配置:<br/>
配置类:com.alibaba.dubbo.config.MonitorConfig</p>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> 标签 </th>
<th class='confluenceTh'> 属性 </th>
<th class='confluenceTh'> 对应URL参数 </th>
<th class='confluenceTh'> 类型 </th>
<th class='confluenceTh'> 是否必填 </th>
<th class='confluenceTh'> 缺省值 </th>
<th class='confluenceTh'> 作用 </th>
<th class='confluenceTh'> 描述 </th>
<th class='confluenceTh'> 兼容性 </th>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:monitor&gt; </td>
<td class='confluenceTd'> protocol </td>
<td class='confluenceTd'> protocol </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> dubbo </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 监控中心协议,如果为protocol="registry",表示从注册中心发现监控中心地址,否则直连监控中心。 </td>
<td class='confluenceTd'> 2.0.9以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:monitor&gt; </td>
<td class='confluenceTd'> address </td>
<td class='confluenceTd'> &lt;url&gt; </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> N/A </td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 直连监控中心服务器地址,address="10.20.130.230:12080" </td>
<td class='confluenceTd'> 1.0.16以上版本 </td>
</tr>
</tbody></table>
</div>
<h3><a name="ConfigurationReference-zh-%3Cdubbo%3Aapplication%2F%3E"></a>&lt;dubbo:application/&gt;</h3>
<p>(<a href="Application+Config-zh.htm" tppabs="http://10.20.160.198/wiki/display/dubbo/Application+Config-zh" title="Application Config-zh">+</a>) (<a href="#ConfigurationReference-zh-%253Cdubbo%253Aapplication%252F%253E">#</a>)</p>
<p>应用信息配置:<br/>
配置类:com.alibaba.dubbo.config.ApplicationConfig</p>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> 标签 </th>
<th class='confluenceTh'> 属性 </th>
<th class='confluenceTh'> 对应URL参数 </th>
<th class='confluenceTh'> 类型 </th>
<th class='confluenceTh'> 是否必填 </th>
<th class='confluenceTh'> 缺省值 </th>
<th class='confluenceTh'> 作用 </th>
<th class='confluenceTh'> 描述 </th>
<th class='confluenceTh'> 兼容性 </th>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:application&gt; </td>
<td class='confluenceTd'> name </td>
<td class='confluenceTd'> application </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> <b>必填</b> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 当前应用名称,用于注册中心计算应用间依赖关系,<font color="red">注意:消费者和提供者应用名不要一样,此参数不是匹配条件</font>,你当前项目叫什么名字就填什么,和提供者消费者角色无关,比如:kylin应用调用了morgan应用的服务,则kylin项目配成kylin,morgan项目配成morgan,可能kylin也提供其它服务给别人使用,但kylin项目永远配成kylin,这样注册中心将显示kylin依赖于morgan </td>
<td class='confluenceTd'> 1.0.16以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:application&gt; </td>
<td class='confluenceTd'> version </td>
<td class='confluenceTd'> application.version </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 当前应用的版本 </td>
<td class='confluenceTd'> 2.2.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:application&gt; </td>
<td class='confluenceTd'> owner </td>
<td class='confluenceTd'> owner </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 应用负责人,用于服务治理,请填写负责人公司邮箱前缀 </td>
<td class='confluenceTd'> 2.0.5以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:application&gt; </td>
<td class='confluenceTd'> organization </td>
<td class='confluenceTd'> organization </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 组织名称(BU或部门),用于注册中心区分服务来源,<font color="#009900">此配置项建议不要使用autoconfig,直接写死在配置中,比如china,intl,itu,crm,asc,dw,aliexpress等</font> </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:application&gt; </td>
<td class='confluenceTd'> architecture <br class="atl-forced-newline" /> </td>
<td class='confluenceTd'> architecture <br class="atl-forced-newline" /> </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 用于服务分层对应的架构。如,intl、china。不同的架构使用不同的分层。 </td>
<td class='confluenceTd'> 2.0.7以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:application&gt; </td>
<td class='confluenceTd'> environment </td>
<td class='confluenceTd'> environment </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 应用环境,如:develop/test/product,不同环境使用不同的缺省值,以及作为只用于开发测试功能的限制条件 </td>
<td class='confluenceTd'> 2.0.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:application&gt; </td>
<td class='confluenceTd'> compiler </td>
<td class='confluenceTd'> compiler </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> javassist </td>
<td class='confluenceTd'> 性能优化 </td>
<td class='confluenceTd'> Java字节码编译器,用于动态类的生成,可选:jdk或javassist </td>
<td class='confluenceTd'> 2.1.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:application&gt; </td>
<td class='confluenceTd'> logger </td>
<td class='confluenceTd'> logger </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'> slf4j </td>
<td class='confluenceTd'> 性能优化 </td>
<td class='confluenceTd'> 日志输出方式,可选:slf4j,jcl,log4j,jdk </td>
<td class='confluenceTd'> 2.2.0以上版本 </td>
</tr>
</tbody></table>
</div>
<h3><a name="ConfigurationReference-zh-%3Cdubbo%3Amodule%2F%3E"></a>&lt;dubbo:module/&gt;</h3>
<p>(<a href="Module+Config-zh.htm" tppabs="http://10.20.160.198/wiki/display/dubbo/Module+Config-zh" title="Module Config-zh">+</a>) (<a href="#ConfigurationReference-zh-%253Cdubbo%253Amodule%252F%253E">#</a>)</p>
<p>模块信息配置:<br/>
配置类:com.alibaba.dubbo.config.ModuleConfig</p>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> 标签 </th>
<th class='confluenceTh'> 属性 </th>
<th class='confluenceTh'> 对应URL参数 </th>
<th class='confluenceTh'> 类型 </th>
<th class='confluenceTh'> 是否必填 </th>
<th class='confluenceTh'> 缺省值 </th>
<th class='confluenceTh'> 作用 </th>
<th class='confluenceTh'> 描述 </th>
<th class='confluenceTh'> 兼容性 </th>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:module&gt; </td>
<td class='confluenceTd'> name </td>
<td class='confluenceTd'> module </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> <b>必填</b> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 当前模块名称,用于注册中心计算模块间依赖关系 </td>
<td class='confluenceTd'> 2.2.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:module&gt; </td>
<td class='confluenceTd'> version </td>
<td class='confluenceTd'> module.version </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> 可选 </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> 服务治理 </td>
<td class='confluenceTd'> 当前模块的版本 </td>
<td class='confluenceTd'> 2.2.0以上版本 </td>
</tr>
<tr>
<td class='confluenceTd'> &lt;dubbo:module&gt; </td>
<td class='confluenceTd'> owner </td>
<td class='confluenceTd'> owner </td>
<td class='c