类 ScriptRouterFactory
- java.lang.Object
-
- com.alibaba.dubbo.rpc.cluster.router.script.ScriptRouterFactory
-
- 所有已实现的接口:
RouterFactory
public class ScriptRouterFactory extends Object implements RouterFactory
ScriptRouterFactoryExample URLS used by Script Router Factory:
- script://registyAddress?type=js&rule=xxxx
- script:///path/to/routerfile.js?type=js&rule=xxxx
- script://D:\path\to\routerfile.js?type=js&rule=xxxx
- script://C:/path/to/routerfile.js?type=js&rule=xxxx
-
-
方法详细资料
-
getRouter
public Router getRouter(URL url)
从接口复制的说明:RouterFactory
Create router.- 指定者:
getRouter
在接口中RouterFactory
- 返回:
- router
-
-