public class Job extends JobDef
<job function='SendMessage' />
in the new Frank!Config XSD.log
Constructor and Description |
---|
Job() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Actual implementation of the
IJob . |
void |
setFunction(JobDefFunctions function) |
String |
toString() |
beforeExecuteJob, configure, decrementCountThreads, executeJob, getIbisManager, getJobDetail, getLogPrefix, getMessageKeeper, getStatisticsKeeper, incrementCountThreads, setCronExpression, setDescription, setInterval, setJobGroup, setLocker, setMessageKeeperSize, setName, setNumThreads
configureTransactionAttributes, isTransacted, isTransacted, setTransacted, setTransactionTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCronExpression, getInterval, getJobGroup, getLocker, getName, isConfigured
getApplicationContext
getConfigurationClassLoader
setApplicationContext
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttribute
public void execute() throws JobExecutionException, TimeoutException
IJob
IJob
. Is wrapped around a Locker
, exceptions
and statistics
will be managed automatically.JobExecutionException
- when the implementation fails to executeTimeoutException
- when the TransactionTimeout has been reached@Mandatory public void setFunction(JobDefFunctions function)
Copyright © 2023 Frank!Framework. All rights reserved.