Package com.springsource.insight.util.logging

Examples of com.springsource.insight.util.logging.InsightLogger


            // NOTE: the default score generator returns null
            if ((score = gen.calculateOperationScore(op, null, JmxInvocationEndPointAnalyzer.class.getSimpleName())) != null) {
                return score;
            }
        } catch (RuntimeException e) {
            InsightLogger logger = InsightLogManager.getLogger(JmxInvocationEndPointAnalyzer.class.getName());
            logger.warning("resolveOperationScore(" + scoreType + ")"
                    + " failed (" + e.getClass().getSimpleName() + ")"
                    + " to generate score: " + e.getMessage());
        }

        return null;
View Full Code Here


        try {
            NamedPropertySource beanProps = ResourceKey.toPropertySource(beanName);
            // NOTE: order is important - especially for the 'type' property
            return new AggregateNamedPropertySource(beanProps, opProps);
        } catch (MalformedObjectNameException e) {
            InsightLogger logger = InsightLogManager.getLogger(JmxInvocationEndPointAnalyzer.class.getName());
            logger.warning("Failed (" + e.getClass().getSimpleName() + ")"
                    + " to convert " + beanName + " to property source: " + e.getMessage());
            return opProps;
        }
    }
View Full Code Here

TOP

Related Classes of com.springsource.insight.util.logging.InsightLogger

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.