Package org.frankframework.jdbc
Class BatchTransformerPipeBase
java.lang.Object
org.frankframework.core.TransactionAttributes
org.frankframework.pipes.AbstractPipe
org.frankframework.pipes.FixedForwardPipe
org.frankframework.batch.StreamTransformerPipe
org.frankframework.jdbc.BatchTransformerPipeBase
- All Implemented Interfaces:
FrankElement
,HasApplicationContext
,HasName
,HasTransactionAttribute
,IConfigurable
,IForwardTarget
,IPipe
,IScopeProvider
,IWithParameters
,NameAware
,EventThrowing
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.context.Lifecycle
- Direct Known Subclasses:
BatchBlobTransformerPipe
,BatchClobTransformerPipe
@Deprecated
@ConfigurationWarning("Not tested and maintained, please look for alternatives if you use this class")
public abstract class BatchTransformerPipeBase
extends StreamTransformerPipe
Deprecated.
abstract base class for JDBC batch transforming pipes.
- Since:
- 4.7
- Author:
- Gerrit van Brakel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Deprecated. -
Field Summary
FieldsFields inherited from class org.frankframework.batch.StreamTransformerPipe
originalBlockKey
Fields inherited from class org.frankframework.pipes.AbstractPipe
parameterNamesMustBeUnique
Fields inherited from class org.frankframework.core.TransactionAttributes
log
Fields inherited from interface org.frankframework.core.IPipe
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Adds a parameter to the list of parameters.void
Deprecated.Checks for correct configuration of forward.Deprecated.Deprecated.getQuery()
Deprecated.protected BufferedReader
getReader
(String streamId, Message message, PipeLineSession session) Deprecated.protected abstract Reader
getReader
(ResultSet rs, String charset, String streamId, PipeLineSession session) Deprecated.void
setDatasourceName
(String datasourceName) Deprecated.void
setJmsRealm
(String jmsRealmName) Deprecated.void
Deprecated.void
start()
Deprecated.Perform necessary action to start the pipe.void
stop()
Deprecated.Perform necessary actions to stop thePipe
.
For instance, closing JMS connections, DBMS connections etc.Methods inherited from class org.frankframework.batch.StreamTransformerPipe
addChild, addChild, addChild, addChild, addManager, addRecordHandler, addResultHandler, closeAllBlocks, doPipe, getInputStream, getManager, getRecordHandler, getResultHandler, getStreamId, setCharset, setCloseInputstreamOnExit, setReaderFactory, setStoreOriginalBlock
Methods inherited from class org.frankframework.pipes.FixedForwardPipe
getParameterValue, setIfParam, setIfValue, setOnlyIfSessionKey, setOnlyIfValue, setSkipOnEmptyInput, setUnlessSessionKey, setUnlessValue, skipPipe
Methods inherited from class org.frankframework.pipes.AbstractPipe
addForward, consumesSessionVariable, createBean, findForward, getAdapter, getEventSourceName, getForwards, getParameterList, hasRegisteredForward, isRunning, registerEvent, setApplicationContext, setChompCharSize, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setStoreResultInSessionKey, setWriteToSecLog, sizeStatisticsEnabled, throwEvent
Methods inherited from class org.frankframework.core.TransactionAttributes
configureTransactionAttributes, isTransacted, isTransacted, setTransacted, setTransactionTimeout
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.frankframework.core.HasApplicationContext
getApplicationContext, getConfigurationClassLoader
Methods inherited from interface org.frankframework.core.HasTransactionAttribute
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttribute
Methods inherited from interface org.frankframework.core.IForwardTarget
getName
Methods inherited from interface org.frankframework.core.IPipe
getChompCharSize, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getEmptyInputReplacement, getGetInputFromFixedValue, getGetInputFromSessionKey, getHideRegex, getLocker, getLogIntermediaryResults, getMaxThreads, getSecLogSessionKeys, getStoreResultInSessionKey, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isWriteToSecLog, setPipeLine, throwEvent
-
Field Details
-
querySender
Deprecated.
-
-
Constructor Details
-
BatchTransformerPipeBase
public BatchTransformerPipeBase()Deprecated.
-
-
Method Details
-
configure
Deprecated.Description copied from class:FixedForwardPipe
Checks for correct configuration of forward.- Specified by:
configure
in interfaceIConfigurable
- Overrides:
configure
in classStreamTransformerPipe
- Throws:
ConfigurationException
- in case it was not able to configure the component.
-
start
public void start()Deprecated.Description copied from interface:IPipe
Perform necessary action to start the pipe. This method is executed after theIConfigurable.configure()
method, for each start and stop command of the adapter.- Specified by:
start
in interfaceIPipe
- Specified by:
start
in interfaceorg.springframework.context.Lifecycle
- Overrides:
start
in classStreamTransformerPipe
-
stop
public void stop()Deprecated.Description copied from interface:IPipe
Perform necessary actions to stop thePipe
.
For instance, closing JMS connections, DBMS connections etc.- Specified by:
stop
in interfaceIPipe
- Specified by:
stop
in interfaceorg.springframework.context.Lifecycle
- Overrides:
stop
in classStreamTransformerPipe
-
getReader
protected abstract Reader getReader(ResultSet rs, String charset, String streamId, PipeLineSession session) throws SenderException Deprecated.- Throws:
SenderException
-
getReader
protected BufferedReader getReader(String streamId, Message message, PipeLineSession session) throws PipeRunException Deprecated.- Overrides:
getReader
in classStreamTransformerPipe
- Throws:
PipeRunException
-
getPhysicalDestinationName
Deprecated. -
addParameter
Deprecated.Description copied from class:AbstractPipe
Adds a parameter to the list of parameters.- Specified by:
addParameter
in interfaceIWithParameters
- Overrides:
addParameter
in classAbstractPipe
-
setQuery
Deprecated. -
getQuery
Deprecated. -
setDatasourceName
Deprecated. -
getDatasourceName
Deprecated. -
setJmsRealm
@ReferTo(FixedQuerySender.class) @ConfigurationWarning("We discourage the use of jmsRealms for datasources. To specify a datasource other then the default, use the datasourceName attribute directly, instead of referring to a realm") @Deprecated public void setJmsRealm(String jmsRealmName) Deprecated.
-