org.riotfamily.common.scheduling
Class TransactionalScheduledTask
java.lang.Object
org.riotfamily.common.scheduling.ScheduledTaskSupport
org.riotfamily.common.scheduling.TransactionalScheduledTask
- All Implemented Interfaces:
- ScheduledTask, Ordered
public abstract class TransactionalScheduledTask
- extends ScheduledTaskSupport
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionalScheduledTask
public TransactionalScheduledTask(PlatformTransactionManager tx)
setTxdef
public void setTxdef(TransactionDefinition txdef)
execute
public final void execute()
throws Exception
- Description copied from interface:
ScheduledTask
- Executes the task. The method is invoked by the Quartz scheduler when
one of the configured triggers fires.
- Throws:
Exception
executeInTransaction
protected abstract void executeInTransaction()
throws Exception
- Throws:
Exception