Package com.xmultra.log

Examples of com.xmultra.log.MessageLogEntry


    public boolean init (Node n, InitMapHolder imh, SyncFlag sf, SyncFlag stopFlag) {

        if (!super.init(n, imh, sf, stopFlag)) return false;

        // Create the log entry objects.
        msgEntry = new MessageLogEntry(this, VERSION);
        errEntry = new ErrorLogEntry(this, VERSION);

        // Creates a DocMeter that shows average rates over the last 100 docs.
        docMeter = new DocMeter(100);
View Full Code Here


        // The WebServicesProcessor node.
        Node aProcessorNode = n;

        // Create the log entry objects.
        msgEntry = new MessageLogEntry(this, VERSION);
        errEntry = new ErrorLogEntry(this, VERSION);

        // Create Strings instance and add it to the InitMapHolder.
        strings = new Strings();
        initMapHolder.setEntry(this, InitMapHolder.STRINGS, strings);
View Full Code Here

        // The WebServicesProcessor node.
        Node aProcessorNode = n;

        // Create the log entry objects.
        msgEntry = new MessageLogEntry(this, VERSION);
        errEntry = new ErrorLogEntry(this, VERSION);

        // Create Strings instance and add it to the InitMapHolder.
        strings = new Strings();
        initMapHolder.setEntry(this, InitMapHolder.STRINGS, strings);
View Full Code Here

        if (!super.init(n, imh, sf, stopFlag)) return false;

        this.strings = new Strings();

        msgEntry = new MessageLogEntry(this, VERSION);
        errEntry = new ErrorLogEntry(this, VERSION);

        // Get the SourceLocation String reference (used in error messages).
        srcLocation =
            (String)initMapHolder.getEntry(InitMapHolder.SOURCE_LOCATION);
View Full Code Here

    */
   public boolean init (Node n, InitMapHolder imh, SyncFlag sf, SyncFlag stopFlag) {

       if (!super.init(n, imh, sf, stopFlag)) return false;
       retrySyncFlag = new SyncFlag(false);
       msgEntry = new MessageLogEntry(this, VERSION);
       errEntry = new ErrorLogEntry(this, VERSION);

       // Get the directory to move a file to after processing it.
       srcDoneLocFile = getLocationDirectory(
               XmultraConfig.SRC_DONE_LOCATION_ELEMENT);
View Full Code Here

     *
     * @param initMapHolder Has references to system utilities.
     */
    NitfValidatingParser(InitMapHolder initMapHolder)  {

        this.msgEntry = new MessageLogEntry(this, VERSION);

        this.logger = (Logger)initMapHolder.getEntry(InitMapHolder.LOGGER);

        // Get the XmlParseUtils reference.
        this.xmlParseUtils = (XmlParseUtils)initMapHolder.getEntry(InitMapHolder.XML_PARSE_UTILS);
View Full Code Here

        // Get the Logger reference.
        logger = (Logger)initMapHolder.getEntry(InitMapHolder.LOGGER);

        // Create the log entry objects.
        msgEntry = new MessageLogEntry(this, VERSION);

        // Get the XmlParseUtils reference.
        this.xmlParseUtils = (XmlParseUtils)initMapHolder.getEntry(
                            InitMapHolder.XML_PARSE_UTILS);
View Full Code Here

        Element zapEl = (Element)n;

        this.destWriter = new DestinationWriter();
        if (!this.destWriter.init(imh, zapEl, new DateUtils())) return false;

        msgEntry = new MessageLogEntry(this, VERSION);
        errEntry = new ErrorLogEntry(this, VERSION);

        // Get the directory to move a file to after processing it. The false passed in below
        // is because a warning is not logged if the SourceDoneLocation element is missing.
        this.srcDoneLocFile = getLocationDirectory(XmultraConfig.SRC_DONE_LOCATION_ELEMENT, false);
View Full Code Here

        if (!super.init(n, imh, sf, stopFlag)) return false;

        Node aProcessorNode = n;

        msgEntry = new MessageLogEntry(this, VERSION);
        errEntry = new ErrorLogEntry(this, VERSION);
        // Make a Strings instance.
        strings = new Strings();

        // Get the directory where the file to process is found.
View Full Code Here

        if (!super.init(n, imh, sf, stopFlag)) {
            return false;
        }
        // Create the log entry objects.
        msgEntry = new MessageLogEntry(this, VERSION);
        errEntry = new ErrorLogEntry(this, VERSION);

        // Creates a DocMeter that shows average rates over the last 100 docs.

        docMeter = new DocMeter(100);
View Full Code Here

TOP

Related Classes of com.xmultra.log.MessageLogEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.