Package org.apache.dubbo.metadata.util
Class MetadataServiceVersionUtils
java.lang.Object
org.apache.dubbo.metadata.util.MetadataServiceVersionUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanneedExportV1(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) check if we should export MetadataServicestatic booleanneedExportV2(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) check if we should export MetadataServiceV2static booleanonlyExportV2(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) check if we should only export MetadataServiceV2static MetadataInfotoV1(MetadataInfoV2 metadataInfoV2) static MetadataInfo.ServiceInfotoV1(ServiceInfoV2 serviceInfoV2) static MetadataInfoV2toV2(MetadataInfo metadataInfo) static ServiceInfoV2toV2(MetadataInfo.ServiceInfo serviceInfo) static booleantripleConfigured(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) check if we can use triple as MetadataService protocol
-
Field Details
-
V1
- See Also:
-
V2
- See Also:
-
-
Constructor Details
-
MetadataServiceVersionUtils
public MetadataServiceVersionUtils()
-
-
Method Details
-
toV2
-
toV2
-
toV1
-
toV1
-
needExportV1
public static boolean needExportV1(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) check if we should export MetadataService -
needExportV2
public static boolean needExportV2(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) check if we should export MetadataServiceV2 -
onlyExportV2
public static boolean onlyExportV2(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) check if we should only export MetadataServiceV2 -
tripleConfigured
public static boolean tripleConfigured(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) check if we can use triple as MetadataService protocol
-