Stellent
HowToComponents
JavaDoc

intradoc.common
Class ResourceTrace

java.lang.Object
  |
  +--intradoc.common.ResourceTrace

public class ResourceTrace
extends java.lang.Object

Traces component loading conflicts in the content server


Field Summary
static boolean m_traceResourceConflict
           
static boolean m_traceResourceLoad
           
static boolean m_traceResourceOverride
           
 
Constructor Summary
ResourceTrace()
           
 
Method Summary
static void conflictMsg(java.lang.String key)
          Log a message if conflict trace is enabled
static void doHashtableLoadAndLog(java.util.Hashtable resources, java.util.Hashtable overloadedResources, java.lang.Object key, java.lang.Object value, java.lang.String keyDesc, boolean noOverload)
          Places the key-value pair into resources.
protected static void doMsg(java.lang.String string)
          Output the localized message to the standard output
static void doResultSetLog(DataResultSet source, java.lang.String sourceName, java.lang.String destName, java.lang.String column)
          Logs each value in the source result set, or the entrie row if no column name is specified
static void loadMsg(java.lang.String key)
          Log a loding message if full trace is enabled
static void msg(java.lang.String string)
          Log an arbitrary message if full trace is enabled
static void overrideMsg(java.lang.String string)
          Log a message if override trace is enabled
static void reset()
          Set this after server initialization so that resource loading is no longer monitored.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_traceResourceConflict

public static boolean m_traceResourceConflict

m_traceResourceOverride

public static boolean m_traceResourceOverride

m_traceResourceLoad

public static boolean m_traceResourceLoad
Constructor Detail

ResourceTrace

public ResourceTrace()
Method Detail

reset

public static void reset()
Set this after server initialization so that resource loading is no longer monitored.


doMsg

protected static void doMsg(java.lang.String string)
Output the localized message to the standard output


msg

public static void msg(java.lang.String string)
Log an arbitrary message if full trace is enabled


loadMsg

public static void loadMsg(java.lang.String key)
Log a loding message if full trace is enabled


overrideMsg

public static void overrideMsg(java.lang.String string)
Log a message if override trace is enabled


conflictMsg

public static void conflictMsg(java.lang.String key)
Log a message if conflict trace is enabled


doHashtableLoadAndLog

public static void doHashtableLoadAndLog(java.util.Hashtable resources,
                                         java.util.Hashtable overloadedResources,
                                         java.lang.Object key,
                                         java.lang.Object value,
                                         java.lang.String keyDesc,
                                         boolean noOverload)
Places the key-value pair into resources. If the value is being overloaded, it places it into overloadedResources. If it is being overloaded twice, a conflict is logged. If 'noOverload' is specified, then an overload should be considered a conflict.


doResultSetLog

public static void doResultSetLog(DataResultSet source,
                                  java.lang.String sourceName,
                                  java.lang.String destName,
                                  java.lang.String column)
Logs each value in the source result set, or the entrie row if no column name is specified



(c) 1996-2005  All rights reserved.  Stellent, Inc.