Package org.apache.dubbo.common.infra
Interface InfraAdapter
- All Known Implementing Classes:
EnvironmentAdapter
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.
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String key) getExtraAttributes(Map<String, String> params) get extra attributes
-
Method Details
-
getExtraAttributes
get extra attributes- Parameters:
params- application name or hostname are most likely to be used as input params.- Returns:
-
getAttribute
- Parameters:
key-- Returns:
-