@Service @Unbound public class ScheduledTaskConfig extends BeanConfig
ScheduledTask
_bean
Constructor and Description |
---|
ScheduledTaskConfig()
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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