@Activate public class EnvironmentAdapter extends Object implements InfraAdapter, ScopeModelAware
| Constructor and Description |
|---|
EnvironmentAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribute(String key) |
Map<String,String> |
getExtraAttributes(Map<String,String> params)
1.
|
void |
setApplicationModel(ApplicationModel applicationModel)
Override this method if you just need application model
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetFrameworkModel, setModuleModel, setScopeModelpublic void setApplicationModel(ApplicationModel applicationModel)
ScopeModelAwaresetApplicationModel in interface ScopeModelAwarepublic Map<String,String> getExtraAttributes(Map<String,String> params)
getExtraAttributes in interface InfraAdapterparams - information of this Dubbo process, currently includes application name and host address.public String getAttribute(String key)
getAttribute in interface InfraAdapterCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.