Class PropertiesFactory

java.lang.Object
com.arjuna.common.util.propertyservice.PropertiesFactory

public final class PropertiesFactory extends Object
Author:
Gytis Trikleris
  • Constructor Details

    • PropertiesFactory

      public PropertiesFactory()
  • Method Details

    • setDelegatePropertiesFactory

      public static void setDelegatePropertiesFactory(AbstractPropertiesFactory propertiesFactory)
      Allow the properties factory delegate to be supplied externally. This is useful for containers like Quarkus that need to statically initialise properties during a deployment phase.
      Parameters:
      propertiesFactory - a factory for providing default values for properties
    • getDefaultProperties

      public static Properties getDefaultProperties()
    • getPropertiesFromFile

      public static Properties getPropertiesFromFile(String propertyFileName, ClassLoader classLoader)