Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.common.i18n.* (3)org.common.logging.* (1)

Package Samples:

org.common.i18n
org.common.logging

Classes:

ContextUtility: This class serves as a delegate of the ResourceBundle class, the purpose is to have a mechanism which can perform lookups property resource bundles, and which can also cache previously loaded bundles for quicker access. First of all, this class keeps a inner lookup table that will keep track of the already loaded resource bundles, by default a cached entry will be returned when it is requested. This class also allows to force a reloading of the resource bundle in case it has already been cached, for example when the resource bundle has been changed by an external process. Second, it is desired ...
LoggingUtility: This is an extension of the ContextUtility class, it has a default base name for the resource bundle, as defined in the public constant BASENAME. This class will make sure the required resource bundle is loaded and messages can be retrieved using context keys you should use this class for example as follows: Logger.getInstance().info(this.getClass(),LoggingUtility.getInstance("this.is.an.example.context.key"));
ExceptionUtility: This is an extension of the ContextUtility class, it has a default base name for the resource bundle, as defined in the public constant BASENAME. This class will make sure the required resource bundle is loaded and messages can be retrieved using context keys you should use this class for example as follows: throw new BusinessException(ExceptionUtility.getInstance("this.is.an.example.context.key"));
Logger: This class is a utility that takes care of the logging. It is designed to be a singleton so there is only one instance that will handle all log processes in a VM.

Home | Contact Us | Privacy Policy | Terms of Service