IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.base
Class BTTLogFactoryToDisplayImp

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

public class BTTLogFactoryToDisplayImp
extends java.lang.Object

Factory that creates BTTLog instance.


Constructor Summary
BTTLogFactoryToDisplayImp()
           
 
Method Summary
static BTTLog getLog(java.lang.String component, TraceRequester request)
          Obtain a BTTLog instance by Component ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BTTLogFactoryToDisplayImp

public BTTLogFactoryToDisplayImp()
Method Detail

getLog

public static BTTLog getLog(java.lang.String component,
                            TraceRequester request)
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

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010