Class ServiceInstanceHostPortCustomizer
java.lang.Object
org.apache.dubbo.registry.client.metadata.ServiceInstanceHostPortCustomizer
- All Implemented Interfaces:
Comparable<Prioritized>,Prioritized,ServiceInstanceCustomizer
The
ServiceInstanceCustomizer to customize the port of service instance.-
Field Summary
Fields inherited from interface org.apache.dubbo.common.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(ServiceInstance serviceInstance, ApplicationModel applicationModel) Customizesthe service instanceMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.common.lang.Prioritized
compareTo, getPriority
-
Constructor Details
-
ServiceInstanceHostPortCustomizer
public ServiceInstanceHostPortCustomizer()
-
-
Method Details
-
customize
Description copied from interface:ServiceInstanceCustomizerCustomizesthe service instance- Specified by:
customizein interfaceServiceInstanceCustomizer- Parameters:
serviceInstance-the service instance
-