![image](https://user-images.githubusercontent.com/18097545/78014651-d54cb580-737a-11ea-809c-fe5dc884ec55.png)

dubbo 2.7.3， 同时暴露rest和dubbo，com.alibaba.dubbo.samples.echo.api.EchoService这个接口是dubbo协议的，还是当做rest来暴露？

private static final Logger logger = LoggerFactory.getLogger(ConfigManager.class);
    public static final String NAME = "config";
    private final Map<String, Map<String, AbstractConfig>> configsCache = newMap();
    private final ReadWriteLock lock = new ReentrantReadWriteLock();
    public ConfigManager() {
    }
    
    public void setApplication(ApplicationConfig application) {
        addConfig(application, true);
    }
    public Optional<ApplicationConfig> getApplication() {
        return ofNullable(getConfig(getTagName(ApplicationConfig.class)));
    }
    public ApplicationConfig getApplicationOrElseThrow() {
        return getApplication().orElseThrow(() -> new IllegalStateException("There's no ApplicationConfig specified."));
    }
    
    public void setMonitor(MonitorConfig monitor) {
        addConfig(monitor, true);
    }
    public Optional<MonitorConfig> getMonitor() {
        return ofNullable(getConfig(getTagName(MonitorConfig.class)));
    }
    
    public void setModule(ModuleConfig module) {
        addConfig(module, true);