Package org.jboss.seam.solder.logging

Examples of org.jboss.seam.solder.logging.MessageLoggerInvocationHandler


        }
        if (loggerClass == null) try {
            loggerClass = Class.forName(join(type.getName(), "$logger", null, null, null), true, type.getClassLoader()).asSubclass(type);
        } catch (ClassNotFoundException e) {
          //warn("Generating proxy for type-safe logger " + type + ". You should generate a concrete implementation using the jboss-logging-tools annotation processor before deploying to production!!");
          return type.cast(Proxy.newProxyInstance(type.getClassLoader(), new Class<?>[] { type }, new MessageLoggerInvocationHandler(type, category)));
        }               
       
        final Constructor<? extends T> constructor;
        try {
            constructor = loggerClass.getConstructor(Logger.class);
View Full Code Here

TOP

Related Classes of org.jboss.seam.solder.logging.MessageLoggerInvocationHandler

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.