Package mx4j.log

Examples of mx4j.log.MBeanLogger


            ObjectName objectName = new ObjectName(location);
            MBeanServer server = getMBeanServer();
            if (server == null) throw new MBeanException(new IllegalStateException("RequiredModelMBean is not registered"));
            if (server.isRegistered(objectName))
            {
               MBeanLogger l = new MBeanLogger(server, objectName);
               if (logger.isEnabledFor(Logger.DEBUG)) logger.debug("ModelMBean log supported by delegating to this MBean: " + objectName);
               return l;
            }

            return null;
View Full Code Here


            ObjectName objectName = new ObjectName(location);
            MBeanServer server = getMBeanServer();
            if (server == null) throw new MBeanException(new IllegalStateException("RequiredModelMBean is not registered"));
            if (server.isRegistered(objectName))
            {
               MBeanLogger l = new MBeanLogger(server, objectName);
               if (logger.isEnabledFor(Logger.DEBUG)) logger.debug("ModelMBean log supported by delegating to this MBean: " + objectName);
               return l;
            }

            return null;
View Full Code Here

TOP

Related Classes of mx4j.log.MBeanLogger

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.