getBatchDataStream
public static BatchDataStream getBatchDataStream(java.lang.String logicalname,
java.lang.String jobidStepid)
throws BatchContainerDataStreamException
Returns a BatchDataStream object for the Batch Data Stream identified by its logical name and the
id of the job and step with which it is associated.
The id is composed of the jobid and stepid, separated by a forward slash. The helper class
JobStepID whose constructor accepts a jobid and stepid creates an id in the required format.
This method is called by a Batch Step EJB to get a handle to the Batch Data Stream
implementation and to read/write data to that stream.
- Parameters:
logicalname
- logical name of the Batch Data StreamjobidStepid
- id composed of the jobid and stepid, separated by a forward slash (e.g. PostingsSampleEar:181/Step1)
- Returns:
- The BatchDataStream implementation for the Batch Data Stream identified by the
the logical name and jobid stepid combination.
- Throws:
BatchContainerDataStreamException
- if an error is encountered retrieving the BatchDataStream object