接口 InfraAdapter

  • 所有已知实现类:
    CmdbAdapter, EnvironmentAdapter

    @SPI
    public interface InfraAdapter
    Used to interact with other systems. Typical use cases are: 1. get extra attributes from underlying infrastructures related to the instance on which Dubbo is currently deploying. 2. get configurations from third-party systems which maybe useful for a specific component.
    • 方法详细资料

      • getExtraAttributes

        Map<String,​String> getExtraAttributes​(Map<String,​String> params)
        get extra attributes
        参数:
        params - application name or hostname are most likely to be used as input params.
        返回:
      • getAttribute

        String getAttribute​(String key)
        参数:
        key -
        返回: