I am new to jboss eap 6.3
. I have to load a list of configuration parameters (properties file) into a cache in my application running on jboss eap 6.3
.
I checked the developers guide from red hat but did not find anything specific.
Any pointers will help.
I have this method to load properties files but not sure how it is done on server start up:
public static void loadProperties(){
InputStream inputStream = Thread.currentThread().getContextClassLoader().getResourceAsStream("test.properties");
try {
properties = new Properties();
properties.load(inputStream);
} catch (IOException e) {
e.printStackTrace();
}
}