Class IbisActionJob
- java.lang.Object
-
- nl.nn.adapterframework.core.TransactionAttributes
-
- nl.nn.adapterframework.scheduler.JobDef
-
- nl.nn.adapterframework.scheduler.job.IbisActionJob
-
- All Implemented Interfaces:
HasTransactionAttribute
,IConfigurable
,IConfigurationAware
,INamedObject
,IScopeProvider
,IJob
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class IbisActionJob extends JobDef
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IbisActionJob.Action
-
Field Summary
-
Fields inherited from class nl.nn.adapterframework.core.TransactionAttributes
log
-
-
Constructor Summary
Constructors Constructor Description IbisActionJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure()
void
execute()
Actual implementation of theIJob
.AdapterManager
getAdapterManager()
String
getAdapterName()
String
getConfigurationName()
String
getReceiverName()
void
setAction(IbisActionJob.Action action)
void
setAdapterManager(AdapterManager adapterManager)
void
setAdapterName(String adapterName)
Adapter on which job operatesvoid
setConfigurationName(String configurationName)
Configuration on which job operatesvoid
setReceiverName(String receiverName)
Receiver on which job operates-
Methods inherited from class nl.nn.adapterframework.scheduler.JobDef
beforeExecuteJob, decrementCountThreads, executeJob, getApplicationContext, getConfigurationClassLoader, getCronExpression, getDescription, getIbisManager, getInterval, getJobDetail, getJobGroup, getLocker, getLogPrefix, getMessageKeeper, getName, getNumThreads, getStatisticsKeeper, incrementCountThreads, isConfigured, setApplicationContext, setCronExpression, setDescription, setInterval, setJobGroup, setLocker, setMessageKeeperSize, setName, setNumThreads, toString
-
Methods inherited from class nl.nn.adapterframework.core.TransactionAttributes
configureTransactionAttributes, getTransactionAttribute, getTransactionTimeout, getTxDef, isTransacted, isTransacted, setTransacted, setTransactionAttribute, setTransactionTimeout
-
-
-
-
Method Detail
-
configure
public void configure() throws ConfigurationException
- Specified by:
configure
in interfaceIConfigurable
- Overrides:
configure
in classJobDef
- Throws:
ConfigurationException
-
execute
public void execute()
Description copied from interface:IJob
Actual implementation of theIJob
. Is wrapped around aLocker
,exceptions
andstatistics
will be managed automatically.
-
setAction
@Mandatory public void setAction(IbisActionJob.Action action)
-
setConfigurationName
public void setConfigurationName(String configurationName)
Configuration on which job operates
-
setAdapterName
public void setAdapterName(String adapterName)
Adapter on which job operates
-
setReceiverName
public void setReceiverName(String receiverName)
Receiver on which job operates
-
getAdapterManager
public AdapterManager getAdapterManager()
-
setAdapterManager
public void setAdapterManager(AdapterManager adapterManager)
-
getConfigurationName
public String getConfigurationName()
-
getAdapterName
public String getAdapterName()
-
getReceiverName
public String getReceiverName()
-
-