Examples of FormatterElement


Examples of org.sf.bee.commons.logging.configuration.elements.FormatterElement

        }
        return element;
    }

    private FormatterElement solveFormatterElement(FormatterElement element) {
        FormatterElement cached = this.getFormatterElement(element.getName());
        // replace hndlElem with cached one.
        if (null != cached) {
            return cached;
        }
        return element;
View Full Code Here

Examples of org.sf.bee.commons.logging.configuration.elements.FormatterElement

        if (null == formatters || formatters.isEmpty()) {
            return;
        }
        // ready to load formatters
        for (XmlNode formatterNode : formatters) {
            FormatterElement element = new FormatterElement(formatterNode);
            if (null != element) {
                this.addFormatterElementToCache(element);
            }
        }
    }
View Full Code Here

Examples of org.sf.bee.commons.logging.configuration.elements.FormatterElement

    }

    private FormatterElement getFormatterElement(XmlNode node) {
        // first search an element in cache.
        synchronized (_formattersElementCache) {
            FormatterElement element = new FormatterElement(node);
            if (_handlersElementCache.containsKey(element.getName())) {
                return _formattersElementCache.get(element.getName());
            } else {
                return element;
            }
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.