psdi.iface.load

Class DefaultInboundXMLSplitter

  • java.lang.Object
    • psdi.iface.load.DefaultInboundXMLSplitter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultInboundXMLSplitter

        public DefaultInboundXMLSplitter(ExtSystemInfo extInfo,
                                         MaxExtIfaceInInfo extInInfo,
                                         boolean preview,
                                         boolean fromClient,
                                         java.lang.Object recService,
                                         MboRemote npMbo,
                                         boolean isFileExtract,
                                         java.lang.String fileName,
                                         java.lang.String processOwner)
                                  throws MXException
        Throws:
        MXException
    • Method Detail

      • splitPerformed

        public boolean splitPerformed(byte[] splitXMLData,
                                      int splitIndex)
                               throws MXException
        This method gets called whenever a logical split happens
        Specified by:
        splitPerformed in interface XMLSplitListener
        Parameters:
        splitXMLData - the xml data for a split.
        splitIndex - the index of the split.
        Returns:
        boolean
        Throws:
        MXException
      • getExtractOutputFile

        public java.lang.String getExtractOutputFile()
      • splitEnd

        public void splitEnd(java.lang.Throwable t)
                      throws MXException
        This method gets called where there is an exception in splitting the xml.
        Specified by:
        splitEnd in interface XMLSplitErrorListener
        Throws:
        MXException - MXSystemException exception