Package com.hybris.datahub.core.services
Interface DataHubExtensionUploadService
- All Known Implementing Classes:
DefaultDataHubExtensionUploadService
public interface DataHubExtensionUploadService
A service for deploying DataHub extensions to the server.
-
Method Summary
Modifier and TypeMethodDescriptionvoiduploadExtension(com.hybris.datahub.client.extension.ExtensionSource extSrc) Uploads a DataHub extension to the DataHub server.
-
Method Details
-
uploadExtension
Uploads a DataHub extension to the DataHub server.- Parameters:
extSrc- a source of the extension definition.- Throws:
IOException- when failed to read extension definition from the sourcecom.hybris.datahub.client.DataHubBlockedException- if extension cannot be uploaded now due to DataHub performing some uninterruptable operation. If this exception received, the extension deployment should be attempted later.com.hybris.datahub.client.extension.InvalidDataHubExtensionException- if the extension defined in the source is invalid or it's not in XML format or the XML is malformed.
-