There is a multi-threaded Java SE application. I need to edit the property file on the web page and restart the application. In other words, where to write the code below and how to restart it?
public static void main(String[] args) {
IMyProperties properties = new MyProperties();
Map<String, String> config = properties.config();
Map<String, String> messages = properties.messages();
initProgram(config, messages);
}
Aucun commentaire:
Enregistrer un commentaire