ErrorMailCheckBatchAction.java 700 Bytes
Newer Older
Kim Gyeongeun committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
/**
 *
 */
package jp.agentec.sinaburocast.action.batch;

import jp.agentec.sinaburocast.action.AbstractAction;
import jp.agentec.sinaburocast.common.util.PropertyUtil;
import jp.agentec.sinaburocast.logic.ErrorMailCheckBatchLogic;

import org.apache.log4j.Logger;
import org.seasar.struts.annotation.Execute;

/**
 * @author arakawa
 *
 */
public class ErrorMailCheckBatchAction extends AbstractAction {
	private final Logger logger = Logger.getLogger(getClass());

	public ErrorMailCheckBatchLogic errorMailCheckBatchLogic;

	@Execute(validator=false)
	public String index() throws Exception {

		errorMailCheckBatchLogic.errMailCheck(PropertyUtil.getString("BATCH_UPDATE"));

		return null;
	}

}