public class APIInboundXMLSplitter extends java.lang.Object implements XMLSplitListener, XMLSplitErrorListener
| Constructor and Description |
|---|
APIInboundXMLSplitter(java.lang.String osName,
UserInfo userInfo,
java.lang.String msgType,
boolean allOrNone,
int maxProcessCount,
com.ibm.json.java.JSONArray responseJa) |
| Modifier and Type | Method and Description |
|---|---|
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 APIInboundXMLSplitter(java.lang.String osName,
UserInfo userInfo,
java.lang.String msgType,
boolean allOrNone,
int maxProcessCount,
com.ibm.json.java.JSONArray responseJa)
throws MXException
MXExceptionpublic void splitStart()
throws MXException
XMLSplitListenersplitStart in interface XMLSplitListenerMXExceptionpublic boolean splitPerformed(byte[] splitXMLData,
int splitIndex)
throws MXException
splitPerformed in interface XMLSplitListenersplitXMLData - the xml data for a split.splitIndex - the index of the split.MXExceptionpublic void splitEnd()
throws MXException
splitEnd in interface XMLSplitListenerMXException - MXSystemException exceptionMXException - MAXIMO exceptionpublic void splitEnd(java.lang.Throwable t)
throws MXException
splitEnd in interface XMLSplitErrorListenerMXException - MXSystemException exception