|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.scheduler.AbstractJob
Base class from which all Job
s running in the
scheduler should be derived from if they want access to the
ServiceBroker.
Field Summary | |
static java.lang.String |
CONTEXT
JobDataMap tag for the job's context. |
static java.lang.String |
EXECUTION_CONFIGURATION
JobDataMap tag for the job's configuration. |
static java.lang.String |
LOGGER
JobDataMap tag for the job's logger. |
static java.lang.String |
SERVICE_MANAGER
JobDataMap tag for the job's service broker. |
Constructor Summary | |
AbstractJob()
|
Method Summary | |
abstract void |
execute(org.quartz.JobExecutionContext context)
Execute the Job. |
org.codehaus.plexus.configuration.PlexusConfiguration |
getConfiguration()
Get the Configuration. |
org.codehaus.plexus.context.Context |
getContext()
Get the Context. |
org.quartz.JobDataMap |
getJobDataMap()
Get Job Data Map |
org.codehaus.plexus.logging.Logger |
getLogger()
Get the Logger. |
void |
interrupt()
|
boolean |
isInterrupted()
|
void |
setJobDataMap(org.quartz.JobDataMap jobDataMap)
Set Job Data Map |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String LOGGER
public static final java.lang.String CONTEXT
public static final java.lang.String SERVICE_MANAGER
public static final java.lang.String EXECUTION_CONFIGURATION
Constructor Detail |
public AbstractJob()
Method Detail |
public void setJobDataMap(org.quartz.JobDataMap jobDataMap)
public org.quartz.JobDataMap getJobDataMap()
public org.codehaus.plexus.logging.Logger getLogger()
public org.codehaus.plexus.context.Context getContext()
public org.codehaus.plexus.configuration.PlexusConfiguration getConfiguration()
public abstract void execute(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
execute
in interface org.quartz.Job
org.quartz.JobExecutionException
public boolean isInterrupted()
public void interrupt() throws org.quartz.UnableToInterruptJobException
interrupt
in interface org.quartz.InterruptableJob
org.quartz.UnableToInterruptJobException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |