Class PropertiesFactory
java.lang.Object
com.arjuna.common.util.propertyservice.PropertiesFactory
- Author:
- Gytis Trikleris
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Properties
static Properties
getPropertiesFromFile
(String propertyFileName, ClassLoader classLoader) static void
setDelegatePropertiesFactory
(AbstractPropertiesFactory propertiesFactory) Allow the properties factory delegate to be supplied externally.
-
Constructor Details
-
PropertiesFactory
public PropertiesFactory()
-
-
Method Details
-
setDelegatePropertiesFactory
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
-
getPropertiesFromFile
-