class EmitFromInput
EmitFromInput reads ONE object of type dataClassName from its input channel; it then uses the initClass method to set any static variables of the class that are as yet not initialised and then the createInstance method is then called repeatedly to create new instances of the class. Each object is written to the output channel. Once all the required object instances have been created the process writes a UniversalTerminator to the output channel.
Methods required by class: initClass(initialData) createInstance(createData)
input
- The one2one channel from which the base class is read.output
- The one2one channel to which new object instances are writteneDetails
- A LocalDetails object that specifies the data class to be emitted
Type | Name and description |
---|---|
LocalDetails |
eDetails |
ChannelInput |
input |
ChannelOutput |
output |
Constructor and description |
---|
EmitFromInput
() |
GPP - Groovy Parallel Patterns generated 06112016 by Jon Kerridge, Edinburgh Napier University - j.kerridge@napier.ac.uk