接口的使用
org.apache.dubbo.metadata.MappingListener
-
使用MappingListener的程序包 程序包 说明 org.apache.dubbo.metadata org.apache.dubbo.metadata.report -
-
org.apache.dubbo.metadata中MappingListener的使用
返回MappingListener的org.apache.dubbo.metadata中的方法 修饰符和类型 方法 说明 MappingListenerAbstractServiceNameMapping. stopListen(org.apache.dubbo.common.URL subscribeURL, MappingListener listener)MappingListenerServiceNameMapping. stopListen(org.apache.dubbo.common.URL subscribeURL, MappingListener listener)参数类型为MappingListener的org.apache.dubbo.metadata中的方法 修饰符和类型 方法 说明 Set<String>AbstractServiceNameMapping. getAndListen(org.apache.dubbo.common.URL registryURL, org.apache.dubbo.common.URL subscribedURL, MappingListener listener)abstract Set<String>AbstractServiceNameMapping. getAndListen(org.apache.dubbo.common.URL url, MappingListener mappingListener)Get the service names from the specified Dubbo service interface, group, version and protocolSet<String>ServiceNameMapping. getAndListen(org.apache.dubbo.common.URL registryURL, org.apache.dubbo.common.URL subscribedURL, MappingListener listener)Get the latest mapping result from remote center and register listener at the same time to get notified once mapping changes.MappingListenerAbstractServiceNameMapping. stopListen(org.apache.dubbo.common.URL subscribeURL, MappingListener listener)MappingListenerServiceNameMapping. stopListen(org.apache.dubbo.common.URL subscribeURL, MappingListener listener) -
org.apache.dubbo.metadata.report中MappingListener的使用
参数类型为MappingListener的org.apache.dubbo.metadata.report中的方法 修饰符和类型 方法 说明 default Set<String>MetadataReport. getServiceAppMapping(String serviceKey, MappingListener listener, org.apache.dubbo.common.URL url)Service<-->Application Mapping -- STARTdefault voidMetadataReport. removeServiceAppMappingListener(String serviceKey, MappingListener listener)
-