Skip to content

Commit

Permalink
DUBBO-275 简化本地服务,自动短路
Browse files Browse the repository at this point in the history
将injvm标记为弃用

git-svn-id: http://code.alibabatech.com/svn/dubbo/trunk@1743 1a56cb94-b969-4eaa-88fa-be21384802f2
  • Loading branch information
chao.liuc committed May 14, 2012
1 parent 1900eaf commit d736dfc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,20 @@ public void setGeneric(Boolean generic) {
this.generic = generic;
}

/**
* @return
* @deprecated 通过scope进行判断,scope=local
*/
@Deprecated
public Boolean isInjvm() {
return injvm;
}

/**
* @param injvm
* @deprecated 通过scope设置,scope=local表示使用injvm协议.
*/
@Deprecated
public void setInjvm(Boolean injvm) {
this.injvm = injvm;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
</xsd:attribute>
<xsd:attribute name="injvm" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[ Get reference in jvm first. ]]></xsd:documentation>
<xsd:documentation><![CDATA[Deprecated. Replace to set scope=local ]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="sticky" type="xsd:string" use="optional">
Expand Down

0 comments on commit d736dfc

Please sign in to comment.