IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.base
Class BTTLogFactoryToWASImp

java.lang.Object
  extended by com.ibm.btt.base.BTTLogFactoryToWASImp

public class BTTLogFactoryToWASImp
extends java.lang.Object

Factory that creates BTTLog instance.


Constructor Summary
BTTLogFactoryToWASImp()
           
 
Method Summary
static BTTLog getLog(java.lang.String component, TraceRequester trq, boolean usingParentLevel)
          Obtain a BTTLog instance by Component ID.
static void resetRegisterDone()
          reset RegisterDone to false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BTTLogFactoryToWASImp

public BTTLogFactoryToWASImp()
Method Detail

getLog

public static BTTLog getLog(java.lang.String component,
                            TraceRequester trq,
                            boolean usingParentLevel)
Obtain a BTTLog instance by Component ID. The trace configuration of component is set in btt.xml. If the input compoent is not defined in btt.xml, it will be assigned with default configuration value(enabled with DEBUG level). The component ID can be a sub component ID. The sub component should apply to the naming rule to separate main component name and sub component name with '.'. For example,"#Invoker.EJB" is a sub component of main component "#Invoker". When trace setting of sub component is not defined in btt.xml, BTT trace will use the setting of main component automatically. If it is the first call for a component, a new BTTLog instance is created,otherwise, an existing BTTLog instance in cache will be returned.

Parameters:
component - Component ID of trace request class
Returns:
BTTLog
Throws:
java.lang.Exception

resetRegisterDone

public static void resetRegisterDone()
reset RegisterDone to false


IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011