Package com.springsource.insight.util.logging

Examples of com.springsource.insight.util.logging.InsightLogger.warning()


            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


            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
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.