|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.config.cfg.BeanConfig
com.caucho.resources.ScheduledTaskConfig
@Service @Unbound public class ScheduledTaskConfig
The cron resources starts application Work tasks at cron-specified intervals.
ScheduledTask
Field Summary |
---|
Fields inherited from class com.caucho.config.cfg.BeanConfig |
---|
_bean |
Constructor Summary | |
---|---|
ScheduledTaskConfig()
Deprecated. Constructor. |
Method Summary | |
---|---|
void |
init()
Deprecated. Initialization. |
protected boolean |
isStartup()
Deprecated. |
void |
setCron(java.lang.String cron)
Deprecated. Sets the cron interval. |
void |
setDelay(Period delay)
Deprecated. Sets the delay |
void |
setMethod(MethodExpression method)
Deprecated. Sets the method expression as a task |
void |
setPeriod(Period period)
Deprecated. Sets the period |
void |
setTask(java.lang.Runnable task)
Deprecated. Sets the task. |
void |
setUrl(java.lang.String url)
Deprecated. Sets the url expression as a task |
void |
setWork(java.lang.Runnable work)
Deprecated. |
java.lang.String |
toString()
Deprecated. |
Methods inherited from class com.caucho.config.cfg.BeanConfig |
---|
addBinding, addCustomBean, addInitProgram, addOptionalStringProperty, addParam, addProperty, addStringProperty, createObjectNoInit, deploy, getBeanConfigClass, getBeanManager, getBindingList, getCdiNamed, getClassType, getComponent, getDefaultScope, getFilename, getInit, getLine, getMBeanName, getName, getObject, getStereotypeList, getTagName, getUri, introspectPostInit, isDefaultService, setBeanConfigClass, setClass, setConfigLocation, setInit, setJndiName, setMbeanClass, setMbeanInterface, setMbeanName, setName, setScope, setScopeType, setService, setType, setUri |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScheduledTaskConfig()
Method Detail |
---|
protected boolean isStartup()
isStartup
in class BeanConfig
@Configurable public void setDelay(Period delay)
@Configurable public void setPeriod(Period period)
public void setCron(java.lang.String cron)
public void setMethod(MethodExpression method)
public void setUrl(java.lang.String url)
@Deprecated public void setWork(java.lang.Runnable work)
@Configurable public void setTask(java.lang.Runnable task)
@PostConstruct public void init() throws ConfigException
init
in class BeanConfig
ConfigException
public java.lang.String toString()
toString
in class BeanConfig
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |