public class ScheduleManager extends ConfigurableLifecyleBase implements org.springframework.context.ApplicationContextAware, AutoCloseable
log
Constructor and Description |
---|
ScheduleManager() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure()
Configure this component.
|
IJob |
getSchedule(String name) |
Map<String,IJob> |
getSchedules() |
List<IJob> |
getSchedulesList() |
void |
registerScheduledJob(IJob job)
Job that is executed periodically.
|
void |
start()
Configure and start, managed through the Spring Lifecyle
|
void |
stop()
remove all registered jobs
|
String |
toString() |
void |
unRegister(IJob job) |
getState, inState, isRunning, updateState
public void configure() throws ConfigurationException
ConfigurableLifecycle
In the case of a container, this will propagate the start signal to all components that apply.
configure
in interface ConfigurableLifecycle
ConfigurationException
- in case it was not able to configure the component.public void start()
start
in interface org.springframework.context.Lifecycle
public void stop()
stop
in interface org.springframework.context.Lifecycle
public void close() throws Exception
close
in interface AutoCloseable
Exception
public void registerScheduledJob(IJob job)
public void unRegister(IJob job)
Copyright © 2023 Frank!Framework. All rights reserved.