@ -19,6 +19,7 @@ public class ScheduledServiceBean extends AbstractServiceBean {
task.run();
} finally {
scheduled.setBusy(false);
onComplete();
}
@ -35,6 +36,11 @@ public class ScheduledServiceBean extends AbstractServiceBean {
return task.get();
/**일정에 따른 작업 완료 후 해야할 작업을 실행한다.
*/
protected void onComplete() {}