ilog.rules.xml.util

Class IlrXmlSynchronizer

  • java.lang.Object
    • ilog.rules.xml.util.IlrXmlSynchronizer


  • public class IlrXmlSynchronizer
    extends java.lang.Object
    This class synchronizes all the the public methods of an XML data driver. By default, an XML data driver is not synchronized. A synchronized data driver may be used in a multi-threaded context, which is not advised for a standard driver. Because a driver might modify its related XOM, the synchronization might be extended to this run-time model.
    • Constructor Detail

      • IlrXmlSynchronizer

        public IlrXmlSynchronizer()
    • Method Detail

      • createDataDriver

        public static IlrXmlDataDriver createDataDriver(IlrXmlDataDriver driver,
                                        boolean xomSynchronized)
        Creates a synchronized data driver built from an XML data driver.
        Parameters:
        driver - The driver to be synchronized.
        xomSynchronized - True if the synchronization must take in to account the XOM driver.
        Returns:
        the synchronized data driver.
      • createSchemaDriver

        public static IlrXmlSchemaDriver createSchemaDriver(IlrXmlSchemaDriver driver,
                                            boolean xomSynchronized)
        Creates a synchronized schema driver built from an XML data driver.
        Parameters:
        driver - The driver to be synchronized.
        xomSynchronized - True if the synchronization must take in to account the XOM driver.
        Returns:
        the synchronized data driver.
      • createDocumentDriver

        public static IlrXmlDocumentDriver createDocumentDriver(IlrXmlDocumentDriver driver,
                                                boolean xomSynchronized)
        Creates a synchronized schema driver built from an XML data driver.
        Parameters:
        driver - The driver to be synchronized.
        xomSynchronized - True if the synchronization must take in to account the XOM driver.
        Returns:
        the synchronized data driver.

© Copyright IBM Corp. 1987, 2017