public class DubboAdapter extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.dubbo.config.ApplicationConfig |
application |
protected Map<String,org.apache.dubbo.config.ReferenceConfig> |
refMap |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
getService(Class<T> clz,
org.apache.dubbo.config.annotation.Reference ref) |
static DubboAdapter |
global(XApp app) |
void |
regService(org.apache.dubbo.config.ServiceConfig cfg) |
void |
startBlock() |
void |
stopBlock() |
public static DubboAdapter global(XApp app)
public void startBlock()
public void stopBlock()
public void regService(org.apache.dubbo.config.ServiceConfig cfg)
public <T> T getService(Class<T> clz, org.apache.dubbo.config.annotation.Reference ref)
Copyright © 2020. All rights reserved.