Package org.jboss.profiler.aop.logger

Examples of org.jboss.profiler.aop.logger.ProfileLogger


    static ThreadLocal threadContext = new ThreadLocal();

    public static ThreadContext getThreadContext() {
        if (threadContext.get()==null) {
            try {
                ProfileLogger logger = ProfilerController.getInstance().createLogger();
                ThreadContext context = new ThreadContext(logger);
                threadContext.set(context);
            } catch (IOException e) {
                // TODO: Error handling according JBoss
                e.printStackTrace();
View Full Code Here

TOP

Related Classes of org.jboss.profiler.aop.logger.ProfileLogger

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.