public abstract class ScheduledTask extends TimerTask implements ConfigurationChangedAware, Initializable, UnregisterAware
| Modifier and Type | Field and Description |
|---|---|
protected AbstractMessageReceiver |
component |
| Constructor and Description |
|---|
ScheduledTask(Duration delay,
Duration period)
Default constructor allows providing default values
|
| Modifier and Type | Method and Description |
|---|---|
void |
beanConfigurationChanged(Collection<String> changedFields)
Method called when configuration was applied to bean.
|
void |
beforeUnregister()
Method called before bean unregister.
|
void |
initialize()
Method will be called, when bean will be created, configured and ready to use.
|
cancel, cancel, isCancelled, isScheduled, reset, setScheduledFuture@Inject(bean="service") protected AbstractMessageReceiver component
public void beanConfigurationChanged(Collection<String> changedFields)
ConfigurationChangedAwarebeanConfigurationChanged in interface ConfigurationChangedAwarechangedFields - collection of field names which were changedpublic void initialize()
Initializableinitialize in interface Initializablepublic void beforeUnregister()
UnregisterAwarebeforeUnregister in interface UnregisterAwareCopyright © 2004–2019 "Tigase, Inc.". All rights reserved.