Package org.frankframework.core
Interface IAdapter
- All Superinterfaces:
org.springframework.context.ApplicationContextAware
,org.springframework.beans.factory.Aware
,HasStatistics
,IConfigurable
,IConfigurationAware
,IManagable
,INamedObject
,IScopeProvider
- All Known Implementing Classes:
Adapter
The Adapter is the central manager in the framework. It has knowledge of both
IReceiver
s as well as the PipeLine
and statistics.
The Adapter is the class that is responsible for configuring, initializing and
accessing/activating IReceivers, Pipelines, statistics etc.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Instruct the adapter to configure itself.formatErrorMessage
(String errorMessage, Throwable t, Message originalMessage, String messageID, INamedObject objectInError, long receivedTime) The messagekeeper is used to keep the last x messages, relevant to display in the web-functions.Receiver<?>
getReceiverByName
(String receiverName) boolean
processMessage
(String messageId, Message message, PipeLineSession pipeLineSession) processMessageWithExceptions
(String messageId, Message message, PipeLineSession pipeLineSession) void
setConfiguration
(Configuration configuration) void
setPipeLine
(PipeLine pipeline) Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
Methods inherited from interface org.frankframework.statistics.HasStatistics
getAdapter
Methods inherited from interface org.frankframework.core.IConfigurationAware
getApplicationContext, getName
Methods inherited from interface org.frankframework.core.IManagable
getRunState, startRunning, stopRunning
Methods inherited from interface org.frankframework.core.INamedObject
getName, setName
Methods inherited from interface org.frankframework.core.IScopeProvider
getConfigurationClassLoader
-
Method Details
-
configure
Instruct the adapter to configure itself. The adapter will call the pipeline to configure itself, the pipeline will call the individual pipes to configure themselves.- Specified by:
configure
in interfaceIConfigurable
- Throws:
ConfigurationException
- See Also:
-
getMessageKeeper
MessageKeeper getMessageKeeper()The messagekeeper is used to keep the last x messages, relevant to display in the web-functions. -
getReceiverByName
-
getReceivers
-
processMessage
-
processMessageWithExceptions
PipeLineResult processMessageWithExceptions(String messageId, Message message, PipeLineSession pipeLineSession) throws ListenerException - Throws:
ListenerException
-
setPipeLine
- Throws:
ConfigurationException
-
getPipeLine
PipeLine getPipeLine() -
setConfiguration
-
getConfiguration
Configuration getConfiguration() -
isAutoStart
boolean isAutoStart() -
formatErrorMessage
-
getDescription
-