Package org.frankframework.scheduler.job
Class Job
java.lang.Object
org.frankframework.core.TransactionAttributes
org.frankframework.scheduler.JobDef
org.frankframework.scheduler.job.Job
- All Implemented Interfaces:
HasTransactionAttribute
,IConfigurable
,IConfigurationAware
,INamedObject
,IScopeProvider
,IJob
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
Placeholder class to allow old-school
<job function='SendMessage' />
in the new Frank!Config XSD.- Author:
- Niels Meijer
-
Field Summary
Fields inherited from class org.frankframework.core.TransactionAttributes
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Actual implementation of theIJob
.void
setFunction
(JobDefFunctions function) toString()
Methods inherited from class org.frankframework.scheduler.JobDef
beforeExecuteJob, configure, decrementCountThreads, executeJob, getApplicationContext, getConfigurationClassLoader, getCronExpression, getDescription, getIbisManager, getInterval, getJobDetail, getJobGroup, getLocker, getLogPrefix, getMessageKeeper, getName, getNumThreads, incrementCountThreads, isConfigured, setApplicationContext, setConfigurationMetrics, setCronExpression, setDescription, setInterval, setJobGroup, setLocker, setMessageKeeperSize, setName, setNumThreads
Methods inherited from class org.frankframework.core.TransactionAttributes
configureTransactionAttributes, getTransactionAttribute, getTransactionTimeout, getTxDef, isTransacted, isTransacted, setTransacted, setTransactionAttribute, setTransactionTimeout
-
Constructor Details
-
Job
public Job()
-
-
Method Details
-
execute
Description copied from interface:IJob
Actual implementation of theIJob
. Is wrapped around aLocker
andexceptions
will be managed automatically.- Throws:
JobExecutionException
- when the implementation fails to executeTimeoutException
- when the TransactionTimeout has been reached
-
toString
-
setFunction
-
getFunction
-