Class PropertiesLoader


  • public class PropertiesLoader
    extends Object
    The MartyConfigLoader is a singleton EJB loading the marty properties from the configuration entity 'BASIC' and provides the properties to the MartyConfigSource

    See implementation details here: https://stackoverflow.com/questions/52117613/microprofile-config-custom-configsource-using-jpa/56498321#56498321

    Author:
    rsoika
    See Also:
    PropertiesConfigSource
    • Constructor Detail

      • PropertiesLoader

        public PropertiesLoader()
    • Method Detail

      • reset

        public void reset()
        This method reset the properties from the PropertiesConfigSource
      • loadProperties

        public Map<String,​String> loadProperties()
        This method is used to load a imixs.property file into the property Map

        The imixs.property file is loaded from the current threads classpath.