public class ServiceInstanceMetadataCustomizer extends Object implements ServiceInstanceCustomizer
Intercepting instance to load instance-level params from different sources before being registered into registry.
The sources can be one or both of the following:COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| 构造器和说明 |
|---|
ServiceInstanceMetadataCustomizer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
customize(ServiceInstance serviceInstance,
ApplicationModel applicationModel)
Customizes
the service instance |
compareTo, getPrioritypublic void customize(ServiceInstance serviceInstance, ApplicationModel applicationModel)
ServiceInstanceCustomizerthe service instancecustomize 在接口中 ServiceInstanceCustomizerserviceInstance - the service instanceCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.