Package org.jacorb.config

Examples of org.jacorb.config.LoggerFactory


    {
        try
        {
            Configuration config = JacORBConfiguration.getConfiguration(new Properties(), null, false);
           
            LoggerFactory factory = newLog4jLoggerFactory(config);
           
            if (factory == null)
            {
                factory = newLogKitFactory(config);
            }
View Full Code Here


            ObjectUtil.classForName("org.apache.log4j.Level");
            Class clazz = ObjectUtil.classForName(clazzName);
           
            Constructor ctor = clazz.getConstructor(new Class[0]);
           
            final LoggerFactory factory = (LoggerFactory) ctor.newInstance(new Object[0]);
           
            factory.configure(config);
           
            return factory;
        } catch (IllegalArgumentException e)
        {
            return null;
View Full Code Here

TOP

Related Classes of org.jacorb.config.LoggerFactory

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.