Package tyrex.util

Utility Classes

Version:
$Revision: 1.2 $Date: 2001/02/28 18:28:25 $
Author:
Assaf Arkin

Configuration, Messages and Logging

Configuration provides basic configuration for Tyrex based on the tyrex.config configuration file.

See: Description

Package tyrex.util Description:

Utility Classes

Version:
$Revision: 1.2 $Date: 2001/02/28 18:28:25 $
Author:
Assaf Arkin

Configuration, Messages and Logging

Configuration provides basic configuration for Tyrex based on the tyrex.config configuration file. Several Tyrex services rely on this configuration file.

The member variable verbose determines whether Tyrex should emit verbose information messages, which can be used for troubleshooting purposes. This class also provides access to a random number generator.

tyrex..util.Logger.

tyrex.util.LoggerPrintWriter implements a PrintWriter using a Log4J category. Connectors and other J2EE service providers require a PrintWriter in order to log messages, and rely on this object as an adapter for the Log4J category.

Messages performs formatting of messages based on the current locale, using a message resource file. This class is often used by exceptions and logging messages to perform formatting based on an actual string contents that is obtained form a resource file, depending on the current locale.

Misc

FastThreadLocal is an optimized implementation of java.lang.ThreadLocal which uses a background thread to remove stale thread entries, doing away with the inefficiencies of java.util.WeakHashMap.

Original code is Copyright (c) 1999-2001, Intalio, Inc. All Rights Reserved. Contributions by MetaBoss team are Copyright (c) 2003-2005, Softaris Pty. Ltd. All Rights Reserved.