List of usage examples for javax.ejb TimerService createTimer
public Timer createTimer(Date expiration, Serializable info) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, javax.ejb.EJBException;
From source file:org.jbpm.scheduler.ejbtimer.TimerServiceBean.java
public void createTimer(Timer timer) { TimerService timerService = sessionContext.getTimerService(); log.debug("creating timer " + timer + " in the ejb timer service"); timerService.createTimer(timer.getDueDate(), new TimerInfo(timer)); }