Skip to main content
Version: 7.2405.x.x LTS

BeanDataSink

The BeanDataSink just puts all objects it receives into a list. For this, it needs an object implementing the java.util.List interface. The list has to be provided externally, programmatically by the client application or it is created in the control repository „beans". Its primary purpose is to support testing and reuse of data.

Configuration

NameType, usage constraints, defaultsDescription
beanoptional: paraVal
default: none
type: java.util.List
List to which target records are appended to.
createBeanoptional: paraVal
default: none
type: strong
The name of the list instance stored in the control context of the entity.

Example

Store in list provided programmatically.

<dataSink type="BeanDataSink">
<dp:paraVal name="bean" value="${cfg.sink}"/>
</dataSink>

Create a list "ctl.beans.sink" and store the data in it.

<dataSink type="BeanDataSink">
<dp:paraVal name="createBean" value="sink"/>
</dataSink>