Package org.apache.dubbo.metadata.report
Class MetadataReportInstance
java.lang.Object
org.apache.dubbo.metadata.report.MetadataReportInstance
- All Implemented Interfaces:
org.apache.dubbo.common.resource.Disposable
public class MetadataReportInstance
extends Object
implements org.apache.dubbo.common.resource.Disposable
Repository of MetadataReport instances that can talk to remote metadata server.
MetadataReport instances are initiated during the beginning of deployer.start() and used by components that
need to interact with metadata server.
If multiple metadata reports and registries need to be declared, it is recommended to group each two metadata report and registry together by giving them the same id:
invalid input: '<'dubbo:registry id=demo1 address="registry://"/>
invalid input: '<'dubbo:metadata id=demo1 address="metadata://"/>
invalid input: '<'dubbo:registry id=demo2 address="registry://"/>
invalid input: '<'dubbo:metadata id=demo2 address="metadata://"/>
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataReportInstance(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()getMetadataReport(String registryKey) getMetadataReports(boolean checked) voidboolean
-
Constructor Details
-
MetadataReportInstance
public MetadataReportInstance(org.apache.dubbo.rpc.model.ApplicationModel applicationModel)
-
-
Method Details
-
init
-
getMetadataReports
-
getMetadataReport
-
getNopMetadataReport
-
getMetadataType
-
isInitialized
public boolean isInitialized() -
destroy
public void destroy()- Specified by:
destroyin interfaceorg.apache.dubbo.common.resource.Disposable
-