Interface DcatDocumentManager
- All Known Implementing Classes:
IntegrationContextManager,OIFContextManager
public interface DcatDocumentManager
DcatDocumentManager distributes DCAT documents to the integration connectors that have registered a listener.
-
Method Summary
Modifier and TypeMethodDescriptionvoidpublishDcatDocument(String rawDocument) Publish a DCAT document.voidregisterDcatListener(DcatDocumentListener listener) The listener is implemented by the integration connector.
-
Method Details
-
registerDcatListener
The listener is implemented by the integration connector. Once it is registered with the context, its processDcatDocument() method is called each time a DCAT document is published to the integration daemon.- Parameters:
listener- listener to call
-
publishDcatDocument
Publish a DCAT document. The document is parsed and passed to each of the registered listeners.- Parameters:
rawDocument- document in JSON-LD format
-