public class DefaultInboundXMLSplitter extends java.lang.Object implements XMLSplitListener, XMLSplitErrorListener
Constructor and Description |
---|
DefaultInboundXMLSplitter(ExtSystemInfo extInfo,
MaxExtIfaceInInfo extInInfo,
boolean preview,
boolean fromClient,
RecoveryService recService,
MboRemote npMbo,
boolean isFileExtract,
java.lang.String fileName,
java.lang.String processOwner) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExtractOutputFile() |
void |
splitEnd()
This method gets called at the end of split process.
|
void |
splitEnd(java.lang.Throwable t)
This method gets called where there is an exception in splitting the xml.
|
boolean |
splitPerformed(byte[] splitXMLData,
int splitIndex)
This method gets called whenever a logical split happens
|
void |
splitStart()
called before the start of splitting process.
|
public DefaultInboundXMLSplitter(ExtSystemInfo extInfo, MaxExtIfaceInInfo extInInfo, boolean preview, boolean fromClient, RecoveryService recService, MboRemote npMbo, boolean isFileExtract, java.lang.String fileName, java.lang.String processOwner) throws MXException
MXException
public void splitStart() throws MXException
XMLSplitListener
splitStart
in interface XMLSplitListener
MXException
public boolean splitPerformed(byte[] splitXMLData, int splitIndex) throws MXException
splitPerformed
in interface XMLSplitListener
splitXMLData
- the xml data for a split.splitIndex
- the index of the split.MXException
public void splitEnd() throws MXException
splitEnd
in interface XMLSplitListener
MXException
- MXSystemException exceptionpublic java.lang.String getExtractOutputFile()
public void splitEnd(java.lang.Throwable t) throws MXException
splitEnd
in interface XMLSplitErrorListener
MXException
- MXSystemException exception