org.objectweb.jonas_jms
Class TraceJms

java.lang.Object
  extended by org.objectweb.jonas_jms.TraceJms

public class TraceJms
extends Object

Class used to log messages in Jms module.

Author:
Sebastien Chassande-Barrioz

Field Summary
static org.objectweb.util.monolog.api.Logger logger
          JMS Logger.
static org.objectweb.util.monolog.api.LoggerFactory loggerfactory
          LoggerFactory used for JORAM.
 
Constructor Summary
TraceJms()
           
 
Method Summary
static void configure(org.objectweb.util.monolog.api.LoggerFactory lf)
          Configure JMS loggers.
static org.objectweb.util.monolog.api.LoggerFactory getLoggerFactory()
           
static boolean isDebug()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static org.objectweb.util.monolog.api.Logger logger
JMS Logger.


loggerfactory

public static org.objectweb.util.monolog.api.LoggerFactory loggerfactory
LoggerFactory used for JORAM.

Constructor Detail

TraceJms

public TraceJms()
Method Detail

configure

public static void configure(org.objectweb.util.monolog.api.LoggerFactory lf)
Configure JMS loggers.

Parameters:
lf - The LoggerFactory

isDebug

public static boolean isDebug()
Returns:
Returns true if JMS logger level is DEBUG.

getLoggerFactory

public static org.objectweb.util.monolog.api.LoggerFactory getLoggerFactory()
Returns:
Returns the JOnAS Global LoggerFactory.


Copyright © 2007 OW2 Consortium. All Rights Reserved.