Package com.priint.pubserver.util
Class DataProviderUtils
- java.lang.Object
-
- com.priint.pubserver.util.DataProviderUtils
-
public class DataProviderUtils extends java.lang.ObjectUtilities connected to the Data providers
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TgetConfig(java.lang.String configPath)protected TgetConfig(java.lang.String configFolder, java.lang.String configName)protected java.lang.Class<DataProvider>getConfigClass()static DataProvidergetDataProvider(java.lang.String tenant, java.lang.String identifier)Method to get the Data Provider by identifier for the given tenant
-
-
-
Method Detail
-
getDataProvider
public static DataProvider getDataProvider(java.lang.String tenant, java.lang.String identifier) throws ConfigManagerException, javax.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:
ConfigManagerExceptionjavax.xml.bind.JAXBException
-
getConfigClass
protected java.lang.Class<DataProvider> getConfigClass()
-
getConfig
protected T getConfig(java.lang.String configFolder, java.lang.String configName) throws ConfigManagerException, javax.xml.bind.JAXBException- Throws:
ConfigManagerExceptionjavax.xml.bind.JAXBException
-
getConfig
protected T getConfig(java.lang.String configPath) throws ConfigManagerException, javax.xml.bind.JAXBException- Throws:
ConfigManagerExceptionjavax.xml.bind.JAXBException
-
-