Package com.priint.pubserver.util
Class DataProviderUtils
java.lang.Object
com.priint.pubserver.util.DataProviderUtils
Utilities connected to the Data providers
-
Method Summary
Modifier and TypeMethodDescriptionprotected DataProviderprotected DataProviderprotected Class<DataProvider>static DataProvidergetDataProvider(String tenant, String identifier) Method to get the Data Provider by identifier for the given tenant
-
Method Details
-
getDataProvider
public static DataProvider getDataProvider(String tenant, String identifier) throws ConfigManagerException, jakarta.xml.bind.JAXBException Method to get the Data Provider by identifier for the given tenant- Parameters:
tenant- tenantidentifier- identifier of the Data Provider- Returns:
- Throws:
ConfigManagerExceptionjakarta.xml.bind.JAXBException
-
getConfigClass
-
getConfig
protected DataProvider getConfig(String configFolder, String configName) throws ConfigManagerException, jakarta.xml.bind.JAXBException - Throws:
ConfigManagerExceptionjakarta.xml.bind.JAXBException
-
getConfig
protected DataProvider getConfig(String configPath) throws ConfigManagerException, jakarta.xml.bind.JAXBException - Throws:
ConfigManagerExceptionjakarta.xml.bind.JAXBException
-