|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.item.support.CompositeItemStream
public class CompositeItemStream
Simple ItemStream that delegates to a list of other streams.
| Constructor Summary | |
|---|---|
CompositeItemStream()
|
|
| Method Summary | |
|---|---|
void |
close()
Broadcast the call to close. |
void |
open(ExecutionContext executionContext)
Broadcast the call to open. |
void |
register(ItemStream stream)
Register a ItemStream as one of the interesting providers under
the provided key. |
void |
setStreams(ItemStream[] listeners)
Public setter for the listeners. |
void |
update(ExecutionContext executionContext)
Simple aggregate ExecutionContext provider for the contributions
registered under the given key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeItemStream()
| Method Detail |
|---|
public void setStreams(ItemStream[] listeners)
listeners - public void register(ItemStream stream)
ItemStream as one of the interesting providers under
the provided key.
public void update(ExecutionContext executionContext)
ExecutionContext provider for the contributions
registered under the given key.
update in interface ItemStreamexecutionContext - to be updatedItemStream.update(ExecutionContext)
public void close()
throws ItemStreamException
close in interface ItemStreamItemStreamException
public void open(ExecutionContext executionContext)
throws ItemStreamException
open in interface ItemStreamItemStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||