Class ProtocolPortsMetadataCustomizer
java.lang.Object
org.apache.dubbo.registry.client.metadata.ProtocolPortsMetadataCustomizer
- All Implemented Interfaces:
Comparable<Prioritized>,Prioritized,ServiceInstanceCustomizer
A Class to customize the ports of
protocols into
the metadata of service instance- Since:
- 2.7.5
-
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
-
ProtocolPortsMetadataCustomizer
public ProtocolPortsMetadataCustomizer()
-
-
Method Details
-
customize
Description copied from interface:ServiceInstanceCustomizerCustomizesthe service instance- Specified by:
customizein interfaceServiceInstanceCustomizer- Parameters:
serviceInstance-the service instance
-