Class SimpleConfigurationFactory
java.lang.Object
org.jpos.q2.SimpleConfigurationFactory
- All Implemented Interfaces:
ConfigurationFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConfiguration(org.jdom2.Element e) protected voidprocessFile(Properties props, String baseFile, boolean isEnv) protected voidprocessProperty(Properties props, String name, String value) protected booleanreadPropertyFile(Properties props, String fileName) protected booleanreadYAML(Properties props, String fileName) protected booleanreadYamlFile(Properties props, String fileName)
-
Constructor Details
-
SimpleConfigurationFactory
public SimpleConfigurationFactory()
-
-
Method Details
-
getConfiguration
- Specified by:
getConfigurationin interfaceConfigurationFactory- Throws:
ConfigurationException
-
processProperty
-
processFile
protected void processFile(Properties props, String baseFile, boolean isEnv) throws ConfigurationException - Throws:
ConfigurationException
-
getFiles
-
readYamlFile
- Throws:
ConfigurationException
-
readPropertyFile
- Throws:
IOException
-
readYAML
- Throws:
IOException
-