wildfly 读取服务器目录下文件
docker部署的容器
private static boolean get_is_ym_temp() {
try {
File file = new File("/opt/jboss/wildfly/standalone/data/ym_temp_flag.txt");
//System.out.println("file " + file.exists() + " " + file.getPath());
return file.exists();
} catch (Exception e) {
return false;
}
}