package de.ivu.elect.business.system.control;

import de.ivu.elect.business.system.boundary.SystemUebersicht;
import de.ivu.elect.jee.presentation.status.StatusEntry;
import de.ivu.elect.jee.presentation.status.StatusOption;
import de.ivu.elect.jee.presentation.status.StatusOptionGroup;
import de.ivu.elect.jee.startup.PostStartup;
import de.ivu.elect.jee.startup.PostStartupAsync;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.ejb.Asynchronous;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.inject.Inject;
import java.util.concurrent.TimeUnit;


@Stateless
public class SystemStatusCheckPostStartup implements PostStartupAsync {

  @EJB
  private transient SystemStatusCheckPostStartupAsync systemStatusCheckPostStartupAsync;

  @Override
  public void postStartup() {
    systemStatusCheckPostStartupAsync.postStartupAsync();
  }
}
