com.ibm.websphere.batch
Class BatchDataStreamMgr
- java.lang.Object
com.ibm.websphere.batch.BatchDataStreamMgr
- public class BatchDataStreamMgr
- extends java.lang.Object
Constructor Summary
Modifier | Constructor and Description |
---|---|
|
BatchDataStreamMgr()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
clone()
|
|
getBatchDataStream(com.ibm.ws.longrun.CGJob job,java.lang.String logicalname,java.lang.String jobidStepid)
|
|
getBatchDataStream(java.lang.String logicalname,java.lang.String jobidStepid)
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.
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
BatchDataStreamMgr
- protected BatchDataStreamMgr()
Method Detail
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 Stream jobidStepid
- 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 getBatchDataStream
- public static BatchDataStream getBatchDataStream( com.ibm.ws.longrun.CGJob job,
- java.lang.String logicalname,
- java.lang.String jobidStepid)
- throws BatchContainerDataStreamException
clone
- public java.lang.Object clone()
- throws java.lang.CloneNotSupportedException
Overrides:
clone
in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException