Package org.frankframework.batch
Class RecordHandlerManager
java.lang.Object
org.frankframework.batch.RecordHandlerManager
- All Implemented Interfaces:
IRecordHandlerManager
,HasName
,NameAware
- Direct Known Subclasses:
FieldPositionRecordHandlerManager
,FixedPositionRecordHandlerManager
Deprecated.
Warning: non-maintained functionality.
Basic implementation of RecordHandlerManager, that allows only for a single flow.
The manager decides which handlers to be used for a specific record.
- Author:
- John Dekker
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHandler
(RecordHandlingFlow handlers) Deprecated.Element that contains the handlers for a specific record type, to be assigned to the managervoid
configure
(Map<String, IRecordHandlerManager> registeredManagers, Map<String, IRecordHandler> registeredRecordHandlers, Map<String, IResultHandler> registeredResultHandlers, IResultHandler defaultHandler) Deprecated.protected Map
<String, RecordHandlingFlow> Deprecated.getRecordFactoryUsingFilename
(PipeLineSession session, String inputFilename) Deprecated.getRecordHandler
(PipeLineSession session, String record) Deprecated.getRecordHandlerByKey
(String recordKey) Deprecated.Determines the recordhandler to use, based on key.void
setInitial
(boolean b) Deprecated.This manager is the initial manager, i.e. to be used for the first recordvoid
Deprecated.Name of the managerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.frankframework.batch.IRecordHandlerManager
isInitial
-
Field Details
-
log
protected org.apache.logging.log4j.Logger logDeprecated.
-
-
Constructor Details
-
RecordHandlerManager
public RecordHandlerManager()Deprecated.
-
-
Method Details
-
getRecordFactoryUsingFilename
public IRecordHandlerManager getRecordFactoryUsingFilename(PipeLineSession session, String inputFilename) Deprecated.- Specified by:
getRecordFactoryUsingFilename
in interfaceIRecordHandlerManager
- Returns:
- the IRecordHandlingManager to be used initially based on the name of the input file
-
configure
public void configure(Map<String, IRecordHandlerManager> registeredManagers, Map<String, throws ConfigurationExceptionIRecordHandler> registeredRecordHandlers, Map<String, IResultHandler> registeredResultHandlers, IResultHandler defaultHandler) Deprecated.- Specified by:
configure
in interfaceIRecordHandlerManager
- Throws:
ConfigurationException
-
addHandler
Deprecated.Element that contains the handlers for a specific record type, to be assigned to the manager- Specified by:
addHandler
in interfaceIRecordHandlerManager
-
getFlowMap
Deprecated. -
getRecordHandler
Deprecated.- Specified by:
getRecordHandler
in interfaceIRecordHandlerManager
- Returns:
- the RecordHandlingFlow element to be used to handle the record
- Throws:
Exception
-
getRecordHandlerByKey
Deprecated.Determines the recordhandler to use, based on key. Key is "*" by default, but can be changed by descendant implementations.- Returns:
- RecordHandlingFlow element to be used for handling records of type recordkey
- Throws:
Exception
-
setName
Deprecated.Name of the manager -
setInitial
public void setInitial(boolean b) Deprecated.This manager is the initial manager, i.e. to be used for the first record- Specified by:
setInitial
in interfaceIRecordHandlerManager
- Default value
- false
-