package com.generation.batch;

import com.generation.common.Constants;
import com.generation.service.AccountClearService;

/**
 * アカウント自動削除バッチ。
 * @author 松川徹
 */
public class AccountClearBatch extends BatchBase {

	/**
	 * @see com.generation.batch.BatchBase#execute()
	 */
	@Override
	protected void execute() throws Exception {
		
		// アカウント削除サービス
		AccountClearService accountClearService = (AccountClearService) context.getBean(Constants.SERVICE_NAME_ACCOUNT_CLEAR);
		accountClearService.executeClear();
	}
}
