org.mmbase.applications.crontab
Class RunnableCronJob
java.lang.Object
org.mmbase.applications.crontab.AbstractCronJob
org.mmbase.applications.crontab.RunnableCronJob
- All Implemented Interfaces:
- Runnable, CronJob
public class RunnableCronJob
- extends AbstractCronJob
Just wraps a Runnable into a CronJob.
Runnable can optionally be configured using 'bean' properties, where the key/values are read
from the configuration string using StringSplitter.map(java.lang.String).
- Since:
- MMBase-1.8
- Version:
- $Id: RunnableCronJob.java 42079 2010-05-03 09:06:58Z michiel $
- Author:
- Michiel Meeuwissen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
runnable
protected final Runnable runnable
RunnableCronJob
public RunnableCronJob(Runnable run)
run
public void run()
- Description copied from class:
AbstractCronJob
- Implement this.
- Specified by:
run in interface Runnable- Specified by:
run in interface CronJob- Specified by:
run in class AbstractCronJob
init
protected void init()
- Description copied from class:
AbstractCronJob
- You can init by overriding this (no need to call super.init)
This is called by
AbstractCronJob.init(CronEntry)
- Overrides:
init in class AbstractCronJob
MMBase 2.0-SNAPSHOT - null