Class AbstractSchedulerService
java.lang.Object
com.aspectran.core.service.AbstractServiceLifeCycle
com.aspectran.core.scheduler.service.AbstractSchedulerService
- All Implemented Interfaces:
SchedulerService
,ServiceLifeCycle
- Direct Known Subclasses:
DefaultSchedulerService
public abstract class AbstractSchedulerService
extends AbstractServiceLifeCycle
implements SchedulerService
The Class AbstractSchedulerService.
-
Field Summary
Fields inherited from interface com.aspectran.core.scheduler.service.SchedulerService
JOB_RULE_DATA_KEY, SERVICE_DATA_KEY
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configure
(SchedulerConfig schedulerConfig) protected void
doStart()
protected void
doStop()
protected org.quartz.Scheduler
getScheduler
(String scheduleId) protected Collection
<org.quartz.Scheduler> int
boolean
boolean
void
setLoggingGroup
(String loggingGroup) void
setStartDelaySeconds
(int startDelaySeconds) void
setWaitOnShutdown
(boolean waitOnShutdown) Methods inherited from class com.aspectran.core.service.AbstractServiceLifeCycle
addService, getContextName, getLock, getParentService, getRootService, getServiceName, isActive, isBusy, isOrphan, isRootService, pause, pause, removeService, restart, restart, resume, setServiceStateListener, start, stop, withdraw
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aspectran.core.scheduler.service.SchedulerService
pause, pauseAll, resume, resumeAll
Methods inherited from interface com.aspectran.core.service.ServiceLifeCycle
addService, getParentService, getRootService, getServiceName, isActive, isBusy, isOrphan, isRootService, pause, pause, removeService, restart, restart, resume, setServiceStateListener, start, stop, withdraw
-
Method Details
-
getActivityContext
- Specified by:
getActivityContext
in interfaceSchedulerService
-
getStartDelaySeconds
public int getStartDelaySeconds()- Specified by:
getStartDelaySeconds
in interfaceSchedulerService
-
setStartDelaySeconds
public void setStartDelaySeconds(int startDelaySeconds) -
isWaitOnShutdown
public boolean isWaitOnShutdown()- Specified by:
isWaitOnShutdown
in interfaceSchedulerService
-
setWaitOnShutdown
public void setWaitOnShutdown(boolean waitOnShutdown) -
getLoggingGroup
- Specified by:
getLoggingGroup
in interfaceSchedulerService
-
setLoggingGroup
-
isDerived
public boolean isDerived()- Specified by:
isDerived
in interfaceServiceLifeCycle
-
getSchedulers
-
getScheduler
-
doStart
- Specified by:
doStart
in classAbstractServiceLifeCycle
- Throws:
Exception
-
doStop
- Specified by:
doStop
in classAbstractServiceLifeCycle
- Throws:
Exception
-
configure
-