Class DataProviderUtils


  • public class DataProviderUtils
    extends java.lang.Object
    Utilities connected to the Data providers
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected T getConfig​(java.lang.String configPath)  
      protected T getConfig​(java.lang.String configFolder, java.lang.String configName)  
      protected java.lang.Class<DataProvider> getConfigClass()  
      static DataProvider getDataProvider​(java.lang.String tenant, java.lang.String identifier)
      Method to get the Data Provider by identifier for the given tenant
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 - tenant
        identifier - identifier of the Data Provider
        Returns:
        Throws:
        ConfigManagerException
        javax.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:
        ConfigManagerException
        javax.xml.bind.JAXBException