私は取り組んでいますMy application's under maintanace module
try {
if (isUndermaintanace) {
System.exit(1);
} else {
prepareResources();
}
} catch (Exception e) {
printStack(e);
} finally {
cleanResources();
}
私が isundermaintanace
true
最終的に実行していないときに渡します。
私は何が欠けていますか?それを行う他の方法はありますか?